Re: [PATCH] ARC: dts: Remove leading 0x from node unit addresses

2018-06-18 Thread Krzysztof Kozlowski
On 18 June 2018 at 22:07, Joe Perches wrote: > On Mon, 2018-06-18 at 21:16 +0200, Krzysztof Kozlowski wrote: >> Remove leading 0x from all node unit addresses with a sed command: >> >> sed -E -i -e "s/@0x([0-9a-fA-F\.]+)\s?\{/@\L\1 \{/g" >> arch/arc/boot/dts/*.dts* >> >> This fixes DTC warnin

Re: [RFC] ARC: allow to use IOC and non-IOC DMA devices simultaneously

2018-06-18 Thread Vineet Gupta
On 06/15/2018 05:58 AM, Eugeniy Paltsev wrote: > The ARC HS processor provides an IOC port (I/O coherency bus > interface) that allows external devices such as DMA devices > to access memory through the cache hierarchy, providing > coherency between I/O transactions and the complete memory > hierar

Re: [PATCH] ARC: dts: Remove leading 0x from node unit addresses

2018-06-18 Thread Joe Perches
On Mon, 2018-06-18 at 21:16 +0200, Krzysztof Kozlowski wrote: > Remove leading 0x from all node unit addresses with a sed command: > > sed -E -i -e "s/@0x([0-9a-fA-F\.]+)\s?\{/@\L\1 \{/g" > arch/arc/boot/dts/*.dts* > > This fixes DTC warnings like: > > Warning (unit_address_format): /cp

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

2018-06-18 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Monday, June 18, 2018 9:11 PM > To: Alexey Brodkin ; gustavo.pimen...@synopsys.com > Cc: r...@kernel.org; linux-ker...@vger.kernel.org; > eugeniy.palt...@synopsys.com; sb...@codeaurora.org; linux-snps- > a...@lists.infradead.org

[PATCH] ARC: dts: Remove leading 0x from node unit addresses

2018-06-18 Thread Krzysztof Kozlowski
Remove leading 0x from all node unit addresses with a sed command: sed -E -i -e "s/@0x([0-9a-fA-F\.]+)\s?\{/@\L\1 \{/g" arch/arc/boot/dts/*.dts* This fixes DTC warnings like: Warning (unit_address_format): /cpu_card/dw-apb-gpio@0x2000: unit name should not have leading "0x" Reported-b

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