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:40:22 -0700 |
commit | ce2eb12c5858e7d67a4e22188734e0136c311d8e (patch) | |
tree | f3aa27855d72e1f2257fd282902d3dfd76d772b7 /crypto/chainiv.c | |
parent | dc86cafe9a0c6d10c2e1a7c6d6e3ff1c98b65edc (diff) |
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 'crypto/chainiv.c')
0 files changed, 0 insertions, 0 deletions