Skip to content

Commit 8daf1fb

Browse files
committed
tools headers kvm: Sync kvm.h headers with the kernel sources
To pick the changes in: 344c6c8 ("KVM/Hyper-V: Add new KVM capability KVM_CAP_HYPERV_DIRECT_TLBFLUSH") dee04ee ("KVM: RISC-V: Add KVM_REG_RISCV for ONE_REG interface") These trigger the rebuild of this object: CC /tmp/build/perf/trace/beauty/ioctl.o But do not result in any change in tooling, as the additions are not being used in any table generatator. This silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h' diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h Cc: Adrian Hunter <[email protected]> Cc: Anup Patel <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Tianyu Lan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 7cb3a24 commit 8daf1fb

File tree

1 file changed

+2
-0
lines changed
  • tools/include/uapi/linux

1 file changed

+2
-0
lines changed

tools/include/uapi/linux/kvm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,7 @@ struct kvm_ppc_resize_hpt {
999999
#define KVM_CAP_ARM_PTRAUTH_GENERIC 172
10001000
#define KVM_CAP_PMU_EVENT_FILTER 173
10011001
#define KVM_CAP_ARM_IRQ_LINE_LAYOUT_2 174
1002+
#define KVM_CAP_HYPERV_DIRECT_TLBFLUSH 175
10021003

10031004
#ifdef KVM_CAP_IRQ_ROUTING
10041005

@@ -1145,6 +1146,7 @@ struct kvm_dirty_tlb {
11451146
#define KVM_REG_S390 0x5000000000000000ULL
11461147
#define KVM_REG_ARM64 0x6000000000000000ULL
11471148
#define KVM_REG_MIPS 0x7000000000000000ULL
1149+
#define KVM_REG_RISCV 0x8000000000000000ULL
11481150

11491151
#define KVM_REG_SIZE_SHIFT 52
11501152
#define KVM_REG_SIZE_MASK 0x00f0000000000000ULL

0 commit comments

Comments
 (0)