OSDN Git Service

hw/arm/smmuv3: Sort ID register setting into field order
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2023 14:57:04 +0000 (15:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Oct 2023 13:32:13 +0000 (14:32 +0100)
commit27fd85d35b7bb05a7b939bf36de33b6aa68005f6
treed3b1426b37545416f58c83d3738cd7e4c34cc37f
parentcbaf9404f031a39342dee4d3183488a763f149e4
hw/arm/smmuv3: Sort ID register setting into field order

In smmuv3_init_regs() when we set the various bits in the ID
registers, we do this almost in order of the fields in the
registers, but not quite. Move the initialization of
SMMU_IDR3.RIL and SMMU_IDR5.OAS into their correct places.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20230914145705.1648377-3-peter.maydell@linaro.org
hw/arm/smmuv3.c