]> git.baikalelectronics.ru Git - kernel.git/commit
tools headers UAPI: Sync linux/kvm.h with the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 9 May 2021 12:39:02 +0000 (09:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Aug 2022 18:30:34 +0000 (15:30 -0300)
commit3f77435a7b6e27b2e078a0483bf8e3d34e0a085b
tree4d93a13febd7f8300f57baf0b7d8de4011520199
parent10548d6e0472cf8b85c7071ff2db6e1c33123756
tools headers UAPI: Sync linux/kvm.h with the kernel sources

To pick the changes in:

  b9688f618bf078bf ("RISC-V: KVM: Add extensible CSR emulation framework")
  1bc30d1d10cd2407 ("KVM: s390: resetting the Topology-Change-Report")
  3419432e6bb8ba95 ("KVM: stats: Fix value for KVM_STATS_UNIT_MAX for boolean stats")
  509c397cb4eaa20c ("kvm: stats: tell userspace which values are boolean")
  bf367b638a85c347 ("KVM: s390: add KVM_S390_ZPCI_OP to manage guest zPCI devices")
  0409f747ec5e9cd9 ("treewide: uapi: Replace zero-length arrays with flexible-array members")
  5466d0b84af17e24 ("KVM: x86/MMU: Allow NX huge pages to be disabled on a per-vm basis")
  8a906136587a84ac ("KVM: VMX: Enable Notify VM exit")
  ec135f68ccfef992 ("KVM: x86: Extend KVM_{G,S}ET_VCPU_EVENTS to support pending triple fault")
  b097d0370dba9f22 ("KVM: s390: Add KVM_CAP_S390_PROTECTED_DUMP")
  1734d45b7d1def49 ("KVM: s390: Add CPU dump functionality")
  38b562c402ef99a8 ("KVM: s390: Add configuration dump functionality")
  9e5ce2a51938be7b ("KVM: s390: pv: Add query dump information")
  a0b207d09ba3d15b ("KVM: s390: pv: Add query interface")
  46002036242eaa55 ("KVM, SEV: Add KVM_EXIT_SHUTDOWN metadata for SEV-ES")
  77d46e188a2d5319 ("KVM: x86: Accept KVM_[GS]ET_TSC_KHZ as a VM ioctl.")
  afa9e7746b269a07 ("KVM: x86/xen: Advertise and document KVM_XEN_HVM_CONFIG_EVTCHN_SEND")
  97d2fe77be44413b ("KVM: x86/xen: Support per-vCPU event channel upcall via local APIC")
  e260f5415a8dc432 ("KVM: x86/xen: Kernel acceleration for XENVER_version")
  2f593423623f6ea9 ("KVM: x86/xen: handle PV timers oneshot mode")
  41d2a20c71fbf9a7 ("KVM: x86/xen: Add KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID")
  a58e700e62958766 ("KVM: x86/xen: intercept EVTCHNOP_send from guests")
  890a51e80a94231a ("KVM: x86/xen: Support direct injection of event channel events")

That just rebuilds perf, as these patches add just an ioctl that is S390
specific and may clash with other arches, so are so far being excluded
in the harvester script:

  $ tools/perf/trace/beauty/kvm_ioctl.sh > before
  $ cp include/uapi/linux/kvm.h tools/include/uapi/linux/kvm.h
  $ tools/perf/trace/beauty/kvm_ioctl.sh > after
  $ diff -u before after
  $ grep 390 tools/perf/trace/beauty/kvm_ioctl.sh
   egrep -v " ((ARM|PPC|S390)_|[GS]ET_(DEBUGREGS|PIT2|XSAVE|TSC_KHZ)|CREATE_SPAPR_TCE_64)" | \
  $

This is also by now used by tools/testing/selftests/kvm/, a simple test
build succeeded.

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: Anup Patel <anup@brainfault.org>
Cc: Ben Gardon <bgardon@google.com>
Cc: Chenyi Qiang <chenyi.qiang@intel.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Cc: Janosch Frank <frankja@linux.ibm.com>
Cc: João Martins <joao.m.martins@oracle.com>
Cc: Matthew Rosato <mjrosato@linux.ibm.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Gonda <pgonda@google.com>
Cc: Pierre Morel <pmorel@linux.ibm.com>
Cc: Tao Xu <tao3.xu@intel.com>
Link: https://lore.kernel.org/lkml/YvzuryClcn%2FvA0Gn@kernel.org/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/kvm.h