mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] KVM: arm64: fix missing <asm/stackpage/nvhe.h> include
@ 2026-01-12 16:04 Ben Dooks
  2026-01-14 11:24 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2026-01-12 16:04 UTC (permalink / raw)
  To: kvmarm
  Cc: linux-arm-kernel, catalin.marinas, oupton, maz, linux-kernel, Ben Dooks

Include <asm/stackpage/nvhe.h> for kvm_arm_hyp_stack_base
declaration which fixes the following sparse warning:

arch/arm64/kvm/arm.c:63:1: warning: symbol 'kvm_arm_hyp_stack_base' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
 arch/arm64/kvm/arm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c
index 4f80da0c0d1d..b3543ad2eb44 100644
--- a/arch/arm64/kvm/arm.c
+++ b/arch/arm64/kvm/arm.c
@@ -40,6 +40,7 @@
 #include <asm/kvm_pkvm.h>
 #include <asm/kvm_ptrauth.h>
 #include <asm/sections.h>
+#include <asm/stacktrace/nvhe.h>
 
 #include <kvm/arm_hypercalls.h>
 #include <kvm/arm_pmu.h>
-- 
2.37.2.352.g3c44437643


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] KVM: arm64: fix missing <asm/stackpage/nvhe.h> include
  2026-01-12 16:04 [PATCH] KVM: arm64: fix missing <asm/stackpage/nvhe.h> include Ben Dooks
@ 2026-01-14 11:24 ` Marc Zyngier
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2026-01-14 11:24 UTC (permalink / raw)
  To: kvmarm, Ben Dooks; +Cc: linux-arm-kernel, catalin.marinas, oupton, linux-kernel

On Mon, 12 Jan 2026 16:04:13 +0000, Ben Dooks wrote:
> Include <asm/stackpage/nvhe.h> for kvm_arm_hyp_stack_base
> declaration which fixes the following sparse warning:
> 
> arch/arm64/kvm/arm.c:63:1: warning: symbol 'kvm_arm_hyp_stack_base' was not declared. Should it be static?
> 
> 

Applied to next, thanks!

[1/1] KVM: arm64: fix missing <asm/stackpage/nvhe.h> include
      commit: 4b16ad0bf821d4aceb050e9f569dc329883f1c5b

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-14 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-12 16:04 [PATCH] KVM: arm64: fix missing <asm/stackpage/nvhe.h> include Ben Dooks
2026-01-14 11:24 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®