Thread (178 messages) 178 messages, 11 authors, 2022-06-06

Re: [PATCH Part2 RFC v4 31/40] KVM: X86: update page-fault trace to log the 64-bit error code

From: Brijesh Singh <hidden>
Date: 2021-07-17 00:35:59
Also in: kvm, linux-coco, linux-efi, linux-mm, lkml, platform-driver-x86

On 7/16/21 3:25 PM, Sean Christopherson wrote:
On Wed, Jul 07, 2021, Brijesh Singh wrote:
quoted
The page-fault error code is a 64-bit value, but the trace prints only
It's worth clarifying that #NPT has a 64-bit error code, and so KVM also passes
around a 64-bit PFEC.  E.g. the above statement is wrong for legacy #PF.
quoted
the lower 32-bits. Some of the SEV-SNP RMP fault error codes are
available in the upper 32-bits.
Can you send this separately with Cc: stable@?  And I guess tweak the changelog
to replace "SEV-SNP RMP" with a reference to e.g. PFERR_GUEST_FINAL_MASK.  KVM
already has error codes that can set the upper bits.
Will do.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help