Re: linux-next: build failure after merge of the tip tree

From: Borislav Petkov

Date: Wed Jan 07 2026 - 05:52:50 EST


On Wed, Jan 07, 2026 at 02:47:53PM +1100, Stephen Rothwell wrote:
> So this still failed with yesterday's tip tree, so clearly there is
> some other change in today's linux-next that has exposed this.

Yes, because tip/master is fine. This is the usual include hell biting us.

> Instead of using the old version of the tip tree, I have just reverted this
> commit for today.

Ok, below is what fixes it. How do you want to handle this?

---
diff --git a/arch/x86/coco/sev/internal.h b/arch/x86/coco/sev/internal.h
index 039326b5c799..0df642c76626 100644
--- a/arch/x86/coco/sev/internal.h
+++ b/arch/x86/coco/sev/internal.h
@@ -2,6 +2,9 @@
#ifndef __X86_COCO_SEV_INTERNAL_H__
#define __X86_COCO_SEV_INTERNAL_H__

+#include <asm/percpu.h>
+#include <asm/msr.h>
+
#define DR7_RESET_VALUE 0x400

extern u64 sev_hv_features;
diff --git a/arch/x86/include/asm/sev.h b/arch/x86/include/asm/sev.h
index 0e6c0940100f..9cfbb27a7bab 100644
--- a/arch/x86/include/asm/sev.h
+++ b/arch/x86/include/asm/sev.h
@@ -16,6 +16,7 @@
#include <asm/coco.h>
#include <asm/set_memory.h>
#include <asm/svm.h>
+#include <asm/pgtable_types.h>

#define GHCB_PROTOCOL_MIN 1ULL
#define GHCB_PROTOCOL_MAX 2ULL


--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette