Re: [PATCH v6 0/2] Add Realtek Otto GPIO support

2021-03-31 Thread Sander Vanheule
On Wed, 2021-03-31 at 09:49 +0200, Bartosz Golaszewski wrote: > On Tue, Mar 30, 2021 at 7:48 PM Sander Vanheule > wrote: > > > > Add support for the GPIO controller employed by Realtek in multiple > > series of MIPS SoCs. These include the supported RTL838x and > >

[PATCH v6 0/2] Add Realtek Otto GPIO support

2021-03-30 Thread Sander Vanheule
le - Various code style clean-ups Changes in v2: - Clarify structure and usage of IMR registers - Added Linus' Reviewed-by tags Sander Vanheule (2): dt-bindings: gpio: Binding for Realtek Otto GPIO gpio: Add Realtek Otto GPIO support .../bindings/gpio/realtek,otto-gpio.yaml | 78 +

[PATCH v6 2/2] gpio: Add Realtek Otto GPIO support

2021-03-30 Thread Sander Vanheule
devicetree-compatible 'realtek,otto-gpio'. This allows for quick support of GPIO banks in which the byte order would be unknown. In this case, the port ordering in the IMR registers may not match the reversed order in the other registers (DCBA, and BA-DC or DC-BA). Signed-off-by: Sande

[PATCH v6 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-30 Thread Sander Vanheule
nd enabling the interrupt controller may result in uncaught interrupts. Signed-off-by: Sander Vanheule Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../bindings/gpio/realtek,otto-gpio.yaml | 78 +++ 1 file changed, 78 insertions(+) create mode 100644 Documenta

[PATCH v5 0/2] Add Realtek Otto GPIO support

2021-03-30 Thread Sander Vanheule
aw u32 registers - Use 'line' name for gpiochip, 'port' and 'pin' names for hardware - Renamed DT bindings file - Dropped fallback-only DT compatible - Various code style clean-ups Changes in v2: - Clarify structure and usage of IMR registers - Added Linus' Reviewed-by

[PATCH v5 2/2] gpio: Add Realtek Otto GPIO support

2021-03-30 Thread Sander Vanheule
devicetree-compatible 'realtek,otto-gpio'. This allows for quick support of GPIO banks in which the byte order would be unknown. In this case, the port ordering in the IMR registers may not match the reversed order in the other registers (DCBA, and BA-DC or DC-BA). Signed-off-by: Sande

[PATCH v5 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-30 Thread Sander Vanheule
nd enabling the interrupt controller may result in uncaught interrupts. Signed-off-by: Sander Vanheule Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../bindings/gpio/realtek,otto-gpio.yaml | 78 +++ 1 file changed, 78 insertions(+) create mode 100644 Documenta

Re: [PATCH v4 2/2] gpio: Add Realtek Otto GPIO support

2021-03-29 Thread Sander Vanheule
Hi Andy, Thank you for clarifying your remarks. I'll support for building as a module, and have implemented the gpio_irq_chip->init_hw() callback. On Mon, 2021-03-29 at 13:26 +0300, Andy Shevchenko wrote: > On Fri, Mar 26, 2021 at 11:11 PM Sander Vanheule < > san...@svanheule.n

Re: [PATCH v4 2/2] gpio: Add Realtek Otto GPIO support

2021-03-26 Thread Sander Vanheule
Hi Andy, Replies inline below. On Fri, 2021-03-26 at 20:19 +0200, Andy Shevchenko wrote: > On Fri, Mar 26, 2021 at 2:05 PM Sander Vanheule > wrote: > > > +config GPIO_REALTEK_OTTO > > +   bool "Realtek Otto GPIO support" > > Why not module? This dr

[PATCH v4 2/2] gpio: Add Realtek Otto GPIO support

2021-03-26 Thread Sander Vanheule
devicetree-compatible 'realtek,otto-gpio'. This allows for quick support of GPIO banks in which the byte order would be unknown. In this case, the port ordering in the IMR registers may not match the reversed order in the other registers (DCBA, and BA-DC or DC-BA). Signed-off-by: Sande

[PATCH v4 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-26 Thread Sander Vanheule
nd enabling the interrupt controller may result in uncaught interrupts. Signed-off-by: Sander Vanheule Reviewed-by: Linus Walleij --- .../bindings/gpio/realtek,otto-gpio.yaml | 78 +++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/gp

[PATCH v4 0/2] Add Realtek Otto GPIO support

2021-03-26 Thread Sander Vanheule
hip, 'port' and 'pin' names for hardware - Renamed DT bindings file - Dropped fallback-only DT compatible - Various code style clean-ups Changes in v2: - Clarify structure and usage of IMR registers - Added Linus' Reviewed-by tags Sander Vanheule (2): dt-bindings: gpio: Bi

Re: [PATCH v3 2/2] gpio: Add Realtek Otto GPIO support

2021-03-24 Thread Sander Vanheule
On Wed, 2021-03-24 at 22:22 +0100, Sander Vanheule wrote: > +static inline u8 read_u8_reg(void __iomem* reg, unsigned int port) > +{ > +   return ioread8(reg + port); > +} > + > +static inline void write_u8_reg(void __iomem* reg, unsigned int port, > u8 value) > +{

[PATCH v3 0/2] Add Realtek Otto GPIO support

2021-03-24 Thread Sander Vanheule
ous code style clean-ups Changes in v2: - Clarify structure and usage of IMR registers - Added Linus' Reviewed-by tags Sander Vanheule (2): dt-bindings: gpio: Binding for Realtek Otto GPIO gpio: Add Realtek Otto GPIO support .../bindings/gpio/realtek,otto-gpio.yaml | 78 drivers

[PATCH v3 2/2] gpio: Add Realtek Otto GPIO support

2021-03-24 Thread Sander Vanheule
devicetree-compatible 'realtek,otto-gpio'. This allows for quick support of GPIO banks in which the byte order would be unknown. In this case, the port ordering in the IMR registers may not match the reversed order in the other registers (DCBA, and BA-DC or DC-BA). Signed-off-by: Sande

[PATCH v3 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-24 Thread Sander Vanheule
nd enabling the interrupt controller may result in uncaught interrupts. Signed-off-by: Sander Vanheule Reviewed-by: Linus Walleij --- .../bindings/gpio/realtek,otto-gpio.yaml | 78 +++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/gp

Re: [PATCH v2 2/2] gpio: Add Realtek Otto GPIO support

2021-03-19 Thread Sander Vanheule
On Fri, 2021-03-19 at 23:24 +0200, Andy Shevchenko wrote: > On Fri, Mar 19, 2021 at 11:20 PM Sander Vanheule < > san...@svanheule.net> wrote: > > On Fri, 2021-03-19 at 19:57 +0200, Andy Shevchenko wrote: > > > On Fri, Mar 19, 2021 at 5:51 PM Sander Vanheule > > >

Re: [PATCH v2 2/2] gpio: Add Realtek Otto GPIO support

2021-03-19 Thread Sander Vanheule
On Fri, 2021-03-19 at 19:57 +0200, Andy Shevchenko wrote: > On Fri, Mar 19, 2021 at 5:51 PM Sander Vanheule > wrote: > > On Wed, 2021-03-17 at 15:08 +0200, Andy Shevchenko wrote: > > > On Mon, Mar 15, 2021 at 11:11 PM Sander Vanheule < > >

Re: [PATCH v2 2/2] gpio: Add Realtek Otto GPIO support

2021-03-19 Thread Sander Vanheule
Hi Andy, Thanks for the review. I'll address the style comments in a v3. Some further comments and discussion below. On Wed, 2021-03-17 at 15:08 +0200, Andy Shevchenko wrote: > On Mon, Mar 15, 2021 at 11:11 PM Sander Vanheule < > san...@svanheule.net> wrote: > > +  

Re: [PATCH 2/2] gpio: Add Realtek Otto GPIO support

2021-03-15 Thread Sander Vanheule
On Mon, 2021-03-15 at 16:10 +0100, Linus Walleij wrote: > On Mon, Mar 15, 2021 at 9:26 AM Sander Vanheule > wrote: > > > Realtek MIPS SoCs (platform name Otto) have GPIO controllers with > > up to > > 64 GPIOs, divided over two banks. Each bank has a set of registers

[PATCH v2 0/2] Add Realtek Otto GPIO support

2021-03-15 Thread Sander Vanheule
GPIO ports have been tested on a Zyxel GS1900-8 (RTL8380), and Zyxel GS1900-48 (RTL8393). Furthermore, the GPIO ports and interrupt controller have been tested on a Netgear GS110TPPv1 (RTL8381). Changes in v2: - Clarify structure and usage of IMR registers Sander Vanheule (2): dt-bindings: gp

[PATCH v2 2/2] gpio: Add Realtek Otto GPIO support

2021-03-15 Thread Sander Vanheule
devicetree-compatible 'realtek,otto-gpio'. This allows for quick support of GPIO banks in which the byte order would be unknown. In this case, the port ordering in the IMR registers may not match the reversed order in the other registers (DCBA, and BA-DC or DC-BA). Signed-off-by: Sande

[PATCH v2 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-15 Thread Sander Vanheule
nd enabling the interrupt controller may result in uncaught interrupts. Signed-off-by: Sander Vanheule Reviewed-by: Linus Walleij --- .../bindings/gpio/gpio-realtek-otto.yaml | 80 +++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/gp

[PATCH 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-15 Thread Sander Vanheule
nd enabling the interrupt controller may result in uncaught interrupts. Signed-off-by: Sander Vanheule --- .../bindings/gpio/gpio-realtek-otto.yaml | 80 +++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-realtek-otto.yam

[PATCH 0/2] Add Realtek Otto GPIO support

2021-03-15 Thread Sander Vanheule
GPIO ports have been tested on a Zyxel GS1900-8 (RTL8380M), and Zyxel GS1900-48 (RTL8393M). Furthermore, the GPIO ports and interrupt controller have been tested on a Netgear GS110TPPv1 (RTL8381M). Sander Vanheule (2): dt-bindings: gpio: Binding for Realtek Otto GPIO gpio: Add Realtek Ot

[PATCH 2/2] gpio: Add Realtek Otto GPIO support

2021-03-15 Thread Sander Vanheule
devicetree-compatible 'realtek,otto-gpio'. This allows for quick support of GPIO banks in which the byte order would be unknown. In this case, the port ordering in the IMR registers may not match the reversed order in the other registers (DCBA, and BA-DC or DC-BA). Signed-off-by: Sande

[PATCH] MIPS: ralink: manage low reset lines

2021-02-03 Thread Sander Vanheule
all reset lines with index greater than 0 are considered valid. Signed-off-by: Sander Vanheule --- This patch was tested on a TP-Link EAP235-Wall, with an MT7621DA SoC. The bootloader on this device would leave reset line 2 ("mcm") asserted, which caused the internal switch to be unr

Re: mtd raw nand denali.c broken for Intel/Altera Cyclone V

2019-09-26 Thread Tim Sander
Hi Am Mittwoch, 11. September 2019, 04:37:46 CEST schrieb Masahiro Yamada: > Hi Dinh, > > On Wed, Sep 11, 2019 at 12:22 AM Dinh Nguyen wrote: > > On 9/10/19 8:48 AM, Tim Sander wrote: > > > Hi > > > > > > I have noticed that my SPF records where not

Re: mtd raw nand denali.c broken for Intel/Altera Cyclone V

2019-09-11 Thread Tim Sander
Hi Am Mittwoch, 11. September 2019, 04:37:46 CEST schrieb Masahiro Yamada: > - Does the SOCFPGA boot ROM support the NAND boot mode? Cyclone V HPS TRM Section "A3 Booting and Configuration" lists QSPI, SD/MMC and Nand as bootsource. > - If so, which value does it use for SPARE_AREA_SKIP_BYTES? I

Re: mtd raw nand denali.c broken for Intel/Altera Cyclone V

2019-09-10 Thread Tim Sander
Hi I have noticed that my SPF records where not in place after moving the server, so it seems the mail didn't go to the mailing list. Hopefully that's fixed now. Am Dienstag, 10. September 2019, 09:16:37 CEST schrieb Masahiro Yamada: > On Fri, Sep 6, 2019 at 9:39 PM Tim Sander

mtd raw nand denali.c broken for Intel/Altera Cyclone V

2019-09-06 Thread Tim Sander
Hi I have noticed that there multiple breakages piling up for the denali nand driver on the Intel/Altera Cyclone V. Unfortunately i had no time to track the mainline kernel closely. So the breakage seems to pile up. I am a little disapointed that Intel is not on the lookout that the kernel works o

Re: 5.3-rc3-ish VM crash: RIP: 0010:tcp_trim_head+0x20/0xe0

2019-08-24 Thread Sander Eikelenboom
On 17/08/2019 18:35, Eric Dumazet wrote: > > > On 8/17/19 10:24 AM, Sander Eikelenboom wrote: >> On 12/08/2019 19:56, Eric Dumazet wrote: >>> >>> >>> On 8/12/19 2:50 PM, Sander Eikelenboom wrote: >>>> L.S., >>>> >>>

Re: 5.3-rc3-ish VM crash: RIP: 0010:tcp_trim_head+0x20/0xe0

2019-08-17 Thread Sander Eikelenboom
On 12/08/2019 19:56, Eric Dumazet wrote: > > > On 8/12/19 2:50 PM, Sander Eikelenboom wrote: >> L.S., >> >> While testing a somewhere-after-5.3-rc3 kernel (which included the latest >> net merge (33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9), >> one of my

Re: 5.3-rc3-ish VM crash: RIP: 0010:tcp_trim_head+0x20/0xe0

2019-08-12 Thread Sander Eikelenboom
On 12/08/2019 19:56, Eric Dumazet wrote: > > > On 8/12/19 2:50 PM, Sander Eikelenboom wrote: >> L.S., >> >> While testing a somewhere-after-5.3-rc3 kernel (which included the latest >> net merge (33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9), >> one of my

5.3-rc3-ish VM crash: RIP: 0010:tcp_trim_head+0x20/0xe0

2019-08-12 Thread Sander Eikelenboom
on doesn't seem to be an option at the moment. I haven't encountered this on 5.2, so it seems to be an regression against 5.2. Any ideas ? -- Sander [16930.653595] general protection fault: [#1] SMP NOPTI [16930.653624] CPU: 0 PID: 3275 Comm: rsync Not tainted 5.3.0-rc

Re: RIP: e030:bfq_exit_icq_bfqq+0x147/0x1c0

2019-08-09 Thread Sander Eikelenboom
On 08/08/2019 12:21, Paolo Valente wrote: > > >> Il giorno 8 ago 2019, alle ore 12:21, Sander Eikelenboom >> ha scritto: >> >> On 08/08/2019 11:10, Paolo Valente wrote: >>> >>> >>>> Il giorno 8 ago 2019, alle ore 11:05, Sander Ei

Re: RIP: e030:bfq_exit_icq_bfqq+0x147/0x1c0

2019-08-08 Thread Sander Eikelenboom
On 08/08/2019 11:10, Paolo Valente wrote: > > >> Il giorno 8 ago 2019, alle ore 11:05, Sander Eikelenboom >> ha scritto: >> >> L.S., >> >> While testing a linux 5.3-rc3 kernel on my Xen server I come across the >> splat below when trying to sh

RIP: e030:bfq_exit_icq_bfqq+0x147/0x1c0

2019-08-08 Thread Sander Eikelenboom
me area as dbc3117d4ca9e17819ac73501e914b8422686750, but already rc3 incorporates that patch. Any ideas ? -- Sander [80915.716048] BUG: unable to handle page fault for address: 1008 [80915.724188] #PF: supervisor write access in kernel mode [80915.733182] #PF: error_code(0x0002) - not-present page [80915.741455]

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-10 Thread Sander Eikelenboom
On 10/02/2019 12:44, Heiner Kallweit wrote: > On 10.02.2019 10:16, Sander Eikelenboom wrote: >> On 09/02/2019 12:50, Heiner Kallweit wrote: >>> On 09.02.2019 11:07, Sander Eikelenboom wrote: >>>> On 09/02/2019 10:59, Heiner Kallweit wrote: >>>>>

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-10 Thread Sander Eikelenboom
On 10/02/2019 12:44, Heiner Kallweit wrote: > On 10.02.2019 10:16, Sander Eikelenboom wrote: >> On 09/02/2019 12:50, Heiner Kallweit wrote: >>> On 09.02.2019 11:07, Sander Eikelenboom wrote: >>>> On 09/02/2019 10:59, Heiner Kallweit wrote: >>>>>

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-10 Thread Sander Eikelenboom
On 09/02/2019 12:50, Heiner Kallweit wrote: > On 09.02.2019 11:07, Sander Eikelenboom wrote: >> On 09/02/2019 10:59, Heiner Kallweit wrote: >>> On 09.02.2019 10:34, Sander Eikelenboom wrote: >>>> On 09/02/2019 10:02, Heiner Kallweit wrote: >>>>

Re: Linux 5.0 regression: BUG: unable to handle kernel paging request at ffff888023e26778 RIP: e030:move_page_tables+0x7c1/0xae0

2019-02-09 Thread Sander Eikelenboom
On 09/02/2019 19:48, Juergen Gross wrote: > On 09/02/2019 19:45, Sander Eikelenboom wrote: >> On 09/02/2019 09:26, Sander Eikelenboom wrote: >>> L.S., >>> >>> >>> While testing a Linux 5.0-rc5-ish kernel (pull of yesterday) with some >>> addi

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-09 Thread Sander Eikelenboom
On 09/02/2019 10:59, Heiner Kallweit wrote: > On 09.02.2019 10:34, Sander Eikelenboom wrote: >> On 09/02/2019 10:02, Heiner Kallweit wrote: >>> On 09.02.2019 00:09, Eric Dumazet wrote: >>>> >>>> >>>> On 02/08/2019 01:50 PM, Heiner Kallweit wrot

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-09 Thread Sander Eikelenboom
On 09/02/2019 10:02, Heiner Kallweit wrote: > On 09.02.2019 00:09, Eric Dumazet wrote: >> >> >> On 02/08/2019 01:50 PM, Heiner Kallweit wrote: >>> On 08.02.2019 22:45, Sander Eikelenboom wrote: >>>> On 08/02/2019 22:22, Heiner Kallweit wrote: >>&

Linux 5.0 regression: BUG: unable to handle kernel paging request at ffff888023e26778

2019-02-09 Thread Sander Eikelenboom
s from the host kernel running under the Xen hypervisor might it matter. -- Sander [17035.016433] BUG: unable to handle kernel paging request at 888023e26778 [17035.025887] #PF error: [PROT] [WRITE] [17035.035146] PGD 2a2a067 P4D 2a2a067 PUD 2a2b067 PMD 7fe01067 PTE 801023e26065 [17035.04

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-08 Thread Sander Eikelenboom
On 08/02/2019 22:50, Heiner Kallweit wrote: > On 08.02.2019 22:45, Sander Eikelenboom wrote: >> On 08/02/2019 22:22, Heiner Kallweit wrote: >>> On 08.02.2019 21:55, Sander Eikelenboom wrote: >>>> On 08/02/2019 19:52, Heiner Kallweit wrote: >>>>>

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-08 Thread Sander Eikelenboom
On 08/02/2019 22:22, Heiner Kallweit wrote: > On 08.02.2019 21:55, Sander Eikelenboom wrote: >> On 08/02/2019 19:52, Heiner Kallweit wrote: >>> On 08.02.2019 19:29, Sander Eikelenboom wrote: >>>> L.S., >>>> >>>> While testing a linux 5.0-rc5

Re: Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-08 Thread Sander Eikelenboom
On 08/02/2019 19:52, Heiner Kallweit wrote: > On 08.02.2019 19:29, Sander Eikelenboom wrote: >> L.S., >> >> While testing a linux 5.0-rc5 kernel (with some patches on top but they >> don't seem related) under Xen i the nasty splat below, >> that

Linux 5.0 regression: rtl8169 / kernel BUG at lib/dynamic_queue_limits.c:27!

2019-02-08 Thread Sander Eikelenboom
networking related) kernel bug. If you need more info, want me to run a debug patch etc., please feel free to ask. -- Sander [ 6466.554866] kernel BUG at lib/dynamic_queue_limits.c:27! [ 6466.571425] invalid opcode: [#1] SMP NOPTI [ 6466.585890] CPU: 3 PID: 7057 Comm: as Not tainted 5.0.0-rc

Re: Kernel 5.0-rc5 regression with NAT, bisected to: netfilter: nat: remove l4proto->manip_pkt

2019-02-08 Thread Sander Eikelenboom
On 08/02/2019 12:54, Florian Westphal wrote: > Florian Westphal wrote: >> Sander Eikelenboom wrote: >>> L.S., >>> >>> While trying out a 5.0-RC5 kernel I seem to have stumbled over a regression >>> with NAT. >>> (using

Kernel 5.0-rc5 regression with NAT, bisected to: netfilter: nat: remove l4proto->manip_pkt

2019-02-07 Thread Sander Eikelenboom
Any ideas or debugging hints ? -- Sander

Re: [ANNOUNCE] v4.18.12-rt7 stall

2018-10-10 Thread Tim Sander
Hi I just tested this kernel and saw the stall output below. I think there is something fishy with the ethernet driver. I had one time where it just locked up on network traffic on issuing "ip a" via serial port on the device. All the problems i see, seem to be related to network traffic via the

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Sander Eikelenboom
On 27/09/18 23:48, Boris Ostrovsky wrote: > On 9/27/18 5:37 PM, Jens Axboe wrote: >> On 9/27/18 2:33 PM, Sander Eikelenboom wrote: >>> On 27/09/18 21:06, Boris Ostrovsky wrote: >>>> On 9/27/18 2:56 PM, Jens Axboe wrote: >>>>> On 9/27/18 12:52 PM, Sande

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Sander Eikelenboom
On 27/09/18 21:06, Boris Ostrovsky wrote: > On 9/27/18 2:56 PM, Jens Axboe wrote: >> On 9/27/18 12:52 PM, Sander Eikelenboom wrote: >>> On 27/09/18 16:26, Jens Axboe wrote: >>>> On 9/27/18 1:12 AM, Juergen Gross wrote: >>>>> On 22/09/18 21:55, Bori

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Sander Eikelenboom
x so i'm not hit by what a46b53672b2c tried to fix. If you can come up with a debug patch i can give that a spin tomorrow evening or in the weekend, so we are hopefully still in time for the 4.19 release. -- Sander

Re: Linux 4.16-rc1: regression bisected, Debian kernel package tool make-kpkg stalls indefinitely during kernel build due to commit "kconfig: remove check_stdin()"

2018-03-18 Thread Sander Eikelenboom
On 13/02/18 14:07, Ulf Magnusson wrote: > On Tue, Feb 13, 2018 at 1:35 PM, Ulf Magnusson wrote: >> On Tue, Feb 13, 2018 at 12:33:24PM +0100, Ulf Magnusson wrote: >>> On Tue, Feb 13, 2018 at 11:00:49AM +0100, Sander Eikelenboom wrote: >>>> On 13/02/18 05:09, Masahiro

Re: Linux 4.16-rc1: regression bisected, Debian kernel package tool make-kpkg stalls indefinitely during kernel build due to commit "kconfig: remove check_stdin()"

2018-02-13 Thread Sander Eikelenboom
On 13/02/18 05:09, Masahiro Yamada wrote: > 2018-02-13 12:00 GMT+09:00 Woody Suwalski : >> Sander Eikelenboom wrote: >>> >>> L.S., >>> >>> The Debian kernel-package tool make-kpkg for easy building of upstream >>> kernels on Debian fails wit

Linux 4.16-rc1: regression bisected, Debian kernel package tool make-kpkg stalls indefinitely during kernel build due to commit "kconfig: remove check_stdin()"

2018-02-12 Thread Sander Eikelenboom
13.018+nmu1 I also cc'ed the Debian developer who maintains the kernel-package package: Manoj Srivastava -- Sander

Linux 4.14-rc6 bisected regression tun devices not working anymore in openvpn

2017-10-28 Thread Sander Eikelenboom
25986 Closing TUN/TAP interface The offending commit is: 0ad646c81b2182f7fa67ec0c8c825e0ee165696d "tun: call dev_get_valid_name() before register_netdevice()" Reverting this commit fixes the issue for me, it's unfortunate that the commit it self seems to fix an other issue. -- Sander

Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!

2017-10-26 Thread Sander Eikelenboom
On 26/10/17 19:49, Craig Bergstrom wrote: > Sander, thanks for the details, they've been very useful. > > I suspect that your host system's mem=2048M parameter is causing the > problem. Any chance you can confirm by removing the parameter and > running the guest code

Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!

2017-10-26 Thread Sander Eikelenboom
On 26/10/17 10:12, Sander Eikelenboom wrote: > On 26/10/17 10:05, Sander Eikelenboom wrote: >> On 26/10/17 00:02, Craig Bergstrom wrote: >>> Thanks for the notification, my apologies for the breakage. I'll take a >>> close look and see if I can figure out what

Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!

2017-10-26 Thread Sander Eikelenboom
On 26/10/17 00:02, Craig Bergstrom wrote: > Thanks for the notification, my apologies for the breakage. I'll take a > close look and see if I can figure out what went wrong. > > Sander, any chance you can send /proc/iomem and the inputs to the mmap call > that fail on your

Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!

2017-10-26 Thread Sander Eikelenboom
On 26/10/17 10:05, Sander Eikelenboom wrote: > On 26/10/17 00:02, Craig Bergstrom wrote: >> Thanks for the notification, my apologies for the breakage. I'll take a >> close look and see if I can figure out what went wrong. >> >> Sander, any chance you can send /

ptp device strangeness

2017-09-01 Thread Tim Sander
Hi I am currently using ptp on a Altera/Intel SOC with a dp8640 PHY. PTP functionality seems to be right. But i am doing timestamping with gpio0 and sometimes i loose the sync of the stamping and the events. So i would like to read out all messages. Reading O_NONBLOCK does not work so i tried poll

4.12-RC2 BUG: scheduling while atomic: irq/47-iwlwifi

2017-05-22 Thread Sander Eikelenboom
Hi, I encountered this splat with 4.12-RC2. -- Sander [ 119.021594] BUG: scheduling while atomic: irq/47-iwlwifi/517/0x0200 [ 119.021604] Modules linked in: xt_tcpudp ip6t_rpfilter ipt_REJECT nf_reject_ipv4 ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack ip_set

[PATCH] i2c-designware: add i2c gpio recovery option

2017-05-10 Thread Tim Sander
ned-off-by: Tim Sander --- drivers/i2c/busses/i2c-designware-core.c| 14 - drivers/i2c/busses/i2c-designware-core.h| 4 ++ drivers/i2c/busses/i2c-designware-platdrv.c | 90 - 3 files changed, 104 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/

DWC2 USB Host Mode Lockup 4.11

2017-05-10 Thread Tim Sander
Hi I am currently seeing a error with the designware driver on Intel/Altera ARM Cortex A9 Cyclone SOC V Hardware. The USB PHY is a TUSB1210 without a hw reset line connected. The error only occurs on plugging in of the device in host mode. Once the USB device is enumerated i have not seen any erro

Re: RFC: i2c designware gpio recovery

2017-05-03 Thread Tim Sander
Good Day Phil Am Mittwoch, 3. Mai 2017, 09:30:50 CEST schrieb Phil Reid: > G'day Tim, > > On 1/05/2017 21:31, Tim Sander wrote: > > Good Day Phil > > > > Am Montag, 1. Mai 2017, 09:57:35 CEST schrieb Phil Reid: > >>> So i took a look into the

Re: RFC: i2c designware gpio recovery

2017-05-01 Thread Tim Sander
Good Day Phil Am Montag, 1. Mai 2017, 09:57:35 CEST schrieb Phil Reid: > > So i took a look into the device tree file socfpga.dtsi and found that the > > reset lines where not defined (although available in the corresponding > > reset manager). Is there a reason for this? Other components are > >

Re: RFC: i2c designware gpio recovery

2017-04-28 Thread Tim Sander
Hi After sending this mail i just found out how i could reset the i2c-1 controller manually with devmem 0xffd05014 32 0x2000 devmem 0xffd05014 32 0 So i took a look into the device tree file socfpga.dtsi and found that the reset lines where not defined (although available in the corresponding

RFC: i2c designware gpio recovery

2017-04-28 Thread Tim Sander
Hi I have tried to add a gpio recovery gpio controller to the designware i2c driver. The attempt is attached below. I have a Intel(Altera) Cyclone V SOC Platform attached to a buggy power supply which gives a lockup on the i2c controller as a external device gives to much noise on the signal an

4.11-rc6 and OF_DYNAMIC

2017-04-12 Thread Tim Sander
Hi I have been testing the 4.11-rc6 kernel on Intel(ex Altera) Arm SOC Cyclone with dynamic Firmware loading. As i didn't know how to trigger dynamic loading from userspace i also applied the following patch: OF: DT-Overlay configfs interface https://github.com/raspberrypi/linux/commit/8f1079750c

Re: [PATCH] xen/x86: Initialize per_cpu(xen_vcpu, 0) a little earlier

2016-10-03 Thread Sander Eikelenboom
On 2016-10-03 00:45, Boris Ostrovsky wrote: xen_cpuhp_setup() calls mutex_lock() which, when CONFIG_DEBUG_MUTEXES is defined, ends up calling xen_save_fl(). That routine expects per_cpu(xen_vcpu, 0) to be already initialized. Signed-off-by: Boris Ostrovsky Reported-by: Sander Eikelenboom

Re: [Intel-gfx] Linux 4.8-rc?: WARNING: at drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write Missing switch case (16) in gen6_check_mailbox_status

2016-09-07 Thread Sander Eikelenboom
tel-fixes by commit fc2780b66b15092ac68272644a522c1624c48547 Author: Chris Wilson Date: Fri Aug 26 11:59:26 2016 +0100 drm/i915: Add GEN7_PCODE_MIN_FREQ_TABLE_GT_RATIO_OUT_OF_RANGE to SNB BR, Jani. Works-for-me, thx! -- Sander

Re: [Linux 4.8-rc1 Bisected] Clock on boot Xen HVM guest starts at 31/12/1999

2016-08-12 Thread Sander Eikelenboom
Friday, August 12, 2016, 7:29:37 PM, you wrote: > Hi, > On 12/08/2016 at 19:23:36 +0200, Sander Eikelenboom wrote : >> L.S., >> >> I'm seeing an issue when using a Linux 4.8-rc1 kernel in a Xen HVM guest (PV >> guests and dom0 are uneffected). The clock is a

[Linux 4.8-rc1 Bisected] Clock on boot Xen HVM guest starts at 31/12/1999

2016-08-12 Thread Sander Eikelenboom
char/genrtc: x86: remove remnants of asm/rtc.h -- Sander

Re: [PATCH v2] dts: add specific compatible type for Terasic DE0-NANO-SoC Board

2016-02-25 Thread Tim Sander
Hi Dinh On Thursday 25 February 2016 10:56:28 Dinh Nguyen wrote: > On 02/25/2016 04:38 AM, Steffen Trumtrar wrote: > > Hi Tim! > > > > On Thu, Feb 25, 2016 at 11:05:05AM +0100, Tim Sander wrote: > >> From: Tim Sander > >> > >> Add a more speci

[PATCH v2] dts: add specific compatible type for Terasic DE0-NANO-SoC Board

2016-02-25 Thread Tim Sander
From: Tim Sander Add a more specific compatible string:"terasic,de0-nano-soc" for respective board. Background: when checking for bootspec entries, some board specific fixups are not apropriate for board of the same platform ("altr,socfpga-cyclone5"). The same aproach i

Bisect results for 4.4.1-rt[4,5]

2016-02-17 Thread Tim Sander
Hi Sebastian Am Freitag, 12. Februar 2016, 10:07:59 schrieben Sie: ... > What about rt4? It is only the stable update so you should see here the > numbers from rt3. If that is true and your numbers are stable it should > be easy to run git bisect between rt4 and rt5. And looking at > https://git

Re: [ANNOUNCE] 4.1.5-rt5 meant to reply to 4.4.1-rt5

2016-02-12 Thread Tim Sander
Hi Sebastian As you got correctly i was talking about 4.4.1-rt5 and not 4.1 i replied to by accident. Am Freitag, 12. Februar 2016, 10:07:59 schrieb Sebastian Andrzej Siewior: > On 02/12/2016 09:28 AM, Tim Sander wrote: > > Hi Sebastian > > Hi Tim, > > > Am Sonntag, 1

[PATCH] dts: add specific compatible type for Terasic DE0-NANO-SoC Board

2016-02-12 Thread Tim Sander
From: Tim Sander Add a more specific compatible string:"terasic,de0-nano-soc" for respective board. Background: when checking for bootspec entries, some board specific fixups are not apropriate for board of the same platform ("altr,s

Re: [ANNOUNCE] 4.1.5-rt5

2016-02-12 Thread Tim Sander
istogram Overflows: 0 0 # Histogram Overflow at cycle number: # Thread 0: # Thread 1: sander@dabox:~/work/cp52-firmware$ cat 4.4-rt2_latency_1000_hackbench.txt #cyclictest -l10 -m -Sp99 -i200 -h400 -q # /dev/cpu_dma_latency set to 0us # Histogram 00 00 00 01 00

Re: [ANNOUNCE] 4.4-rc6-rt1

2016-01-07 Thread Tim Sander
ry no photos, no special blinking. Best regards Tim Signed-off-by: Tim Sander --- linux-4.4-rc6/

[PATCH] PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI Express

2016-01-04 Thread Tim Sander
Hi Please consider this patch for the next release. It won't recognize my Plextor M6e PCIE disk without it. Please cc as i am not on the list. Signed-off-by: Tim Sander PCI: Add quirk for Lite-On IT Corp. / Plextor M6e PCI Express SSD [Marvell 88SS9183] (rev 14) --- drivers/pci/qui

Re: nf_unregister_net_hook: hook not found!

2015-12-30 Thread Sander Eikelenboom
On 2015-12-30 03:39, ebied...@xmission.com wrote: Pablo Neira Ayuso writes: On Mon, Dec 28, 2015 at 09:05:03PM +0100, Sander Eikelenboom wrote: Hi, Running a 4.4.0-rc6 kernel i encountered the warning below. Cc'ing Eric Biederman. @Sander, could you provide a way to reproduce this

nf_unregister_net_hook: hook not found!

2015-12-28 Thread Sander Eikelenboom
Hi, Running a 4.4.0-rc6 kernel i encountered the warning below. -- Sander [ 13.740472] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.936237] iwlwifi :03:00.0: L1 Enabled - LTR Disabled [ 13.945391] iwlwifi :03:00.0: L1 Enabled - LTR Disabled [ 13.947434] iwlwifi :03

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu

2015-12-14 Thread Sander Eikelenboom
It hasn't been picked up yet, but hopefully will be anytime soon (for the patch see http://lkml.iu.edu/hypermail/linux/kernel/1512.1/03504.html) -- Sander On 2015-12-02 18:30, Sander Eikelenboom wrote: On 2015-12-02 15:55, David Vrabel wrote: > On 28/11/15 15:47, Sander Eikelenboom

Re: [Xen-devel] [PATCH] x86: Xen PV guests don't have the rtc_cmos platform device

2015-12-09 Thread Sander Eikelenboom
to 2015-12-09 08:43:48 UTC (1449650628) and /dev/rtc and /dev/rtc0 both exist. But i don't know the nitty gritty details about why ... -- Sander -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-12-02 Thread Sander Eikelenboom
On 2015-12-02 15:55, David Vrabel wrote: On 28/11/15 15:47, Sander Eikelenboom wrote: genirq: Flags mismatch irq 8. (hvc_console) vs. (rtc0) We shouldn't register an rtc_cmos device because its legacy irq conflicts with the irq needed for hvc0. For a multi VCPU guest

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-12-02 Thread Sander Eikelenboom
On 2015-12-02 00:41, Boris Ostrovsky wrote: On 12/01/2015 06:30 PM, Sander Eikelenboom wrote: On 2015-12-02 00:19, Boris Ostrovsky wrote: On 12/01/2015 06:00 PM, Sander Eikelenboom wrote: On 2015-12-01 23:47, Boris Ostrovsky wrote: On 11/30/2015 05:55 PM, Sander Eikelenboom wrote: On 2015

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-12-01 Thread Sander Eikelenboom
On 2015-12-02 00:41, Boris Ostrovsky wrote: On 12/01/2015 06:30 PM, Sander Eikelenboom wrote: On 2015-12-02 00:19, Boris Ostrovsky wrote: On 12/01/2015 06:00 PM, Sander Eikelenboom wrote: On 2015-12-01 23:47, Boris Ostrovsky wrote: On 11/30/2015 05:55 PM, Sander Eikelenboom wrote: On 2015

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-12-01 Thread Sander Eikelenboom
On 2015-12-02 00:19, Boris Ostrovsky wrote: On 12/01/2015 06:00 PM, Sander Eikelenboom wrote: On 2015-12-01 23:47, Boris Ostrovsky wrote: On 11/30/2015 05:55 PM, Sander Eikelenboom wrote: On 2015-11-30 23:54, Boris Ostrovsky wrote: On 11/30/2015 04:46 PM, Sander Eikelenboom wrote: On 2015

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-12-01 Thread Sander Eikelenboom
On 2015-12-01 23:47, Boris Ostrovsky wrote: On 11/30/2015 05:55 PM, Sander Eikelenboom wrote: On 2015-11-30 23:54, Boris Ostrovsky wrote: On 11/30/2015 04:46 PM, Sander Eikelenboom wrote: On 2015-11-30 22:45, Konrad Rzeszutek Wilk wrote: On Sat, Nov 28, 2015 at 04:47:43PM +0100, Sander

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-12-01 Thread Sander Eikelenboom
On 2015-11-30 23:54, Boris Ostrovsky wrote: On 11/30/2015 04:46 PM, Sander Eikelenboom wrote: On 2015-11-30 22:45, Konrad Rzeszutek Wilk wrote: On Sat, Nov 28, 2015 at 04:47:43PM +0100, Sander Eikelenboom wrote: Hi all, I have just tested a 4.4-rc2 kernel (current linus tree) + the tip tree

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-11-30 Thread Sander Eikelenboom
On 2015-11-30 23:54, Boris Ostrovsky wrote: On 11/30/2015 04:46 PM, Sander Eikelenboom wrote: On 2015-11-30 22:45, Konrad Rzeszutek Wilk wrote: On Sat, Nov 28, 2015 at 04:47:43PM +0100, Sander Eikelenboom wrote: Hi all, I have just tested a 4.4-rc2 kernel (current linus tree) + the tip tree

Re: [linux-4.4-mw] Regression: cx25821: Oops: no 32bit PCI DMA

2015-11-15 Thread Sander Eikelenboom
On 2015-11-15 13:56, Christoph Hellwig wrote: Hi Saner, this is my fault. Please see the patch which I already sent out to Andrew and lkml. Hi Christoph, Thanks for the pointer, just tested and it works fine again. -- Sander -- To unsubscribe from this list: send the line "unsubs

Re: [Xen-devel] Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-05 Thread Sander Eikelenboom
Thursday, November 5, 2015, 2:53:40 PM, you wrote: > On 11/05/2015 04:13 AM, Sander Eikelenboom wrote: >> >> It makes "cat /sys/kernel/debug/kernel_page_tables" work and >> prevents a kernel with CONFIG_DEBUG_WX=y from crashing at boot. > Great. Our nightly run

Re: [Xen-devel] Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-05 Thread Sander Eikelenboom
On 2015-11-05 00:13, Boris Ostrovsky wrote: On 11/04/2015 03:02 PM, Sander Eikelenboom wrote: On 2015-11-04 19:47, Stephen Smalley wrote: On 11/04/2015 01:28 PM, Sander Eikelenboom wrote: On 2015-11-04 16:52, Stephen Smalley wrote: On 11/04/2015 06:55 AM, Sander Eikelenboom wrote: Hi All

Re: Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-04 Thread Sander Eikelenboom
On 2015-11-04 19:47, Stephen Smalley wrote: On 11/04/2015 01:28 PM, Sander Eikelenboom wrote: On 2015-11-04 16:52, Stephen Smalley wrote: On 11/04/2015 06:55 AM, Sander Eikelenboom wrote: Hi All, I just tried to boot with the current linus mergewindow tree under Xen. It fails with a kernel

Re: Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-04 Thread Sander Eikelenboom
On 2015-11-04 16:52, Stephen Smalley wrote: On 11/04/2015 06:55 AM, Sander Eikelenboom wrote: Hi All, I just tried to boot with the current linus mergewindow tree under Xen. It fails with a kernel panic at boot with the new "CONFIG_DEBUG_WX" option enabled. Disabling it makes the k

  1   2   3   4   >