Skip to contentSkip to conversation

tools: Sync kvm related header files for arm64 and s390

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Aug 16, 2016

lore
Share & tools
lore
#0 lore raw
Commit-ID:  9f3156903df3f7d9bba9acde810d78bca94305d5
Gitweb:     http://git.kernel.org/tip/9f3156903df3f7d9bba9acde810d78bca94305d5
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 15 Aug 2016 17:42:30 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 15 Aug 2016 18:11:17 -0300

tools: Sync kvm related header files for arm64 and s390

Quoted 1 line

From a quick look nothing stands out as requiring changes to kvm tools

such as tools/perf/arch/s390/util/kvm-stat.c.

Silences these header checking warnings:

  $ make -C tools/perf
  make: Entering directory '/home/acme/git/linux/tools/perf'
    BUILD:   Doing 'make -j4' parallel build
  Warning: tools/arch/s390/include/uapi/asm/kvm.h differs from kernel
  Warning: tools/arch/s390/include/uapi/asm/sie.h differs from kernel
  Warning: tools/arch/arm64/include/uapi/asm/kvm.h differs from kernel
  <SNIP>
Cc Adrian Hunter <[email protected]>
Cc Alexander Yarygin <[email protected]>
Cc David Ahern <[email protected]>
Cc Hemant Kumar <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Naveen N. Rao <[email protected]>
Cc Scott Wood <[email protected]>
Cc Srikar Dronamraju <[email protected]>
Cc Wang Nan <[email protected]>
---
 tools/arch/arm64/include/uapi/asm/kvm.h |  2 ++
 tools/arch/s390/include/uapi/asm/kvm.h  | 41 +++++++++++++++++++++++++++++++++
 tools/arch/s390/include/uapi/asm/sie.h  |  1 +
 3 files changed, 44 insertions(+)
tools/arch/arm64/include/uapi/asm/kvm.h +2 -0
index f209ea1..3051f86 100644
@@ -87,9 +87,11 @@ struct kvm_regs {
 /* Supported VGICv3 address types  */
 #define KVM_VGIC_V3_ADDR_TYPE_DIST	2
 #define KVM_VGIC_V3_ADDR_TYPE_REDIST	3
+#define KVM_VGIC_ITS_ADDR_TYPE		4
 
 #define KVM_VGIC_V3_DIST_SIZE		SZ_64K
 #define KVM_VGIC_V3_REDIST_SIZE		(2 * SZ_64K)
+#define KVM_VGIC_V3_ITS_SIZE		(2 * SZ_64K)
 
 #define KVM_ARM_VCPU_POWER_OFF		0 /* CPU is started in OFF state */
 #define KVM_ARM_VCPU_EL1_32BIT		1 /* CPU running a 32bit VM */
tools/arch/s390/include/uapi/asm/kvm.h +41 -0

47 lines not on this page · raw message

tools/arch/s390/include/uapi/asm/sie.h +1 -0
index 8fb5d4a..3ac6343 100644
@@ -140,6 +140,7 @@
 	exit_code_ipa0(0xB2, 0x4c, "TAR"),	\
 	exit_code_ipa0(0xB2, 0x50, "CSP"),	\
 	exit_code_ipa0(0xB2, 0x54, "MVPG"),	\
+	exit_code_ipa0(0xB2, 0x56, "STHYI"),	\
 	exit_code_ipa0(0xB2, 0x58, "BSG"),	\
 	exit_code_ipa0(0xB2, 0x5a, "BSA"),	\
 	exit_code_ipa0(0xB2, 0x5f, "CHSC"),	\