Hi All,

Please, ignore this submission.
It was sent incomplete, by mistake.
Sorry for that.

On 07.11.25 17:04, Grygorii Strashko wrote:
From: Grygorii Strashko <[email protected]>

The cache disable mode code (hvm_shadow_handle_cd()) is relevant only for Intel 
VT-x (VMX),
hence:
- move hvm_shadow_handle_cd()/ hvm_set_uc_mode()/domain_exit_uc_mode() in VMX 
code
- account for SHADOW_PAGING when use hvm_shadow_handle_cd()
- move cache disable mode data into VMX specific structures

Based on discussion [1].

[1] 
https://patchwork.kernel.org/project/xen-devel/patch/[email protected]/

v1: 
https://patchwork.kernel.org/project/xen-devel/cover/[email protected]/

Grygorii Strashko (3):
   x86/hvm: move hvm_shadow_handle_cd() to vmx code
   x86/hvm: vmx: account for SHADOW_PAGING when use
     hvm_shadow_handle_cd()
   x86/hvm: vmx: refactor cache disable mode data

  xen/arch/x86/hvm/hvm.c                  | 59 --------------------
  xen/arch/x86/hvm/vmx/vmx.c              | 73 +++++++++++++++++++++++--
  xen/arch/x86/include/asm/hvm/domain.h   |  6 --
  xen/arch/x86/include/asm/hvm/hvm.h      |  3 +
  xen/arch/x86/include/asm/hvm/support.h  |  2 -
  xen/arch/x86/include/asm/hvm/vcpu.h     |  3 -
  xen/arch/x86/include/asm/hvm/vmx/vmcs.h | 13 +++++
  xen/arch/x86/include/asm/mtrr.h         |  3 -
  xen/arch/x86/mm/shadow/multi.c          |  2 +-
  9 files changed, 85 insertions(+), 79 deletions(-)


--
Best regards,
-grygorii


Reply via email to