FreeBSD on Layerscape/QorIQ LX2160X
greg at unrelenting.technology
greg at unrelenting.technology
Thu Jun 4 16:39:01 UTC 2020
June 4, 2020 2:40 PM, "Dan Kotowski" <dan.kotowski at a9development.com> wrote:
>> https://send.firefox.com/download/ae38fa35246497c1/#AVSGMsnrM0YB2MSL7rRJRQ
>>
>> - customized pcie driver
>>
>> - https://reviews.freebsd.org/D25121
>> - more interrupt debugging (stray interrupts, all GIC config writes)
>
> https://gist.github.com/agrajag9/484cdd9c340a15f88be0fabbe2cf9b09
>
> With NVMe attached it no longer panics, now it just hangs
>
> Loading mps still just loops
>
> And anything attached via AHCI is still MIA
Oops, I've been adding some debug prints to gicv2 not gicv3.
One thing I noticed is the interesting irq number the nvme admin queue gets..
it's the same as gic_nirqs.
gic0: SPIs: 288, IDs: 65535
nvme0: attempting to allocate 17 MSI-X vectors (33 supported)
nvme0: using IRQs 21-37 for MSI-X
acpi0: allocating via sysres: res 0xfffffd0000726280, start 21 + count 1 - 1 =? end 21
intr_setup_irq(): irq 288 add handler error 0 on nvme0
maybe that's just like.. the first ITS handled interrupt?
(funnily enough, NetBSD lists MSIs as IRQs starting from 8192)
More SATA debugging: https://send.firefox.com/download/9de5357a2e58edd9/#s9ZaU_k2NHlO-tLdyGk5iA
More information about the freebsd-arm
mailing list