diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-04-27 15:07:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-10 10:37:59 -0700 |
commit | 11ac9ad9ab48551a5bb17748d7e9d8676b28c692 (patch) | |
tree | 5ff0e5c97495f2561167945e3e93872a7ce07721 /arch/x86/kvm/lapic.c | |
parent | 38f69b4caebc05f39c8f27a7d84f4b283699f600 (diff) | |
download | lwn-11ac9ad9ab48551a5bb17748d7e9d8676b28c692.tar.gz lwn-11ac9ad9ab48551a5bb17748d7e9d8676b28c692.zip |
MIPS: Fix KVM guest fixmap address
commit 8e748c8d09a9314eedb5c6367d9acfaacddcdc88 upstream.
KVM guest kernels for trap & emulate run in user mode, with a modified
set of kernel memory segments. However the fixmap address is still in
the normal KSeg3 region at 0xfffe0000 regardless, causing problems when
cache alias handling makes use of them when handling copy on write.
Therefore define FIXADDR_TOP as 0x7ffe0000 in the guest kernel mapped
region when CONFIG_KVM_GUEST is defined.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9887/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
0 files changed, 0 insertions, 0 deletions