Commit 7fe718f
committed
tools headers UAPI: Sync linux/kvm.h with the kernel sources
To pick the changes in:
bfbab44 ("KVM: arm64: Implement PSCI SYSTEM_SUSPEND")
7b33a09 ("KVM: arm64: Add support for userspace to suspend a vCPU")
ffbb61d ("KVM: x86: Accept KVM_[GS]ET_TSC_KHZ as a VM ioctl.")
661a20f ("KVM: x86/xen: Advertise and document KVM_XEN_HVM_CONFIG_EVTCHN_SEND")
fde0451 ("KVM: x86/xen: Support per-vCPU event channel upcall via local APIC")
28d1629 ("KVM: x86/xen: Kernel acceleration for XENVER_version")
5363952 ("KVM: x86/xen: handle PV timers oneshot mode")
942c249 ("KVM: x86/xen: Add KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID")
2fd6df2 ("KVM: x86/xen: intercept EVTCHNOP_send from guests")
3502573 ("KVM: x86/xen: Support direct injection of event channel events")
That automatically adds support for this new ioctl:
$ 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
--- before 2022-06-28 12:13:07.281150509 -0300
+++ after 2022-06-28 12:13:16.423392896 -0300
@@ -98,6 +98,7 @@
[0xcc] = "GET_SREGS2",
[0xcd] = "SET_SREGS2",
[0xce] = "GET_STATS_FD",
+ [0xd0] = "XEN_HVM_EVTCHN_SEND",
[0xe0] = "CREATE_DEVICE",
[0xe1] = "SET_DEVICE_ATTR",
[0xe2] = "GET_DEVICE_ATTR",
$
This silences these 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 <adrian.hunter@intel.com>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Joao Martins <joao.m.martins@oracle.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Oliver Upton <oupton@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: http://lore.kernel.org/lkml/Yrs4RE+qfgTaWdAt@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>1 parent 579d6c6 commit 7fe718f
1 file changed
Lines changed: 52 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
447 | 450 | | |
448 | 451 | | |
449 | 452 | | |
| |||
646 | 649 | | |
647 | 650 | | |
648 | 651 | | |
| 652 | + | |
649 | 653 | | |
650 | 654 | | |
651 | 655 | | |
| |||
1150 | 1154 | | |
1151 | 1155 | | |
1152 | 1156 | | |
1153 | | - | |
| 1157 | + | |
1154 | 1158 | | |
| 1159 | + | |
1155 | 1160 | | |
1156 | 1161 | | |
1157 | 1162 | | |
| |||
1240 | 1245 | | |
1241 | 1246 | | |
1242 | 1247 | | |
| 1248 | + | |
1243 | 1249 | | |
1244 | 1250 | | |
1245 | 1251 | | |
| |||
1478 | 1484 | | |
1479 | 1485 | | |
1480 | 1486 | | |
1481 | | - | |
| 1487 | + | |
| 1488 | + | |
1482 | 1489 | | |
1483 | 1490 | | |
1484 | 1491 | | |
| |||
1694 | 1701 | | |
1695 | 1702 | | |
1696 | 1703 | | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
1697 | 1730 | | |
1698 | 1731 | | |
1699 | 1732 | | |
| |||
1702 | 1735 | | |
1703 | 1736 | | |
1704 | 1737 | | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
1705 | 1741 | | |
1706 | 1742 | | |
1707 | 1743 | | |
1708 | 1744 | | |
1709 | 1745 | | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
1710 | 1749 | | |
1711 | 1750 | | |
1712 | 1751 | | |
| |||
1724 | 1763 | | |
1725 | 1764 | | |
1726 | 1765 | | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
1727 | 1773 | | |
1728 | 1774 | | |
1729 | 1775 | | |
| |||
1734 | 1780 | | |
1735 | 1781 | | |
1736 | 1782 | | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1737 | 1787 | | |
1738 | 1788 | | |
1739 | 1789 | | |
| |||
0 commit comments