Skip to content
Commit b4aea36b authored by Mohan Kumar M's avatar Mohan Kumar M Committed by Paul Mackerras
Browse files

[POWERPC] Avoid hypervisor statistics calculation in real mode



kexec invokes plpar_hcall hypervisor call in real mode.  plpar_hcall
refers to per cpu variables for accounting hypervisor statistics.
These variables may not be in the RMO region, so accesses to them
in real mode may result in a data storage exception.

This fixes this problem by using a new plpar_hcall_raw function which
does not update the hypervisor call statistics.  Thanks to Anton for
suggesting this idea.

Signed-off-by: default avatarMohan Kumar M <mohan@in.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent f144e7c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment