[PATCH] ARC: bitops: Remove unecessary operation and value

2020-10-21 Thread Gustavo Pimentel
The 1-bit shift rotation to the left on x variable located on 4 last if statement can be removed because the computed value is will not be used afront. Signed-off-by: Gustavo Pimentel --- arch/arc/include/asm/bitops.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch

[PATCH v2] ARC: Configure APB GPIO controller on ARC HSDK platform

2018-07-06 Thread Gustavo Pimentel
termediate INTC will only bring some overhead on interrupt processing but no other benefits. Thus we just do one-time configuration of DW APB GPIO controller and forget about it. Based on implementation available on arch/arc/plat-axs10x/axs10x.c file. Signed-off-by: Gustavo Pimentel --- arch/arc/

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

2018-06-21 Thread Gustavo Pimentel
On 21/06/2018 17:07, Vineet Gupta wrote: > On 06/21/2018 07:06 AM, Gustavo Pimentel wrote: >> Add PCI support to the ARC HSDK platform allowing to use the generic PCI >> setup functions. >> >> Signed-off-by: Gustavo Pimentel >> Acked-by: Alexey Brodkin > >

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

2018-06-21 Thread Gustavo Pimentel
Add PCI support to the ARC HSDK platform allowing to use the generic PCI setup functions. Signed-off-by: Gustavo Pimentel Acked-by: Alexey Brodkin --- arch/arc/plat-hsdk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig index

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

2018-06-20 Thread Gustavo Pimentel
Add PCI support to the ARC HSDK platform allowing to use the generic PCI setup functions. Signed-off-by: Gustavo Pimentel --- Change v1->v2: - Split initial patch, following Alexey Brodkin suggestion. arch/arc/plat-hsdk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/p

[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