Re: [PATCH 0/7] add support for clocksource/clockevent DT selection

2019-10-18 Thread Daniel Lezcano
Hi Claudiu, On 15/10/2019 11:23, claudiu.bez...@microchip.com wrote: [ ... ] > The timer clock source could be divided by MR.PRES + 1. > > So, I used the clock-frequency DT binding to let user choose the timer's > frequency. Based on the value provided via this DT binding the best clock >

Re: [RFC 6/6] ARC: merge HAPS-HS with nSIM-HS configs

2019-10-18 Thread Vineet Gupta
On 10/18/19 5:15 AM, Eugeniy Paltsev wrote: > Starting from nSIM 2019.06 is possible to use DW UART > instead of ARC UART. That allows us to merge > "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp" > mith minor changes which were done in previous commits. > > We eliminate

Re: [RFC 0/6] ARC: merge HAPS-HS with nSIM-HS configs

2019-10-18 Thread Vineet Gupta
On 10/18/19 5:15 AM, Eugeniy Paltsev wrote: > Starting from nSIM 2019.06 is possible to use DW UART > instead of ARC UART. That allows us to merge > "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp" > mith some minor changes. > > We eliminate nsim_hs_defconfig and

RE: [PATCH 0/2] ARC: [plat-hsdk]: enable on-board SPI peripherals

2019-10-18 Thread Alexey Brodkin
Hi Eugeniy, > -Original Message- > From: Eugeniy Paltsev > Sent: Friday, October 18, 2019 2:11 PM > To: linux-snps-arc@lists.infradead.org; Vineet Gupta > Cc: linux-ker...@vger.kernel.org; Alexey Brodkin ; Rob > Herring > ; devicet...@vger.kernel.org; Eugeniy Paltsev > > Subject:

[RFC 1/6] ARC: regenerate nSIM and HAPS defconfigs

2019-10-18 Thread Eugeniy Paltsev
No functional change intended. Signed-off-by: Eugeniy Paltsev --- arch/arc/configs/haps_hs_defconfig | 10 ++ arch/arc/configs/haps_hs_smp_defconfig | 12 +++- arch/arc/configs/nsim_hs_defconfig | 8 ++-- arch/arc/configs/nsim_hs_smp_defconfig | 10 +++--- 4

[RFC 4/6] ARC: HAPS: add HIGHMEM memory zone to DTS

2019-10-18 Thread Eugeniy Paltsev
This is required as a preparation of merging nSIM and HASP defonfig and device tree. As we have HIGHMEM disabled in both HAPS and nSIM defconfigs this doesn't lead to any functional change. Signed-off-by: Eugeniy Paltsev --- arch/arc/boot/dts/haps_hs.dts | 13 - 1 file changed, 8

[RFC 3/6] ARC: HAPS: use same UART configuration everywhere

2019-10-18 Thread Eugeniy Paltsev
For some reason we use ns8250 UART compatible on UP HAPS configuration and ns16550a (which is ns8250 with FIFO support) on SMP HAPS configuration. Given that we have same UART IP with same IP configuration on both HAPS configuration use ns16550a compatible everywhere. Signed-off-by: Eugeniy

[RFC 5/6] ARC: HAPS: cleanup defconfigs from unused ETH drivers

2019-10-18 Thread Eugeniy Paltsev
We have multiple vendors ethernet drivers enabled in haps_hs and haps_hs_smp defconfig. The only one we possibly require is VIRTIO_NET. So disable unused ones via disabling entire CONFIG_ETHERNET which controls all vendor-specific ethernet drivers. Signed-off-by: Eugeniy Paltsev ---

[RFC 2/6] ARC: HAPS: cleanup defconfigs from unused IO-related options

2019-10-18 Thread Eugeniy Paltsev
We don't have any peripherals on HAPS which may require FB or input_devices support. So get rid of them. Signed-off-by: Eugeniy Paltsev --- arch/arc/configs/haps_hs_defconfig | 9 +++-- arch/arc/configs/haps_hs_smp_defconfig | 9 +++-- 2 files changed, 6 insertions(+), 12

[RFC 0/6] ARC: merge HAPS-HS with nSIM-HS configs

2019-10-18 Thread Eugeniy Paltsev
Starting from nSIM 2019.06 is possible to use DW UART instead of ARC UART. That allows us to merge "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp" mith some minor changes. We eliminate nsim_hs_defconfig and nsim_hs_smp_defconfig and leave haps_hs_defconfig and haps_hs_smp_defconfig

[RFC 6/6] ARC: merge HAPS-HS with nSIM-HS configs

2019-10-18 Thread Eugeniy Paltsev
Starting from nSIM 2019.06 is possible to use DW UART instead of ARC UART. That allows us to merge "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp" mith minor changes which were done in previous commits. We eliminate nsim_hs_defconfig and nsim_hs_smp_defconfig and leave

[PATCH 1/2] ARC: [plat-hsdk]: Enable on-board SPI NOR flash IC

2019-10-18 Thread Eugeniy Paltsev
HSDK board has sst26wf016b SPI NOR flash IC installed, enable it. Signed-off-by: Eugeniy Paltsev --- arch/arc/boot/dts/hsdk.dts | 8 arch/arc/configs/hsdk_defconfig | 2 ++ 2 files changed, 10 insertions(+) diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts

[PATCH 0/2] ARC: [plat-hsdk]: enable on-board SPI peripherals

2019-10-18 Thread Eugeniy Paltsev
HSDK board has SPI flash IC and SPI ADC IC. As all SPI-related blocking changes/fixes are finally applied we can enable them. Eugeniy Paltsev (2): ARC: [plat-hsdk]: Enable on-board SPI NOR flash IC ARC: [plat-hsdk]: Enable on-boardi SPI ADC IC arch/arc/boot/dts/hsdk.dts | 23

[PATCH 2/2] ARC: [plat-hsdk]: Enable on-boardi SPI ADC IC

2019-10-18 Thread Eugeniy Paltsev
HSDK board has adc108s102 SPI ADC IC installed, enable it. Signed-off-by: Eugeniy Paltsev --- arch/arc/boot/dts/hsdk.dts | 15 +++ arch/arc/configs/hsdk_defconfig | 4 2 files changed, 19 insertions(+) diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts

[PATCH v12 02/22] arc: mm: Add p?d_leaf() definitions

2019-10-18 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information will be provided by the p?d_leaf() functions/macros. For arc, we only have two levels, so only pmd_leaf()

Re: [PATCH 13/21] m68k: rename __iounmap and mark it static

2019-10-18 Thread Geert Uytterhoeven
Hi Christoph, On Thu, Oct 17, 2019 at 7:53 PM Christoph Hellwig wrote: > m68k uses __iounmap as the name for an internal helper that is only > used for some CPU types. Mark it static and give it a better name. > > Signed-off-by: Christoph Hellwig Thanks for your patch! > ---