mbox series

[PATCH/RFC,00/09] IPMMU address translation enablement prototype

Message ID 155067454871.15971.12157033067057246708.sendpatchset@octo (mailing list archive)
Headers show
Series IPMMU address translation enablement prototype | expand

Message

Magnus Damm Feb. 20, 2019, 2:55 p.m. UTC
IPMMU address translation enablement prototype

[PATCH/RFC 01/09] iommu/ipmmu-vmsa: Disable IPMMU when address expansion is not needed
[PATCH/RFC 02/09] iommu/ipmmu-vmsa: Display system memory informationn during boot
[PATCH/RFC 03/09] iommu/ipmmu-vmsa: Introduce keepipmmu boot parameter
[PATCH/RFC 04/09] arm64: dts: renesas: ulcb: Introduce keepipmmu boot parameter
[PATCH/RFC 05/09] arm64: dts: renesas: salvator: Introduce keepipmmu boot parameter
[PATCH/RFC 06/09] arm64: dts: renesas: draak: Introduce keepipmmu boot parameter
[PATCH/RFC 07/09] arm64: dts: renesas: ebisu: Introduce keepipmmu boot parameter
[PATCH/RFC 08/09] arm64: dts: renesas: eagle: Introduce keepipmmu boot parameter
[PATCH/RFC 09/09] arm64: dts: renesas: cat874: Introduce keepipmmu boot parameter

These patches experiment with runtime detection of system memory amount
and location to check if all memory exists within 32 bits physical address
space or not. In case all memory exists within 32 bits then we can assume
address expansion via IPMMU will not be required so the white list code
will simply ignore enablement of IPMMU devices on systems with smaller
amounts of system memory.

Not intended for upstream merge however patch 1/9 might be not so far off.

Not-Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Developed on top of next-20190215

 arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts  |    2 -
 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts   |    2 -
 arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts   |    2 -
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts   |    2 -
 arch/arm64/boot/dts/renesas/salvator-common.dtsi |    2 -
 arch/arm64/boot/dts/renesas/ulcb.dtsi            |    2 -
 drivers/iommu/ipmmu-vmsa.c                       |   29 +++++++++++++++++++++-
 7 files changed, 34 insertions(+), 7 deletions(-)