lkml.org 
[lkml]   [2024]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v11 06/35] KVM: x86/mmu: Pass around full 64-bit error code for KVM page faults
From
On Sat, Dec 30, 2023, Michael Roth wrote:
> In some cases the full 64-bit error code for the KVM page fault will be
> needed to determine things like whether or not a fault was for a private
> or shared guest page, so update related code to accept the full 64-bit
> value so it can be plumbed all the way through to where it is needed.
>
> The accessors of fault->error_code are changed as follows:
>
> - FNAME(page_fault): change to explicitly use lower_32_bits() since that
> is no longer done in kvm_mmu_page_fault()
> - kvm_mmu_page_fault(): explicit mask with PFERR_RSVD_MASK,
> PFERR_NESTED_GUEST_PAGE
> - mmutrace: changed u32 -> u64
>
> Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
> Link: https://lore.kernel.org/kvm/20230612042559.375660-1-michael.roth@amd.com/T/#mbd0b20c9a2cf50319d5d2a27b63f73c772112076
> [mdr: drop references/changes to code not in current gmem tree, update
> commit message]
> Signed-off-by: Michael Roth <michael.roth@amd.com>

I assume Isaku is the original author? If so, that's missing from this patch.

\
 
 \ /
  Last update: 2024-05-27 14:51    [W:0.486 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site