summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-09-21 15:06:45 +0200
committerJiri Slaby <jslaby@suse.cz>2016-10-17 09:46:19 +0200
commit50b5e30e8111f88029dd0f6e922251f1839a1044 (patch)
tree376e0a02537dc368792010e27b64f70c98e67235 /scripts/basic
parentdc4a264e8c427223541d96130edc3f9103fbcd3f (diff)
downloadlwn-50b5e30e8111f88029dd0f6e922251f1839a1044.tar.gz
lwn-50b5e30e8111f88029dd0f6e922251f1839a1044.zip
KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register
commit fa73c3b25bd8d0d393dc6109a1dba3c2aef0451e upstream. The MMCR2 register is available twice, one time with number 785 (privileged access), and one time with number 769 (unprivileged, but it can be disabled completely). In former times, the Linux kernel was using the unprivileged register 769 only, but since commit 8dd75ccb571f3c92c ("powerpc: Use privileged SPR number for MMCR2"), it uses the privileged register 785 instead. The KVM-PR code then of course also switched to use the SPR 785, but this is causing older guest kernels to crash, since these kernels still access 769 instead. So to support older kernels with KVM-PR again, we have to support register 769 in KVM-PR, too. Fixes: 8dd75ccb571f3c92c48014b3dabd3d51a115ab41 Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions