aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/.gitignore
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2021-12-02 17:10:47 +0000
committerMarc Zyngier <maz@kernel.org>2021-12-06 08:37:03 +0000
commited4ed15d571065eb66ea718d7f6050553586417d (patch)
tree433e41374a3f48e1ef18c7008337c930da99ad5e /arch/arm64/kvm/.gitignore
parentarm64: Add missing include of asm/cpufeature.h to asm/mmu.h (diff)
downloadlinux-dev-ed4ed15d571065eb66ea718d7f6050553586417d.tar.xz
linux-dev-ed4ed15d571065eb66ea718d7f6050553586417d.zip
KVM: arm64: Generate hyp_constants.h for the host
In order to avoid exposing hypervisor (EL2) data structures directly to the host, generate hyp_constants.h to provide constants such as structure sizes to the host without dragging in the definitions themselves. Signed-off-by: Will Deacon <will@kernel.org> Tested-by: Fuad Tabba <tabba@google.com> Reviewed-by: Fuad Tabba <tabba@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211202171048.26924-3-will@kernel.org
Diffstat (limited to 'arch/arm64/kvm/.gitignore')
-rw-r--r--arch/arm64/kvm/.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kvm/.gitignore b/arch/arm64/kvm/.gitignore
new file mode 100644
index 000000000000..6182aefb8302
--- /dev/null
+++ b/arch/arm64/kvm/.gitignore
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+hyp_constants.h