Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/include/asm/coco.h between commit: e45964771007 ("x86/coco: Define cc_vendor without CONFIG_ARCH_HAS_CC_PLATFORM") from Linus' tree and commit: 1c811d403afd ("x86/sev: Fix position dependent variable references in startup code") from the tip 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. -- Cheers, Stephen Rothwell diff --cc arch/x86/include/asm/coco.h index 76c310b19b11,21940ef8d290..000000000000 --- a/arch/x86/include/asm/coco.h +++ b/arch/x86/include/asm/coco.h @@@ -10,9 -11,15 +11,15 @@@ enum cc_vendor CC_VENDOR_INTEL, }; -extern enum cc_vendor cc_vendor; + extern u64 cc_mask; + #ifdef CONFIG_ARCH_HAS_CC_PLATFORM +extern enum cc_vendor cc_vendor; - void cc_set_mask(u64 mask); + static inline void cc_set_mask(u64 mask) + { + RIP_REL_REF(cc_mask) = mask; + } + u64 cc_mkenc(u64 val); u64 cc_mkdec(u64 val); #else