]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools kvm headers arm64: Update KVM header from the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Jun 2025 20:46:03 +0000 (17:46 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 16 Jun 2025 17:05:10 +0000 (14:05 -0300)
To pick the changes from:

  b7628c7973765c85 ("KVM: arm64: Allow userspace to limit the number of PMU counters for EL2 VMs")

That doesn't result in any changes in tooling (built on a Raspberry PI 5
running Debian GNU/Linux 12 (bookworm)), only addresses this perf build
warning:

Warning: Kernel ABI header differences:
  diff -u tools/arch/arm64/include/uapi/asm/kvm.h arch/arm64/include/uapi/asm/kvm.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/arch/arm64/include/uapi/asm/kvm.h

index af9d9acaf9975a88438286e0e06555d4d540348e..ed5f3892674c7df421265514ebdb1b23e12f3e14 100644 (file)
@@ -431,10 +431,11 @@ enum {
 
 /* Device Control API on vcpu fd */
 #define KVM_ARM_VCPU_PMU_V3_CTRL       0
-#define   KVM_ARM_VCPU_PMU_V3_IRQ      0
-#define   KVM_ARM_VCPU_PMU_V3_INIT     1
-#define   KVM_ARM_VCPU_PMU_V3_FILTER   2
-#define   KVM_ARM_VCPU_PMU_V3_SET_PMU  3
+#define   KVM_ARM_VCPU_PMU_V3_IRQ              0
+#define   KVM_ARM_VCPU_PMU_V3_INIT             1
+#define   KVM_ARM_VCPU_PMU_V3_FILTER           2
+#define   KVM_ARM_VCPU_PMU_V3_SET_PMU          3
+#define   KVM_ARM_VCPU_PMU_V3_SET_NR_COUNTERS  4
 #define KVM_ARM_VCPU_TIMER_CTRL                1
 #define   KVM_ARM_VCPU_TIMER_IRQ_VTIMER                0
 #define   KVM_ARM_VCPU_TIMER_IRQ_PTIMER                1