On 2/21/26 2:17 AM, Tao Tang wrote:
Add helper functions smmu_msi_supported() and smmu_gerror_irq_cfg_writable() to check accessibility of GERROR_IRQ_CFG registers. Reading returns RES0 when MSI is not supported. Writing is ignored when GERROR_IRQEN is set.Additionally, mask reserved bits on writes using SMMU_GERROR_IRQ_CFG0_RESERVED. Fixes: fae4be38b35d ("hw/arm/smmuv3: Implement MMIO write operations") Fixes: 10a83cb9887e ("hw/arm/smmuv3: Skeleton") Signed-off-by: Tao Tang <[email protected]> --- hw/arm/smmuv3.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-)
Reviewed-by: Pierrick Bouvier <[email protected]>
