OSDN Git Service

KVM: x86: Use u64 for address and error code in page fault tracepoint
authorSean Christopherson <seanjc@google.com>
Tue, 30 Aug 2022 19:26:24 +0000 (12:26 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Sep 2022 16:02:31 +0000 (12:02 -0400)
commitbff0adc40c0050dbbcec74829ffa9ef5a5d29eba
tree6ddc380d35d87cf07dca566fed67e40522eee2a5
parentfaa03b39722a86e4b83e594151d1775875a0c7ca
KVM: x86: Use u64 for address and error code in page fault tracepoint

Track the address and error code as 64-bit values in the page fault
tracepoint.  When TDP is enabled, the address is a GPA and thus can be a
64-bit value even on 32-bit hosts.  And SVM's #NPF genereates 64-bit
error codes.

Opportunistically clean up the formatting.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/trace.h