Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2020 21:37:26 +0000
From:      Dan Kotowski <dan.kotowski@a9development.com>
To:        "greg@unrelenting.technology" <greg@unrelenting.technology>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD on Layerscape/QorIQ LX2160X
Message-ID:  <X6Vv06P26Vw5_LcsszpoJBBekBEtVOPLYn9JD5u7GmGzmpL19PqD21yZAb4Nm5-HpelPppbh8LAV7Cs5Amefzsx_kjJsy8LrmHH9mSRxuCY=@a9development.com>
In-Reply-To: <5e1b4bfe845e62bbcd8b827fa37f2b98@unrelenting.technology>
References:  <ePx99n--NpqSdQxbdbM3B2qgpSXi0Gjvhspj566br-72pDug8bfXbCXAjnd68jPO2h1bWxkyPDpq5y2BzStbS38-MKkhwMzJI3uHhWcmP_g=@a9development.com> <b5105ce888b7a91eff50ec9118a910a8@unrelenting.technology> <8951311F-77F7-40B8-AEA0-F8CBCB1A05DE@yahoo.com> <4ad62e6669044f82e71a9d86fd493356@unrelenting.technology> <ShdSNL8XDgj0KtPR4v8nn1ohjVssrnoUQGwNL-gHOpylio7Eo5J_WjA2Ko9YjV5md64MeFz017Ts01KUnpJa3Xpw4y_PncL4e5cfUcotRWM=@a9development.com> <31D3FA64-8296-4CA5-92A2-F7FE7C4AE981@unrelenting.technology> <ZdPk7zJSE8UvoonkTixa2gV04ujgKfY93A71fz8cTB6ZPjt2uSCD5TdvFzDAEIR9Tu5LoGrcZLmXqgyrCmzh8OIB2JLc4gNKr6xF0pe931M=@a9development.com> <32d1c173d986884efb9b28932c0ead52@unrelenting.technology> <5e1b4bfe845e62bbcd8b827fa37f2b98@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 ge=
ts..
> 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 =3D? 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

https://gist.github.com/agrajag9/1aaf18f48ee883b917907dd417803711

We have SATA!

NVMe and mps still cause hangs, but progress is progress!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X6Vv06P26Vw5_LcsszpoJBBekBEtVOPLYn9JD5u7GmGzmpL19PqD21yZAb4Nm5-HpelPppbh8LAV7Cs5Amefzsx_kjJsy8LrmHH9mSRxuCY=>