Skip to content

Commit 9a38535

Browse files
committed
tooling headers: Synchronize updated s390 kvm UAPI headers
The 35b3fde ("KVM: s390: wire up bpb feature") was noticed by the perf build process: 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' The changes in this cset don't cause or require changes in tools/perf/, so just update the copy to silence the build warning. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Christian Borntraeger <borntraeger@de.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-kif2fdkcaewj8iqw6lwyil8s@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 6bc7626 commit 9a38535

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ struct kvm_guest_debug_arch {
224224
#define KVM_SYNC_RICCB (1UL << 7)
225225
#define KVM_SYNC_FPRS (1UL << 8)
226226
#define KVM_SYNC_GSCB (1UL << 9)
227+
#define KVM_SYNC_BPBC (1UL << 10)
227228
/* length and alignment of the sdnx as a power of two */
228229
#define SDNXC 8
229230
#define SDNXL (1UL << SDNXC)
@@ -247,7 +248,9 @@ struct kvm_sync_regs {
247248
};
248249
__u8 reserved[512]; /* for future vector expansion */
249250
__u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */
250-
__u8 padding1[52]; /* riccb needs to be 64byte aligned */
251+
__u8 bpbc : 1; /* bp mode */
252+
__u8 reserved2 : 7;
253+
__u8 padding1[51]; /* riccb needs to be 64byte aligned */
251254
__u8 riccb[64]; /* runtime instrumentation controls block */
252255
__u8 padding2[192]; /* sdnx needs to be 256byte aligned */
253256
union {

0 commit comments

Comments
 (0)