Skip to content

Commit f1e30a4

Browse files
committed
tools kvm headers arm64: Update KVM header from the kernel sources
To pick the changes from: b7628c7 ("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 <[email protected]> Cc: Ian Rogers <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/ Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 3ce66a4 commit f1e30a4

File tree

1 file changed

+5
-4
lines changed
  • tools/arch/arm64/include/uapi/asm

1 file changed

+5
-4
lines changed

tools/arch/arm64/include/uapi/asm/kvm.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,11 @@ enum {
431431

432432
/* Device Control API on vcpu fd */
433433
#define KVM_ARM_VCPU_PMU_V3_CTRL 0
434-
#define KVM_ARM_VCPU_PMU_V3_IRQ 0
435-
#define KVM_ARM_VCPU_PMU_V3_INIT 1
436-
#define KVM_ARM_VCPU_PMU_V3_FILTER 2
437-
#define KVM_ARM_VCPU_PMU_V3_SET_PMU 3
434+
#define KVM_ARM_VCPU_PMU_V3_IRQ 0
435+
#define KVM_ARM_VCPU_PMU_V3_INIT 1
436+
#define KVM_ARM_VCPU_PMU_V3_FILTER 2
437+
#define KVM_ARM_VCPU_PMU_V3_SET_PMU 3
438+
#define KVM_ARM_VCPU_PMU_V3_SET_NR_COUNTERS 4
438439
#define KVM_ARM_VCPU_TIMER_CTRL 1
439440
#define KVM_ARM_VCPU_TIMER_IRQ_VTIMER 0
440441
#define KVM_ARM_VCPU_TIMER_IRQ_PTIMER 1

0 commit comments

Comments
 (0)