summaryrefslogtreecommitdiff
path: root/Documentation/kmemcheck.txt
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2016-03-05 19:34:39 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-16 08:42:58 -0700
commit1c463a390a89beb929ed2750c79d6eb6d06c7cdd (patch)
tree3b9d12f3d28a483dc7536570a08c3ec0b92ad201 /Documentation/kmemcheck.txt
parent78939530542f409efa9f6c2a34c8463ab745aa64 (diff)
KVM: PPC: Book3S HV: Sanitize special-purpose register values on guest exit
commit ccec44563b18a0ce90e2d4f332784b3cb25c8e9c upstream. Thomas Huth discovered that a guest could cause a hard hang of a host CPU by setting the Instruction Authority Mask Register (IAMR) to a suitable value. It turns out that this is because when the code was added to context-switch the new special-purpose registers (SPRs) that were added in POWER8, we forgot to add code to ensure that they were restored to a sane value on guest exit. This adds code to set those registers where a bad value could compromise the execution of the host kernel to a suitable neutral value on guest exit. Fixes: b005255e12a3 Reported-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/kmemcheck.txt')
0 files changed, 0 insertions, 0 deletions