[PATCH 0/3] KVM: arm64: Keep hyp and host headers separate where possible

Marc Zyngier maz at kernel.org
Mon Dec 6 00:41:31 PST 2021


On Thu, 2 Dec 2021 17:10:45 +0000, Will Deacon wrote:
> This series tidies up the header file usage for the nvhe hyp object so
> that header files under arch/arm64/kvm/hyp/include are not included by
> host code running at EL1.
> 
> For definitions that are shared between the host and hypervisor, these
> are either moved to headers under arch/arm64/include/asm/ or are
> generated by kbuild along similar lines to asm-offsets.h. For now, this
> allows us to tidy up some of the pKVM reserved memory handling, but in
> future this will also allow the pKVM EL2 data structures to avoid
> polluting the host namespace.
> 
> [...]

Applied to next, thanks!

[1/3] arm64: Add missing include of asm/cpufeature.h to asm/mmu.h
      commit: 7e04f05984dd03edad7daaa4fa97958b7133c62a
[2/3] KVM: arm64: Generate hyp_constants.h for the host
      commit: ed4ed15d571065eb66ea718d7f6050553586417d
[3/3] KVM: arm64: Move host EL1 code out of hyp/ directory
      commit: 9429f4b0412d05243237c7695c59d0a7b1174492

Cheers,

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





More information about the linux-arm-kernel mailing list