aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLorenzo Pieralisi <[email protected]>2015-06-10 15:19:24 +0100
committerMarc Zyngier <[email protected]>2015-06-17 09:46:29 +0100
commite2d997366dc5b6c9d14035867f73957f93e7578c (patch)
tree08295bb14e5a7d86f51a8fe77c6981e8c9e32e92 /scripts/gdb/linux/utils.py
parent921ef1e16c762db13be740a35e691104d6740572 (diff)
ARM: kvm: psci: fix handling of unimplemented functions
According to the PSCI specification and the SMC/HVC calling convention, PSCI function_ids that are not implemented must return NOT_SUPPORTED as return value. Current KVM implementation takes an unhandled PSCI function_id as an error and injects an undefined instruction into the guest if PSCI implementation is called with a function_id that is not handled by the resident PSCI version (ie it is not implemented), which is not the behaviour expected by a guest when calling a PSCI function_id that is not implemented. This patch fixes this issue by returning NOT_SUPPORTED whenever the kvm PSCI call is executed for a function_id that is not implemented by the PSCI kvm layer. Cc: <[email protected]> # 3.18+ Cc: Christoffer Dall <[email protected]> Acked-by: Sudeep Holla <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions