All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add SMMUv3 Root registers
@ 2026-11-25 17:39 Jim MacArthur
  2026-11-25 17:39 ` [PATCH v2 1/2] hw/arm/smmuv3: define Root registers and x-root flag Jim MacArthur
  2026-11-25 17:39 ` [PATCH v2 2/2] hw/arm/sbsa-ref.c: Increase SMMU space for Root registers Jim MacArthur
  0 siblings, 2 replies; 4+ messages in thread
From: Jim MacArthur @ 2026-11-25 17:39 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eric Auger, Peter Maydell, qemu-arm, Leif Lindholm,
	Gustavo Romero, Pierrick Bouvier, Jim MacArthur, Pierrick Bouvier

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 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              |   3 +-
 hw/arm/smmuv3.c                | 241 ++++++++++++++++++++++++++++++++++++++++-
 include/hw/arm/smmuv3-common.h |  30 +++++
 include/hw/arm/smmuv3.h        |  14 +++
 4 files changed, 286 insertions(+), 2 deletions(-)
---
base-commit: 6bf90d4fc5027567cb704d7888f5ec792b4ed75a
change-id: 20261015-jmac-smmu-root-registers-dc4f1e2a63b5

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-26  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 17:39 [PATCH v2 0/2] Add SMMUv3 Root registers Jim MacArthur
2026-11-25 17:39 ` [PATCH v2 1/2] hw/arm/smmuv3: define Root registers and x-root flag Jim MacArthur
2026-11-25 17:39 ` [PATCH v2 2/2] hw/arm/sbsa-ref.c: Increase SMMU space for Root registers Jim MacArthur
2026-11-26  9:25   ` Jim MacArthur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.