]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: return page fault error code from permission_fault
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Mar 2016 09:08:16 +0000 (10:08 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Mar 2016 15:20:54 +0000 (16:20 +0100)
commitd6bb813b0f62ffde2b089dea639ac1a9e5fd86ff
tree927ee29f9622329b17a76c3b67d4007480197957
parentd9b53a63cc8de83109acbc61987ac50d85e7a4f5
KVM: MMU: return page fault error code from permission_fault

This will help in the implementation of PKRU, where the PK bit of the page
fault error code cannot be computed in advance (unlike I/D, R/W and U/S).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h
arch/x86/kvm/paging_tmpl.h