Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 10:22:13PM +0100, Mark Rutland wrote: > On Wed, Aug 24, 2016 at 04:52:26PM -0400, Rich Felker wrote: > > On Wed, Aug 24, 2016 at 10:01:08PM +0200, Arnd Bergmann wrote: > > > On Wednesday, August 24, 2016 1:40:01 PM CEST Rich Felker wrote: > > >

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 10:22:13PM +0100, Mark Rutland wrote: > On Wed, Aug 24, 2016 at 04:52:26PM -0400, Rich Felker wrote: > > On Wed, Aug 24, 2016 at 10:01:08PM +0200, Arnd Bergmann wrote: > > > On Wednesday, August 24, 2016 1:40:01 PM CEST Rich Felker wrote: > > >

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 10:01:08PM +0200, Arnd Bergmann wrote: > On Wednesday, August 24, 2016 1:40:01 PM CEST Rich Felker wrote: > > On Wed, Aug 24, 2016 at 06:42:05PM +0200, Daniel Lezcano wrote: > > > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 10:01:08PM +0200, Arnd Bergmann wrote: > On Wednesday, August 24, 2016 1:40:01 PM CEST Rich Felker wrote: > > On Wed, Aug 24, 2016 at 06:42:05PM +0200, Daniel Lezcano wrote: > > > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 08:01:52PM +0100, Marc Zyngier wrote: > On Wed, 24 Aug 2016 13:40:01 -0400 > Rich Felker <dal...@libc.org> wrote: > > [...] > > > > IIUC, there is a problem with the interrupt controller where > the per irq > > > line

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 08:01:52PM +0100, Marc Zyngier wrote: > On Wed, 24 Aug 2016 13:40:01 -0400 > Rich Felker wrote: > > [...] > > > > IIUC, there is a problem with the interrupt controller where > the per irq > > > line are not working correctly. Is tha

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 06:42:05PM +0200, Daniel Lezcano wrote: > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > > index 5677886..3210ca5 100644 > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/clocksource/Kconfig > > @@ -407,6 +407,15 @@ config

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Rich Felker
On Wed, Aug 24, 2016 at 06:42:05PM +0200, Daniel Lezcano wrote: > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > > index 5677886..3210ca5 100644 > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/clocksource/Kconfig > > @@ -407,6 +407,15 @@ config

Re: Build regressions/improvements in v4.8-rc1

2016-08-08 Thread Rich Felker
On Mon, Aug 08, 2016 at 05:46:33PM +0200, Geert Uytterhoeven wrote: > Hi Rich, > > On Mon, Aug 8, 2016 at 4:31 PM, Rich Felker <dal...@libc.org> wrote: > > On Mon, Aug 08, 2016 at 10:38:07AM +0200, Geert Uytterhoeven wrote: > >> On Mon, Aug 8, 2016 at 10:32 A

Re: Build regressions/improvements in v4.8-rc1

2016-08-08 Thread Rich Felker
On Mon, Aug 08, 2016 at 05:46:33PM +0200, Geert Uytterhoeven wrote: > Hi Rich, > > On Mon, Aug 8, 2016 at 4:31 PM, Rich Felker wrote: > > On Mon, Aug 08, 2016 at 10:38:07AM +0200, Geert Uytterhoeven wrote: > >> On Mon, Aug 8, 2016 at 10:32 AM, Geert Uytterhoeven >

Re: Build regressions/improvements in v4.8-rc1

2016-08-08 Thread Rich Felker
On Mon, Aug 08, 2016 at 10:38:07AM +0200, Geert Uytterhoeven wrote: > On Mon, Aug 8, 2016 at 10:32 AM, Geert Uytterhoeven > wrote: > > Below is the list of build error/warning regressions/improvements in > > v4.8-rc1[1] compared to v4.7[2]. > > > > Summarized: > > - build

Re: Build regressions/improvements in v4.8-rc1

2016-08-08 Thread Rich Felker
On Mon, Aug 08, 2016 at 10:38:07AM +0200, Geert Uytterhoeven wrote: > On Mon, Aug 8, 2016 at 10:32 AM, Geert Uytterhoeven > wrote: > > Below is the list of build error/warning regressions/improvements in > > v4.8-rc1[1] compared to v4.7[2]. > > > > Summarized: > > - build errors: +8/-12 > > >

[GIT PULL] arch/sh updates for 4.8

2016-08-06 Thread Rich Felker
icitly non-modular sh: make mm/asids-debugfs explicitly non-modular sh: make board-secureedge5410 explicitly non-modular sh: make heartbeat driver explicitly non-modular Rich Felker (16): sh: add support for linking a builtin device tree blob in the kernel sh: make

[GIT PULL] arch/sh updates for 4.8

2016-08-06 Thread Rich Felker
icitly non-modular sh: make mm/asids-debugfs explicitly non-modular sh: make board-secureedge5410 explicitly non-modular sh: make heartbeat driver explicitly non-modular Rich Felker (16): sh: add support for linking a builtin device tree blob in the kernel sh: make

Re: [PATCH v3 01/12] of: add vendor prefix for J-Core

2016-08-04 Thread Rich Felker
On Wed, Jul 27, 2016 at 01:31:12AM -0400, Rich Felker wrote: > On Wed, May 25, 2016 at 08:18:06AM -0500, Rob Herring wrote: > > On Wed, May 25, 2016 at 12:43 AM, Rich Felker <dal...@libc.org> wrote: > > > The J-Core project (j-core.org) produces open source cpu and So

Re: [PATCH v3 01/12] of: add vendor prefix for J-Core

2016-08-04 Thread Rich Felker
On Wed, Jul 27, 2016 at 01:31:12AM -0400, Rich Felker wrote: > On Wed, May 25, 2016 at 08:18:06AM -0500, Rob Herring wrote: > > On Wed, May 25, 2016 at 12:43 AM, Rich Felker wrote: > > > The J-Core project (j-core.org) produces open source cpu and SoC > > > peripheral

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-04 Thread Rich Felker
On Thu, Aug 04, 2016 at 02:24:51PM +0600, Alexnader Kuleshov wrote: > Hello Rich, > > On 08-04-16, Rich Felker wrote: > > At the hardware level, the J-Core PIT is integrated with the interrupt > > controller, but it is represented as its own device and has an > > indepe

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-04 Thread Rich Felker
On Thu, Aug 04, 2016 at 02:24:51PM +0600, Alexnader Kuleshov wrote: > Hello Rich, > > On 08-04-16, Rich Felker wrote: > > At the hardware level, the J-Core PIT is integrated with the interrupt > > controller, but it is represented as its own device and has an > > indepe

Re: Build error in -next due to 'sh: add working futex atomic ops on userspace addresses for smp'

2016-08-04 Thread Rich Felker
On Wed, Aug 03, 2016 at 09:44:51PM -0700, Guenter Roeck wrote: > Hi, > > I see the following build error in -next when building sh:shx3_defconfig. > > {standard input}: Assembler messages: > {standard input}:177: Error: unknown opcode > {standard input}:7760: Error: unknown opcode > > {standard

Re: Build error in -next due to 'sh: add working futex atomic ops on userspace addresses for smp'

2016-08-04 Thread Rich Felker
On Wed, Aug 03, 2016 at 09:44:51PM -0700, Guenter Roeck wrote: > Hi, > > I see the following build error in -next when building sh:shx3_defconfig. > > {standard input}: Assembler messages: > {standard input}:177: Error: unknown opcode > {standard input}:7760: Error: unknown opcode > > {standard

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-08-04 Thread Rich Felker
On Thu, Aug 04, 2016 at 03:05:16PM +0200, Geert Uytterhoeven wrote: > Hi Rich, > > On Sat, Jul 30, 2016 at 5:34 AM, Rich Felker <dal...@libc.org> wrote: > > On Thu, Jul 28, 2016 at 08:51:25PM +0100, Mark Brown wrote: > >> On Thu, Jul 28, 2016 at 03:40:45PM -0400, Ri

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-08-04 Thread Rich Felker
On Thu, Aug 04, 2016 at 03:05:16PM +0200, Geert Uytterhoeven wrote: > Hi Rich, > > On Sat, Jul 30, 2016 at 5:34 AM, Rich Felker wrote: > > On Thu, Jul 28, 2016 at 08:51:25PM +0100, Mark Brown wrote: > >> On Thu, Jul 28, 2016 at 03:40:45PM -0400, Rich Felker wrote: >

Re: [PATCH v6 2/2] irqchip: add J-Core AIC driver

2016-08-04 Thread Rich Felker
On Thu, Aug 04, 2016 at 04:32:57PM +0200, Geert Uytterhoeven wrote: > Hi Rich, > > On Thu, Aug 4, 2016 at 6:30 AM, Rich Felker <dal...@libc.org> wrote: > > --- /dev/null > > +++ b/drivers/irqchip/irq-jcore-aic.c > > > +int __init aic_irq_of_init(struct d

Re: [PATCH v6 2/2] irqchip: add J-Core AIC driver

2016-08-04 Thread Rich Felker
On Thu, Aug 04, 2016 at 04:32:57PM +0200, Geert Uytterhoeven wrote: > Hi Rich, > > On Thu, Aug 4, 2016 at 6:30 AM, Rich Felker wrote: > > --- /dev/null > > +++ b/drivers/irqchip/irq-jcore-aic.c > > > +int __init aic_irq_of_init(struct device_node *node, s

[PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-03 Thread Rich Felker
is provided using the J-Core "RTC" registers, which give a 64-bit seconds count and 32-bit nanoseconds. The driver converts these to a 64-bit nanoseconds count. Signed-off-by: Rich Felker <dal...@libc.org> --- drivers/clocksource/Kconfig | 9 ++ drivers/clocksource/Makefile

[PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-03 Thread Rich Felker
is provided using the J-Core "RTC" registers, which give a 64-bit seconds count and 32-bit nanoseconds. The driver converts these to a 64-bit nanoseconds count. Signed-off-by: Rich Felker --- drivers/clocksource/Kconfig | 9 ++ drivers/clocksource/Makefile| 1 + drivers/clockso

Re: [PATCH v5 2/2] spi: add driver for J-Core SPI controller

2016-08-03 Thread Rich Felker
On Wed, Aug 03, 2016 at 08:16:43AM -0500, Rob Herring wrote: > On Sun, Apr 3, 2016 at 12:12 AM, Rich Felker <dal...@libc.org> wrote: > > The date on your patch emails is way off. Thanks for catching this. I tweaked my email-prep scripts to improve coverage of who to send to, a

Re: [PATCH v5 2/2] spi: add driver for J-Core SPI controller

2016-08-03 Thread Rich Felker
On Wed, Aug 03, 2016 at 08:16:43AM -0500, Rob Herring wrote: > On Sun, Apr 3, 2016 at 12:12 AM, Rich Felker wrote: > > The date on your patch emails is way off. Thanks for catching this. I tweaked my email-prep scripts to improve coverage of who to send to, and somehow lost

[PATCH v5 1/2] of: add J-Core SPI master bindings

2016-08-03 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> --- .../devicetree/bindings/spi/jcore,spi.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/jcore,spi.txt diff --git a/Documentation/devicetree/bindings/spi

[PATCH v5 2/2] spi: add driver for J-Core SPI controller

2016-08-03 Thread Rich Felker
extended to support future versions of the J-Core SPI controller with DMA transfers when they become available. Signed-off-by: Rich Felker <dal...@libc.org> --- drivers/spi/Kconfig | 7 ++ drivers/spi/Makefile| 1 + drivers/spi/spi-jcore.c | 232 +++

[PATCH v6 0/2] J-Core timer support

2016-08-03 Thread Rich Felker
arithmetic in hot paths. I've also removed a comment about Linux implementation details from the DT binding document since it's not actually part of the bindings. Finally, driver was made conditional in Kconfig to avoid it showing up in configurations where it's not relevant. Rich Rich Felker (2

[PATCH v5 1/2] of: add J-Core SPI master bindings

2016-08-03 Thread Rich Felker
Signed-off-by: Rich Felker --- .../devicetree/bindings/spi/jcore,spi.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/jcore,spi.txt diff --git a/Documentation/devicetree/bindings/spi/jcore,spi.txt b

[PATCH v5 2/2] spi: add driver for J-Core SPI controller

2016-08-03 Thread Rich Felker
extended to support future versions of the J-Core SPI controller with DMA transfers when they become available. Signed-off-by: Rich Felker --- drivers/spi/Kconfig | 7 ++ drivers/spi/Makefile| 1 + drivers/spi/spi-jcore.c | 232

[PATCH v6 0/2] J-Core timer support

2016-08-03 Thread Rich Felker
arithmetic in hot paths. I've also removed a comment about Linux implementation details from the DT binding document since it's not actually part of the bindings. Finally, driver was made conditional in Kconfig to avoid it showing up in configurations where it's not relevant. Rich Rich Felker (2

[PATCH v6 1/2] of: add J-Core timer bindings

2016-08-03 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> --- .../devicetree/bindings/timer/jcore,pit.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer

[PATCH v5 0/2] J-Core SPI controller support

2016-08-03 Thread Rich Felker
-frequency property in the DT. Corresponding changes were made to the DT binding patch. Rich Rich Felker (2): of: add J-Core SPI master bindings spi: add driver for J-Core SPI controller .../devicetree/bindings/spi/jcore,spi.txt | 34 +++ drivers/spi/Kconfig

[PATCH v5 0/2] J-Core SPI controller support

2016-08-03 Thread Rich Felker
-frequency property in the DT. Corresponding changes were made to the DT binding patch. Rich Rich Felker (2): of: add J-Core SPI master bindings spi: add driver for J-Core SPI controller .../devicetree/bindings/spi/jcore,spi.txt | 34 +++ drivers/spi/Kconfig

[PATCH v6 1/2] of: add J-Core timer bindings

2016-08-03 Thread Rich Felker
Signed-off-by: Rich Felker --- .../devicetree/bindings/timer/jcore,pit.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer/jcore,pit.txt b

[PATCH v6 2/2] irqchip: add J-Core AIC driver

2016-08-03 Thread Rich Felker
currently in use in deployments and all released bitstream binaries. Signed-off-by: Rich Felker <dal...@libc.org> --- drivers/irqchip/Kconfig | 7 +++ drivers/irqchip/Makefile| 1 + drivers/irqchip/irq-jcore-aic.c | 94 + 3 files change

[PATCH v6 0/2] J-Core interrupt controller support

2016-08-03 Thread Rich Felker
in configurations where it's not relevant. Rich Rich Felker (2): of: add J-Core interrupt controller bindings irqchip: add J-Core AIC driver .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ drivers/irqchip/Kconfig| 7 ++ drivers/irqchip/Makefile

[PATCH v6 1/2] of: add J-Core interrupt controller bindings

2016-08-03 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,a

[PATCH v6 0/2] J-Core interrupt controller support

2016-08-03 Thread Rich Felker
in configurations where it's not relevant. Rich Rich Felker (2): of: add J-Core interrupt controller bindings irqchip: add J-Core AIC driver .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ drivers/irqchip/Kconfig| 7 ++ drivers/irqchip/Makefile

[PATCH v6 1/2] of: add J-Core interrupt controller bindings

2016-08-03 Thread Rich Felker
Signed-off-by: Rich Felker Acked-by: Rob Herring --- .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt diff --git a/Documentation/devicetree

[PATCH v6 2/2] irqchip: add J-Core AIC driver

2016-08-03 Thread Rich Felker
currently in use in deployments and all released bitstream binaries. Signed-off-by: Rich Felker --- drivers/irqchip/Kconfig | 7 +++ drivers/irqchip/Makefile| 1 + drivers/irqchip/irq-jcore-aic.c | 94 + 3 files changed, 102 insertions

[PATCH v5 2/2] spi: add driver for J-Core SPI controller

2016-08-02 Thread Rich Felker
extended to support future versions of the J-Core SPI controller with DMA transfers when they become available. Signed-off-by: Rich Felker <dal...@libc.org> --- drivers/spi/Kconfig | 7 ++ drivers/spi/Makefile| 1 + drivers/spi/spi-jcore.c | 232 +++

[PATCH v5 2/2] spi: add driver for J-Core SPI controller

2016-08-02 Thread Rich Felker
extended to support future versions of the J-Core SPI controller with DMA transfers when they become available. Signed-off-by: Rich Felker --- drivers/spi/Kconfig | 7 ++ drivers/spi/Makefile| 1 + drivers/spi/spi-jcore.c | 232

[PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-02 Thread Rich Felker
is provided using the J-Core "RTC" registers, which give a 64-bit seconds count and 32-bit nanoseconds. The driver converts these to a 64-bit nanoseconds count. Signed-off-by: Rich Felker <dal...@libc.org> --- drivers/clocksource/Kconfig | 9 ++ drivers/clocksource/Makefile

[PATCH v5 1/2] of: add J-Core SPI master bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> --- .../devicetree/bindings/spi/jcore,spi.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/jcore,spi.txt diff --git a/Documentation/devicetree/bindings/spi

[PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-02 Thread Rich Felker
is provided using the J-Core "RTC" registers, which give a 64-bit seconds count and 32-bit nanoseconds. The driver converts these to a 64-bit nanoseconds count. Signed-off-by: Rich Felker --- drivers/clocksource/Kconfig | 9 ++ drivers/clocksource/Makefile| 1 + drivers/clockso

[PATCH v5 1/2] of: add J-Core SPI master bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker --- .../devicetree/bindings/spi/jcore,spi.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/jcore,spi.txt diff --git a/Documentation/devicetree/bindings/spi/jcore,spi.txt b

[PATCH v6 1/2] of: add J-Core interrupt controller bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,a

[PATCH v5 0/2] J-Core SPI controller support

2016-08-02 Thread Rich Felker
-frequency property in the DT. Corresponding changes were made to the DT binding patch. Rich Rich Felker (2): of: add J-Core SPI master bindings spi: add driver for J-Core SPI controller .../devicetree/bindings/spi/jcore,spi.txt | 34 +++ drivers/spi/Kconfig

[PATCH v6 1/2] of: add J-Core interrupt controller bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker Acked-by: Rob Herring --- .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt diff --git a/Documentation/devicetree

[PATCH v5 0/2] J-Core SPI controller support

2016-08-02 Thread Rich Felker
-frequency property in the DT. Corresponding changes were made to the DT binding patch. Rich Rich Felker (2): of: add J-Core SPI master bindings spi: add driver for J-Core SPI controller .../devicetree/bindings/spi/jcore,spi.txt | 34 +++ drivers/spi/Kconfig

[PATCH v6 1/2] of: add J-Core timer bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> --- .../devicetree/bindings/timer/jcore,pit.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer

[PATCH v6 1/2] of: add J-Core timer bindings

2016-08-02 Thread Rich Felker
Signed-off-by: Rich Felker --- .../devicetree/bindings/timer/jcore,pit.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer/jcore,pit.txt b

[PATCH v6 0/2] J-Core timer support

2016-08-02 Thread Rich Felker
arithmetic in hot paths. I've also removed a comment about Linux implementation details from the DT binding document since it's not actually part of the bindings. Finally, driver was made conditional in Kconfig to avoid it showing up in configurations where it's not relevant. Rich Rich Felker (2

[PATCH v6 2/2] irqchip: add J-Core AIC driver

2016-08-02 Thread Rich Felker
currently in use in deployments and all released bitstream binaries. Signed-off-by: Rich Felker <dal...@libc.org> --- drivers/irqchip/Kconfig | 7 +++ drivers/irqchip/Makefile| 1 + drivers/irqchip/irq-jcore-aic.c | 94 + 3 files change

[PATCH v6 0/2] J-Core interrupt controller support

2016-08-02 Thread Rich Felker
in configurations where it's not relevant. Rich Rich Felker (2): of: add J-Core interrupt controller bindings irqchip: add J-Core AIC driver .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ drivers/irqchip/Kconfig| 7 ++ drivers/irqchip/Makefile

[PATCH v6 0/2] J-Core timer support

2016-08-02 Thread Rich Felker
arithmetic in hot paths. I've also removed a comment about Linux implementation details from the DT binding document since it's not actually part of the bindings. Finally, driver was made conditional in Kconfig to avoid it showing up in configurations where it's not relevant. Rich Rich Felker (2

[PATCH v6 2/2] irqchip: add J-Core AIC driver

2016-08-02 Thread Rich Felker
currently in use in deployments and all released bitstream binaries. Signed-off-by: Rich Felker --- drivers/irqchip/Kconfig | 7 +++ drivers/irqchip/Makefile| 1 + drivers/irqchip/irq-jcore-aic.c | 94 + 3 files changed, 102 insertions

[PATCH v6 0/2] J-Core interrupt controller support

2016-08-02 Thread Rich Felker
in configurations where it's not relevant. Rich Rich Felker (2): of: add J-Core interrupt controller bindings irqchip: add J-Core AIC driver .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ drivers/irqchip/Kconfig| 7 ++ drivers/irqchip/Makefile

Re: [PATCH v5 1/2] of: add J-Core timer bindings

2016-08-02 Thread Rich Felker
On Tue, May 17, 2016 at 11:18:58PM +, Rich Felker wrote: > Signed-off-by: Rich Felker <dal...@libc.org> > --- > .../devicetree/bindings/timer/jcore,pit.txt| 25 > ++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/d

Re: [PATCH v5 1/2] of: add J-Core timer bindings

2016-08-02 Thread Rich Felker
On Tue, May 17, 2016 at 11:18:58PM +, Rich Felker wrote: > Signed-off-by: Rich Felker > --- > .../devicetree/bindings/timer/jcore,pit.txt| 25 > ++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/t

Re: [PATCH v4 1/2] of: add J-Core SPI master bindings

2016-08-02 Thread Rich Felker
On Fri, Jul 29, 2016 at 03:58:38PM -0500, Rob Herring wrote: > On Tue, May 17, 2016 at 11:19:25PM +0000, Rich Felker wrote: > > Signed-off-by: Rich Felker <dal...@libc.org> > > --- > > .../devicetree/bindings/spi/jcore,spi.txt | 30 > > +

Re: [PATCH v4 1/2] of: add J-Core SPI master bindings

2016-08-02 Thread Rich Felker
On Fri, Jul 29, 2016 at 03:58:38PM -0500, Rob Herring wrote: > On Tue, May 17, 2016 at 11:19:25PM +0000, Rich Felker wrote: > > Signed-off-by: Rich Felker > > --- > > .../devicetree/bindings/spi/jcore,spi.txt | 30 > > ++ > &g

Re: rcu_sched stalls in idle task introduced in pre-4.8?

2016-08-02 Thread Rich Felker
On Tue, Aug 02, 2016 at 12:48:02PM -0700, Paul E. McKenney wrote: > > > > The system I'm testing on is an SMP configuration of the J2 SoC on > > > > FPGA (see: j-core.org), and the SMP support and timer driver (most > > > > relevant, imo) are new, but never exhibited this problem on 4.6 or > > > >

Re: rcu_sched stalls in idle task introduced in pre-4.8?

2016-08-02 Thread Rich Felker
On Tue, Aug 02, 2016 at 12:48:02PM -0700, Paul E. McKenney wrote: > > > > The system I'm testing on is an SMP configuration of the J2 SoC on > > > > FPGA (see: j-core.org), and the SMP support and timer driver (most > > > > relevant, imo) are new, but never exhibited this problem on 4.6 or > > > >

Re: rcu_sched stalls in idle task introduced in pre-4.8?

2016-08-02 Thread Rich Felker
On Tue, Aug 02, 2016 at 11:16:36AM -0700, Paul E. McKenney wrote: > On Tue, Aug 02, 2016 at 01:04:15PM -0400, Rich Felker wrote: > > Hi Paul, > > > > As I mentioned on Twitter, I'm experiencing (otherwise benign) rcu > > stall messages since rebasing my tree o

Re: rcu_sched stalls in idle task introduced in pre-4.8?

2016-08-02 Thread Rich Felker
On Tue, Aug 02, 2016 at 11:16:36AM -0700, Paul E. McKenney wrote: > On Tue, Aug 02, 2016 at 01:04:15PM -0400, Rich Felker wrote: > > Hi Paul, > > > > As I mentioned on Twitter, I'm experiencing (otherwise benign) rcu > > stall messages since rebasing my tree o

rcu_sched stalls in idle task introduced in pre-4.8?

2016-08-02 Thread Rich Felker
Hi Paul, As I mentioned on Twitter, I'm experiencing (otherwise benign) rcu stall messages since rebasing my tree on Linus's in-progress merge for 4.8, as part of updating both the arch/sh tree and drivers going upstream through other maintainers to account for changes made to infrastructure they

rcu_sched stalls in idle task introduced in pre-4.8?

2016-08-02 Thread Rich Felker
Hi Paul, As I mentioned on Twitter, I'm experiencing (otherwise benign) rcu stall messages since rebasing my tree on Linus's in-progress merge for 4.8, as part of updating both the arch/sh tree and drivers going upstream through other maintainers to account for changes made to infrastructure they

Re: [PATCH 0029/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Rich Felker
On Tue, Aug 02, 2016 at 02:16:17PM +0200, Greg KH wrote: > On Tue, Aug 02, 2016 at 06:35:37PM +0800, Baole Ni wrote: > > I find that the developers often just specified the numeric value > > when calling a macro which is defined with a parameter for access > > permission. > > As we know, these

Re: [PATCH 0029/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Rich Felker
On Tue, Aug 02, 2016 at 02:16:17PM +0200, Greg KH wrote: > On Tue, Aug 02, 2016 at 06:35:37PM +0800, Baole Ni wrote: > > I find that the developers often just specified the numeric value > > when calling a macro which is defined with a parameter for access > > permission. > > As we know, these

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-08-01 Thread Rich Felker
On Mon, Aug 01, 2016 at 07:12:45PM +0100, Mark Brown wrote: > On Fri, Jul 29, 2016 at 11:34:41PM -0400, Rich Felker wrote: > > > I was able to get it working via the clk api and I'll include support > > for this in the next version of the patch, but to actually use it > >

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-08-01 Thread Rich Felker
On Mon, Aug 01, 2016 at 07:12:45PM +0100, Mark Brown wrote: > On Fri, Jul 29, 2016 at 11:34:41PM -0400, Rich Felker wrote: > > > I was able to get it working via the clk api and I'll include support > > for this in the next version of the patch, but to actually use it > >

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-31 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:18:44PM -0400, Rich Felker wrote: > On Thu, Jul 28, 2016 at 04:00:47PM -0400, Rich Felker wrote: > > On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > > > +static int jcore_pit_cpu_notify(struct

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-31 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:18:44PM -0400, Rich Felker wrote: > On Thu, Jul 28, 2016 at 04:00:47PM -0400, Rich Felker wrote: > > On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > > > +static int jcore_pit_cpu_notify(struct

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-07-29 Thread Rich Felker
On Thu, Jul 28, 2016 at 08:51:25PM +0100, Mark Brown wrote: > On Thu, Jul 28, 2016 at 03:40:45PM -0400, Rich Felker wrote: > > On Thu, Jul 28, 2016 at 08:11:53PM +0100, Mark Brown wrote: > > > > An architecture or SoC dependency with || COMPILE_TEST would be useful > >

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-07-29 Thread Rich Felker
On Thu, Jul 28, 2016 at 08:51:25PM +0100, Mark Brown wrote: > On Thu, Jul 28, 2016 at 03:40:45PM -0400, Rich Felker wrote: > > On Thu, Jul 28, 2016 at 08:11:53PM +0100, Mark Brown wrote: > > > > An architecture or SoC dependency with || COMPILE_TEST would be useful > >

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:00:47PM -0400, Rich Felker wrote: > On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > > +static int jcore_pit_cpu_notify(struct notifier_block *self, > > > + unsigned long action, void *hcpu) > > > +{ &

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:00:47PM -0400, Rich Felker wrote: > On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > > +static int jcore_pit_cpu_notify(struct notifier_block *self, > > > + unsigned long action, void *hcpu) > > > +{ &

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > +static int jcore_pit_cpu_notify(struct notifier_block *self, > > + unsigned long action, void *hcpu) > > +{ > > + struct jcore_pit_nb *nb = container_of(self, struct jcore_pit_nb, nb); > > + switch (action

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > +static int jcore_pit_cpu_notify(struct notifier_block *self, > > + unsigned long action, void *hcpu) > > +{ > > + struct jcore_pit_nb *nb = container_of(self, struct jcore_pit_nb, nb); > > + switch (action

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 08:11:53PM +0100, Mark Brown wrote: > On Sun, Apr 03, 2016 at 05:12:45AM +0000, Rich Felker wrote: > > > +config SPI_JCORE > > + tristate "J-Core SPI Master" > > + depends on OF > > + > > An architecture or SoC d

Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 08:11:53PM +0100, Mark Brown wrote: > On Sun, Apr 03, 2016 at 05:12:45AM +0000, Rich Felker wrote: > > > +config SPI_JCORE > > + tristate "J-Core SPI Master" > > + depends on OF > > + > > An architecture or SoC d

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 06:44:15PM +0200, Thomas Gleixner wrote: > On Thu, 28 Jul 2016, Rich Felker wrote: > > On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > > > + return ((u64)sechi << 32 | seclo) * NSEC_PER_SEC + nsec; > > >

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 06:44:15PM +0200, Thomas Gleixner wrote: > On Thu, 28 Jul 2016, Rich Felker wrote: > > On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > > > + return ((u64)sechi << 32 | seclo) * NSEC_PER_SEC + nsec; > > >

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > + > > +#define PIT_IRQ_SHIFT 12 > > +#define PIT_PRIO_SHIFT 20 > > +#define PIT_ENABLE_SHIFT 26 > > +#define PIT_IRQ_MASK 0x3f > > +#define PIT_PRIO_MASK 0xf > > Can you please align the numbers as nicely as you did below and

Re: [PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 04:44:05PM +0200, Thomas Gleixner wrote: > > + > > +#define PIT_IRQ_SHIFT 12 > > +#define PIT_PRIO_SHIFT 20 > > +#define PIT_ENABLE_SHIFT 26 > > +#define PIT_IRQ_MASK 0x3f > > +#define PIT_PRIO_MASK 0xf > > Can you please align the numbers as nicely as you did below and

Re: [PATCH v5 2/2] irqchip: add J-Core AIC driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 03:15:09PM +0200, Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Rich Felker wrote: > > @@ -0,0 +1,86 @@ > > +/* > > + * J-Core SoC AIC driver > > + * > > + * Copyright (C) 2015-2016 Smart Energy Instruments, Inc. > > + * &g

Re: [PATCH v5 2/2] irqchip: add J-Core AIC driver

2016-07-28 Thread Rich Felker
On Thu, Jul 28, 2016 at 03:15:09PM +0200, Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Rich Felker wrote: > > @@ -0,0 +1,86 @@ > > +/* > > + * J-Core SoC AIC driver > > + * > > + * Copyright (C) 2015-2016 Smart Energy Instruments, Inc. > > + * &g

Re: [PATCH] clocksource: j-core: type fix init function return code

2016-07-28 Thread Rich Felker
On Wed, Jul 27, 2016 at 10:00:50AM +0200, Arnd Bergmann wrote: > On Wednesday, July 27, 2016 1:25:33 AM CEST Rich Felker wrote: > > On Tue, Jul 26, 2016 at 02:31:29PM +0200, Arnd Bergmann wrote: > > > The CLOCKSOURCE_OF_DECLARE now takes a function th

Re: [PATCH] clocksource: j-core: type fix init function return code

2016-07-28 Thread Rich Felker
On Wed, Jul 27, 2016 at 10:00:50AM +0200, Arnd Bergmann wrote: > On Wednesday, July 27, 2016 1:25:33 AM CEST Rich Felker wrote: > > On Tue, Jul 26, 2016 at 02:31:29PM +0200, Arnd Bergmann wrote: > > > The CLOCKSOURCE_OF_DECLARE now takes a function th

[PATCH v5 1/2] of: add J-Core timer bindings

2016-07-28 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> --- .../devicetree/bindings/timer/jcore,pit.txt| 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer

[PATCH v5 1/2] of: add J-Core timer bindings

2016-07-28 Thread Rich Felker
Signed-off-by: Rich Felker --- .../devicetree/bindings/timer/jcore,pit.txt| 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer/jcore,pit.txt b

[PATCH v5 1/2] of: add J-Core interrupt controller bindings

2016-07-28 Thread Rich Felker
Signed-off-by: Rich Felker <dal...@libc.org> --- .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt diff --git a/Documentation/devi

[PATCH v5 1/2] of: add J-Core interrupt controller bindings

2016-07-28 Thread Rich Felker
Signed-off-by: Rich Felker --- .../bindings/interrupt-controller/jcore,aic.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt diff --git a/Documentation/devicetree/bindings/interrupt

[PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
is provided using the J-Core "RTC" registers, which give a 64-bit seconds count and 32-bit nanoseconds. The driver converts these to a 64-bit nanoseconds count. Signed-off-by: Rich Felker <dal...@libc.org> --- drivers/clocksource/Kconfig | 8 ++ drivers/clocksource/Makefile

[PATCH v5 2/2] clocksource: add J-Core timer/clocksource driver

2016-07-28 Thread Rich Felker
is provided using the J-Core "RTC" registers, which give a 64-bit seconds count and 32-bit nanoseconds. The driver converts these to a 64-bit nanoseconds count. Signed-off-by: Rich Felker --- drivers/clocksource/Kconfig | 8 ++ drivers/clocksource/Makefile| 1 + drivers/clockso

<    1   2   3   4   5   6   7   8   9   10   >