RE: [PATCH] ARC: Add PCIe support for ARC HSDK platform

2018-06-18 Thread Alexey Brodkin
g; linux-snps- > a...@lists.infradead.org > Subject: Re: [PATCH] ARC: Add PCIe support for ARC HSDK platform > > On 06/18/2018 08:20 AM, Alexey Brodkin wrote: > >> +static void __init hsdk_enable_gpio_intc_wire(void) > >> +{ > >> + u32 val = GPIO_HAPS_INT; > >

Re: [PATCH] ARC: Add PCIe support for ARC HSDK platform

2018-06-18 Thread Vineet Gupta
On 06/18/2018 08:20 AM, Alexey Brodkin wrote: >> +static void __init hsdk_enable_gpio_intc_wire(void) >> +{ >> +u32 val = GPIO_HAPS_INT; >> + >> +iowrite32(0x, (void __iomem *) GPIO_INTMASK); >> +iowrite32(~val, (void __iomem *) GPIO_INTMASK); >> +iowrite32(0x, (void

Re: [PATCH] ARC: Add PCIe support for ARC HSDK platform

2018-06-18 Thread Alexey Brodkin
Hi Gustavo, On Mon, 2018-06-18 at 15:59 +0100, Gustavo Pimentel wrote: > Add PCI support to the ARC HSDK platform allowing to use the generic PCI > setup functions. This is the first logically independent change, so put it in a separate patch. > Add GPIO interrupt configuration function on ARC H

[PATCH] ARC: Add PCIe support for ARC HSDK platform

2018-06-18 Thread Gustavo Pimentel
Add PCI support to the ARC HSDK platform allowing to use the generic PCI setup functions. Add GPIO interrupt configuration function on ARC HSDK platform and configures it to PCI support. Signed-off-by: Gustavo Pimentel --- arch/arc/plat-hsdk/Kconfig| 1 + arch/arc/plat-hsdk/platform.c | 41