[PATCH v3 16/25] KVM: TDX: Fold tdx_sept_zap_private_spte() into tdx_sept_remove_private_spte()
Huang, Kai
kai.huang at intel.com
Fri Oct 24 20:53:11 AEDT 2025
On Thu, 2025-10-16 at 17:32 -0700, Sean Christopherson wrote:
> Do TDH_MEM_RANGE_BLOCK directly in tdx_sept_remove_private_spte() instead
> of using a one-off helper now that the nr_premapped tracking is gone.
>
> Opportunistically drop the WARN on hugepages, which was dead code (see the
> KVM_BUG_ON() in tdx_sept_remove_private_spte()).
>
> No functional change intended.
>
> Reviewed-by: Rick Edgecombe <rick.p.edgecombe at intel.com>
> Signed-off-by: Sean Christopherson <seanjc at google.com>
>
Reviewed-by: Kai Huang <kai.huang at intel.com>
More information about the Linuxppc-dev
mailing list