On 8/1/26 22:06, Pierrick Bouvier wrote:
On 1/8/26 1:04 PM, Pierrick Bouvier wrote:
This will be used to access non-secure and secure memory. Secure support
and Granule Protection Check (for RME) for SMMU need to access secure
memory.
As well, it allows to remove usage of global address_space_memory,
allowing different SMMU instances to have a specific view of memory.
User creatable SMMU are handled as well for virt machine,
by setting the memory properties when device is plugged in.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
---
include/hw/arm/smmu-common.h | 4 ++++
include/hw/arm/virt.h | 2 ++
hw/arm/sbsa-ref.c | 16 ++++++++++++----
hw/arm/smmu-common.c | 11 +++++++++++
hw/arm/virt.c | 13 +++++++++++--
5 files changed, 40 insertions(+), 6 deletions(-)
v5
--
- Use DEFINE_PROP_LINK to define properties for smmu.
Thanks!