[RFC PATCH v3 0/3] ARM: arbitrary virtual-physical mappings for RPi4 XHCI support

Marek Szyprowski m.szyprowski at samsung.com
Mon May 18 15:17:58 CEST 2020


Hi All,

This patchset add support for creating a mapping for the arbitrary
physical address at the given virtual address. This is needed to enable
support for XHCI USB controller on PCIe bridge on Raspberry Pi 4 board,
on which the USB controller's MMIO area 0x600000000 has to be remapped
somewhere to fit in 4GiB virtual address space when running in ARM 32bit
mode.

This patchset is a continuation of the Raspberry Pi 4 XHCI/PCIe patchset:
https://patchwork.ozlabs.org/project/uboot/list/?series=176453
and the following discussion:
https://lists.denx.de/pipermail/u-boot/2020-May/411086.html

Best regards
Marek Szyprowski
Samsung R&D Institute Poland


Changelog:

v3:
- fixed broken RPi3 and lack of the identity mapping for map_physmem
  (for example for the itest command was broken)
- added a patch fixing a new build warning

v2: https://lists.denx.de/pipermail/u-boot/2020-May/411765.html
- fixed ARM64 build

v1: https://lists.denx.de/pipermail/u-boot/2020-May/411765.html
- initial RFC


Patch summary:

Marek Szyprowski (2):
  arm: provide a function for boards init code to modify MMU
    virtual-physical map
  rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM
    32bit)

Seung-Woo Kim (1):
  mmc: bcm283x: fix int to pointer cast

 arch/arm/include/asm/mmu.h                |  8 ++++++++
 arch/arm/include/asm/system.h             | 11 +++++++++++
 arch/arm/lib/cache-cp15.c                 | 24 ++++++++++++++++++------
 arch/arm/mach-bcm283x/Kconfig             |  1 +
 arch/arm/mach-bcm283x/include/mach/base.h |  8 ++++++++
 arch/arm/mach-bcm283x/init.c              | 20 ++++++++++++++++++++
 drivers/mmc/bcm2835_sdhci.c               |  2 +-
 include/configs/rpi.h                     |  7 +++++++
 8 files changed, 74 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/include/asm/mmu.h

-- 
1.9.1



More information about the U-Boot mailing list