aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2020-04-01 11:38:49 +0000
committerMarc Zyngier <[email protected]>2020-04-17 08:51:45 +0000
commitfdc9999e20cd038d9d5bf54496c1f0226bc2b64e (patch)
tree905fb6601f8580c9fc5434d81ffd3a766e03cba1 /tools/perf/scripts/python/stackcollapse.py
parentKVM: arm64: PSCI: Narrow input registers when using 32bit functions (diff)
downloadkernel-fdc9999e20cd038d9d5bf54496c1f0226bc2b64e.tar.gz
kernel-fdc9999e20cd038d9d5bf54496c1f0226bc2b64e.zip
KVM: arm64: PSCI: Forbid 64bit functions for 32bit guests
Implementing (and even advertising) 64bit PSCI functions to 32bit guests is at least a bit odd, if not altogether violating the spec which says ("5.2.1 Register usage in arguments and return values"): "Adherence to the SMC Calling Conventions implies that any AArch32 caller of an SMC64 function will get a return code of 0xFFFFFFFF(int32). This matches the NOT_SUPPORTED error code used in PSCI" Tighten the implementation by pretending these functions are not there for 32bit guests. Reviewed-by: Christoffer Dall <[email protected]> Reviewed-by: Alexandru Elisei <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions