Re: RockPro64 rkpcie not delivering interrupts

2021-11-21 Thread Christopher Zimmermann
Can you post a full dmesg for your RockPro64, and a pcidump -vxxx output of possible? ok. Here comes the dmesg and pcidump from the latest snapshot kernel (took about 45min to boot). OpenBSD 7.0 (GENERIC) #1280: Thu Sep 30 16:31:07 MDT 2021 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm6

Re: RockPro64 rkpcie not delivering interrupts

2021-11-20 Thread Christopher Zimmermann
On Sat, Nov 20, 2021 at 02:45:15PM +0100, Christopher Zimmermann wrote: On Sat, Nov 20, 2021 at 02:31:37PM +0100, Mark Kettenis wrote: Date: Fri, 19 Nov 2021 21:56:19 +0100 (CET) From: Mark Kettenis Date: Fri, 19 Nov 2021 21:36:55 +0100 From: Christopher Zimmermann It is about MSI. After di

Re: RockPro64 rkpcie not delivering interrupts

2021-11-20 Thread Christopher Zimmermann
On Sat, Nov 20, 2021 at 02:31:37PM +0100, Mark Kettenis wrote: Date: Fri, 19 Nov 2021 21:56:19 +0100 (CET) From: Mark Kettenis > Date: Fri, 19 Nov 2021 21:36:55 +0100 > From: Christopher Zimmermann > > It is about MSI. After disabling MSI interrupts are delivered, albeit > the performance seem

Re: RockPro64 rkpcie not delivering interrupts

2021-11-20 Thread Mark Kettenis
> Date: Fri, 19 Nov 2021 21:56:19 +0100 (CET) > From: Mark Kettenis > > > Date: Fri, 19 Nov 2021 21:36:55 +0100 > > From: Christopher Zimmermann > > > > It is about MSI. After disabling MSI interrupts are delivered, albeit > > the performance seems to be a bit poor (reading at a constant 8 MB/

Re: RockPro64 rkpcie not delivering interrupts

2021-11-19 Thread Mark Kettenis
> Date: Fri, 19 Nov 2021 21:36:55 +0100 > From: Christopher Zimmermann > > It is about MSI. After disabling MSI interrupts are delivered, albeit > the performance seems to be a bit poor (reading at a constant 8 MB/s on > a WD Red disk). > > Here's the dmesg with patched kernel - notice the int

Re: RockPro64 rkpcie not delivering interrupts

2021-11-19 Thread Christopher Zimmermann
It is about MSI. After disabling MSI interrupts are delivered, albeit the performance seems to be a bit poor (reading at a constant 8 MB/s on a WD Red disk). Here's the dmesg with patched kernel - notice the intx instead msi: ahci0 at pci1 dev 0 function 0 "JMicron JMB58x AHCI" rev 0x00: intx,

RockPro64 rkpcie not delivering interrupts

2021-11-19 Thread Christopher Zimmermann
Hi, I use a RockPro64 with a JMicron JMB582 AHCI/SATA interface card. The kernel does not seem to receive interrupts from the ahci card. Now I'm wondering where to look. Does the JMB58X need a special quirk or is something wrong with rkpcie ? Here is an excerpt from the dmesg. I added traces f