Skip to contentSkip to conversation

linux-next: manual merge of the kvm-x86 tree with the tip tree

PATCH Mark Brown 1 participant 1 message May 18

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

Today's linux-next merge of the kvm-x86 tree got a conflict in:

arch/x86/include/asm/tdx.h

between commit:

b7d2173946efa ("x86/virt/tdx: Add SEAMCALL wrapper for TDH.SYS.DISABLE")

from the tip tree and commit:

4487492b92a4f ("x86/tdx: Use pg_level in TDX APIs, not the TDX-Module's 0-based level")

from the kvm-x86 tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

arch/x86/include/asm/tdx.h +0 -0
diff --cc arch/x86/include/asm/tdx.h
index 15eac89b0afbe,c140ddde59ffe..0000000000000
@@@ -187,14 -187,6 +187,8 @@@ static inline u64 mk_keyed_paddr(u16 hk
  	return ret;
  }
  
- static inline int pg_level_to_tdx_sept_level(enum pg_level level)
- {
-         WARN_ON_ONCE(level == PG_LEVEL_NONE);
-         return level - 1;
- }
- 
 +void tdx_sys_disable(void);
 +
  u64 tdh_vp_enter(struct tdx_vp *vp, struct tdx_module_args *args);
  u64 tdh_mng_addcx(struct tdx_td *td, struct page *tdcs_page);
  u64 tdh_mem_page_add(struct tdx_td *td, u64 gpa, struct page *page, struct page *source, u64 *ext_err1, u64 *ext_err2);