summaryrefslogtreecommitdiffstats
path: root/StandaloneMmPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-05-13 18:43:11 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-05-24 15:48:52 +0000
commitc98f7f75508912c086158892fc56b0c3b85abcf1 (patch)
treedcf8ee3f141bbfb76a75c0b88d03e91b4b83e890 /StandaloneMmPkg
parent865229bcc8939c7a69d525f2b0627ef1532d5bc6 (diff)
downloadedk2-c98f7f75508912c086158892fc56b0c3b85abcf1.tar.gz
edk2-c98f7f75508912c086158892fc56b0c3b85abcf1.tar.bz2
edk2-c98f7f75508912c086158892fc56b0c3b85abcf1.zip
ArmVirtPkg: Use dynamic PCD to set the SMCCC conduit
On ARM systems, whether SMC or HVC instructions need to be used to issue monitor calls is typically dependent on the exception level, but there are also cases where EL1 might use SMC instructions, so there is no hard and fast rule. For ArmVirtQemu, this does depend strictly on the exception level, so set the default to HVC (for EL1 execution) and override it to SMC when booted at EL2. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Committed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Doug Flick [MSFT] <doug.edk2@gmail.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'StandaloneMmPkg')
0 files changed, 0 insertions, 0 deletions