[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260107105222.GAaV465o3HUxGxBXGe@fat_crate.local>
Date: Wed, 7 Jan 2026 11:52:22 +0100
From: Borislav Petkov <bp@...en8.de>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...nel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the tip tree
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
Powered by blists - more mailing lists