Skip to content
Snippets Groups Projects
Commit 8cefcc3b authored by Mostafa Saleh's avatar Mostafa Saleh Committed by Peter Maydell
Browse files

hw/arm/smmuv3: Add knob to choose translation stage and enable stage-2


As everything is in place, we can use a new system property to
advertise which stage is supported and remove bad_ste from STE
stage2 config.

The property added arm-smmuv3.stage can have 3 values:
- "1": Stage-1 only is advertised.
- "2": Stage-2 only is advertised.

If not passed or an unsupported value is passed, it will default to
stage-1.

Advertise VMID16.

Don't try to decode CD, if stage-2 is configured.

Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
Signed-off-by: default avatarMostafa Saleh <smostafa@google.com>
Tested-by: default avatarEric Auger <eric.auger@redhat.com>
Tested-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Message-id: 20230516203327.2051088-11-smostafa@google.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 32bd7bae
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment