diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-04-27 17:07:16 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-21 22:53:54 +0300 |
commit | 8e748c8d09a9314eedb5c6367d9acfaacddcdc88 (patch) | |
tree | 4b622ca0f406f46a50d2f02b7f71e3cef1de0855 /mm/util.c | |
parent | 24f2970fd32134ff8eb3387a54a1ef7ccac3f28f (diff) | |
download | linux-8e748c8d09a9314eedb5c6367d9acfaacddcdc88.tar.xz |
MIPS: Fix KVM guest fixmap address
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
Cc: <stable@vger.kernel.org> # v3.10+
Patchwork: https://patchwork.linux-mips.org/patch/9887/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions