Skip to content

Commit 23db762

Browse files
committed
tools headers kvm s390: Sync headers with the kernel sources
To pick the changes in: 23a60f8 ("s390/kvm: diagnose 0x318 sync and reset") None of them trigger any changes in tooling, this time this is just to silence these perf build warnings: Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/kvm.h' differs from latest version at 'arch/s390/include/uapi/asm/kvm.h' diff -u tools/arch/s390/include/uapi/asm/kvm.h arch/s390/include/uapi/asm/kvm.h Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Christian Borntraeger <borntraeger@de.ibm.com> Cc: Collin Walling <walling@linux.ibm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent f3cf7fa commit 23db762

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • tools/arch/s390/include/uapi/asm

‎tools/arch/s390/include/uapi/asm/kvm.h‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,13 @@ struct kvm_guest_debug_arch {
231231
#define KVM_SYNC_GSCB (1UL << 9)
232232
#define KVM_SYNC_BPBC (1UL << 10)
233233
#define KVM_SYNC_ETOKEN (1UL << 11)
234+
#define KVM_SYNC_DIAG318 (1UL << 12)
234235

235236
#define KVM_SYNC_S390_VALID_FIELDS \
236237
(KVM_SYNC_PREFIX | KVM_SYNC_GPRS | KVM_SYNC_ACRS | KVM_SYNC_CRS | \
237238
KVM_SYNC_ARCH0 | KVM_SYNC_PFAULT | KVM_SYNC_VRS | KVM_SYNC_RICCB | \
238-
KVM_SYNC_FPRS | KVM_SYNC_GSCB | KVM_SYNC_BPBC | KVM_SYNC_ETOKEN)
239+
KVM_SYNC_FPRS | KVM_SYNC_GSCB | KVM_SYNC_BPBC | KVM_SYNC_ETOKEN | \
240+
KVM_SYNC_DIAG318)
239241

240242
/* length and alignment of the sdnx as a power of two */
241243
#define SDNXC 8
@@ -264,7 +266,8 @@ struct kvm_sync_regs {
264266
__u8 reserved2 : 7;
265267
__u8 padding1[51]; /* riccb needs to be 64byte aligned */
266268
__u8 riccb[64]; /* runtime instrumentation controls block */
267-
__u8 padding2[192]; /* sdnx needs to be 256byte aligned */
269+
__u64 diag318; /* diagnose 0x318 info */
270+
__u8 padding2[184]; /* sdnx needs to be 256byte aligned */
268271
union {
269272
__u8 sdnx[SDNXL]; /* state description annex */
270273
struct {

0 commit comments

Comments
 (0)