[PATCH 0/3] Fix NVMe, not only on Raspberry Pi 5

Peter Robinson pbrobinson at gmail.com
Sat May 9 17:31:04 CEST 2026


On Fri, 8 May 2026 at 16:41, Torsten Duwe <duwe at lst.de> wrote:
>
> Hi all,
>
> This simple quick fix has now turned into a small series. It contains
> the required changes to translate inbound access addresses, with the
> handling of dynamically found devices going into its own patch, content
> as suggested by Neil. While at it, I also added the NVMe enablement for
> raspberries. It might already work on RPi4 setups (to be tested). RPi5
> OTOH will require the other series to enable PCIe on the bcm2712.
>
> Changes from the single patch:
>   - the ternary in the macro is gone, explanation updated accordingly
>   - instead, device_get_dma_constraints is enhanced to try harder
>   - Raspberry Pi NVMe config added

This overall works for me, with the minor nit on patch 3, I tested it
on a RPi400 booted from USB, a CM4 with NVME and a couple of RPi5 with
NVME drives. I'd like to get Neil's review on it too.

> Torsten Duwe (3):
>   Skip parent device nodes without a DT reference when looking for
>     dma-ranges
>   Fix missing address translation for PCIe inbound access
>   rpi: enable NVMe
>
>  configs/rpi_arm64_defconfig |  1 +
>  drivers/core/device.c       | 14 +++++++++++++-
>  drivers/nvme/nvme.c         | 34 +++++++++++++++++++++-------------
>  3 files changed, 35 insertions(+), 14 deletions(-)
>
> --
> 2.54.0
>


More information about the U-Boot mailing list