]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
PPC: KVM: Make NX bit available with magic page
authorAlexander Graf <agraf@suse.de>
Sun, 11 May 2014 23:11:55 +0000 (01:11 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:25 +0000 (14:26 +0200)
commit5c165aeca3e357fbc9760e5f66b6de8ef994e3c7
tree31b2577ffb498b1884a79ab78268d7fbb903b3d6
parentf3383cf80e417e86fcc84a2eb4c96bc52842d8d9
PPC: KVM: Make NX bit available with magic page

Because old kernels enable the magic page and then choke on NXed trampoline
code we have to disable NX by default in KVM when we use the magic page.

However, since commit b18db0b8 we have successfully fixed that and can now
leave NX enabled, so tell the hypervisor about this.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kernel/kvm.c