[PATCH v3 0/2] Add SMMUv3 Root registers

Jim MacArthur posted 2 patches 1 day, 15 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261126-jmac-smmu-root-registers-v3-0-b46a8ac59b6d@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Leif Lindholm <leif.lindholm@oss.qualcomm.com>, Eric Auger <eric.auger@redhat.com>
hw/arm/sbsa-ref.c              |   4 +-
hw/arm/smmuv3.c                | 241 ++++++++++++++++++++++++++++++++++++++++-
include/hw/arm/smmuv3-common.h |  30 +++++
include/hw/arm/smmuv3.h        |  14 +++
4 files changed, 287 insertions(+), 2 deletions(-)
[PATCH v3 0/2] Add SMMUv3 Root registers
Posted by Jim MacArthur 1 day, 15 hours ago
This is preparatory work for further SMMUv3.3 features including RME-DA.
We are adding in patches originally authored by Pierrick Bouvier 
<pierrick.bouvier@linaro.org> and Gustavo Romero <gustavo.romero@linaro.org>
in a way that will avoid conflicts with Tao Tang's current SMMUv3 Secure
state patches. Since Root registers do not use the banking system, this
should only conflict around the offset check near smmu_write_mmio and
smmu_read_mmio.

Signed-off-by: Jim MacArthur <jim.macarthur@linaro.org>
---
Changes in v3:
- Added missing header to sbsa-ref.c.
- Link to v2: https://lore.kernel.org/qemu-devel/20261125-jmac-smmu-root-registers-v2-0-9ce0f6aa5097@linaro.org

Changes in v2:
- More named constants for SMMUv3 register layout.
- x-root flag for Root registers; off by default, forced on for sbsa-ref
  machine.
  This controls the allocation of the extra 64KB page for Root registers.
  (Thanks to gromero@redhat.com for the example code)
- Root registers are cleared on SMMU reset.
- smmu_read_mmio_root renamed to smmu_read_root, similar for write.
- A couple of other typos raised by the review of V1.
- Link to v1: https://lore.kernel.org/qemu-devel/20261016-jmac-smmu-root-registers-v1-0-e78e8879d347@linaro.org

---
Jim MacArthur (1):
      hw/arm/sbsa-ref.c: Increase SMMU space for Root registers

Pierrick Bouvier (1):
      hw/arm/smmuv3: define Root registers and x-root flag

 hw/arm/sbsa-ref.c              |   4 +-
 hw/arm/smmuv3.c                | 241 ++++++++++++++++++++++++++++++++++++++++-
 include/hw/arm/smmuv3-common.h |  30 +++++
 include/hw/arm/smmuv3.h        |  14 +++
 4 files changed, 287 insertions(+), 2 deletions(-)
---
base-commit: 9751c62358073580cbf330a4df22077a7c6a407c
change-id: 20261015-jmac-smmu-root-registers-dc4f1e2a63b5

Best regards,
--  
Jim MacArthur <jim.macarthur@linaro.org>