diff options
| author | James Hogan <[email protected]> | 2016-08-01 08:07:52 +0000 |
|---|---|---|
| committer | James Hogan <[email protected]> | 2016-09-08 17:29:39 +0000 |
| commit | f6f7017192ad62669dc8aa4cb33e5f5a0ecd2d81 (patch) | |
| tree | f722f2e018aa2e32ea6850bf55076f8f0fca7dd9 /drivers/net/xen-netback/interface.c | |
| parent | Linux 4.8-rc3 (diff) | |
| download | kernel-f6f7017192ad62669dc8aa4cb33e5f5a0ecd2d81.tar.gz kernel-f6f7017192ad62669dc8aa4cb33e5f5a0ecd2d81.zip | |
KVM: MIPS: Override HVA error values for EVA
MIPS Enhanced Virtual Addressing (EVA) allows the user mode and kernel
mode address spaces to overlap, breaking the assumption that PAGE_OFFSET
is an appropriate KVM HVA error value, since PAGE_OFFSET may be as low
as zero.
Fix this in the same way that s390 does in commit bf640876e21f ("KVM:
s390: Make KVM_HVA_ERR_BAD usable on s390"), by overriding
KVM_HVA_ERR_[RO_]BAD and kvm_is_error_hva() in asm/kvm_host.h.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
