[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v2 1/5] [Placeholder] headers: Partial headers update for NV2 enabl
From: |
Eric Auger |
Subject: |
[RFC v2 1/5] [Placeholder] headers: Partial headers update for NV2 enablement |
Date: |
Fri, 9 Feb 2024 16:59:13 +0100 |
From: Haibo Xu <haibo.xu@linaro.org>
For now let's only import the pieces needed to run NV on KVM.
Later on this will be replaced by a standard and comprehensive
linux header update using scripts/update-linux-headers.sh.
For now the changes are taken from
https://github.com/eauger/linux/tree/nv-6.8-nv2-v11
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Haibo Xu <haibo.xu@linaro.org>
Signed-off-by: Miguel Luis <miguel.luis@oracle.com>
---
linux-headers/asm-arm64/kvm.h | 1 +
linux-headers/linux/kvm.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/linux-headers/asm-arm64/kvm.h b/linux-headers/asm-arm64/kvm.h
index c59ea55cd8..d46839f1d9 100644
--- a/linux-headers/asm-arm64/kvm.h
+++ b/linux-headers/asm-arm64/kvm.h
@@ -394,6 +394,7 @@ enum {
#define KVM_DEV_ARM_VGIC_GRP_CPU_SYSREGS 6
#define KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO 7
#define KVM_DEV_ARM_VGIC_GRP_ITS_REGS 8
+#define KVM_DEV_ARM_VGIC_GRP_MAINT_IRQ 9
#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT 10
#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_MASK \
(0x3fffffULL << KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT)
diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 549fea3a97..5af601d7b8 100644
--- a/linux-headers/linux/kvm.h
+++ b/linux-headers/linux/kvm.h
@@ -1197,6 +1197,7 @@ struct kvm_ppc_resize_hpt {
#define KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE 228
#define KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES 229
#define KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES 230
+#define KVM_CAP_ARM_EL2 231
#ifdef KVM_CAP_IRQ_ROUTING
--
2.41.0
- [RFC v2 0/5] ARM Nested Virt Support, Eric Auger, 2024/02/09
- [RFC v2 1/5] [Placeholder] headers: Partial headers update for NV2 enablement,
Eric Auger <=
- [RFC v2 2/5] hw/arm: Allow setting KVM vGIC maintenance IRQ, Eric Auger, 2024/02/09
- [RFC v2 3/5] target/arm/kvm: Add helper to detect EL2 when using KVM, Eric Auger, 2024/02/09
- [RFC v2 4/5] target/arm: Enable feature ARM_FEATURE_EL2 if EL2 is supported, Eric Auger, 2024/02/09
- [RFC v2 5/5] hw/arm/virt: Allow virt extensions with KVM, Eric Auger, 2024/02/09
- Re: [RFC v2 0/5] ARM Nested Virt Support, Peter Maydell, 2024/02/09