Skip to content

Commit 32fdbd9

Browse files
committed
tools/headers: Pick up latest kernel ABIs
Sync KVM ABI additions and x86 CPU features additions - neither of which has any impact on the tooling build. Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 7959804 commit 32fdbd9

5 files changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ struct kvm_regs {
9191
#define KVM_VGIC_V3_ADDR_TYPE_DIST 2
9292
#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3
9393
#define KVM_VGIC_ITS_ADDR_TYPE 4
94+
#define KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION 5
9495

9596
#define KVM_VGIC_V3_DIST_SIZE SZ_64K
9697
#define KVM_VGIC_V3_REDIST_SIZE (2 * SZ_64K)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ struct kvm_regs {
9191
#define KVM_VGIC_V3_ADDR_TYPE_DIST 2
9292
#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3
9393
#define KVM_VGIC_ITS_ADDR_TYPE 4
94+
#define KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION 5
9495

9596
#define KVM_VGIC_V3_DIST_SIZE SZ_64K
9697
#define KVM_VGIC_V3_REDIST_SIZE (2 * SZ_64K)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ struct kvm_ppc_cpu_char {
633633
#define KVM_REG_PPC_PSSCR (KVM_REG_PPC | KVM_REG_SIZE_U64 | 0xbd)
634634

635635
#define KVM_REG_PPC_DEC_EXPIRY (KVM_REG_PPC | KVM_REG_SIZE_U64 | 0xbe)
636+
#define KVM_REG_PPC_ONLINE (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xbf)
636637

637638
/* Transactional Memory checkpointed state:
638639
* This is all GPRs, all VSX regs and a subset of SPRs

‎tools/arch/x86/include/asm/cpufeatures.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,9 @@
282282
#define X86_FEATURE_AMD_IBPB (13*32+12) /* "" Indirect Branch Prediction Barrier */
283283
#define X86_FEATURE_AMD_IBRS (13*32+14) /* "" Indirect Branch Restricted Speculation */
284284
#define X86_FEATURE_AMD_STIBP (13*32+15) /* "" Single Thread Indirect Branch Predictors */
285+
#define X86_FEATURE_AMD_SSBD (13*32+24) /* "" Speculative Store Bypass Disable */
285286
#define X86_FEATURE_VIRT_SSBD (13*32+25) /* Virtualized Speculative Store Bypass Disable */
287+
#define X86_FEATURE_AMD_SSB_NO (13*32+26) /* "" Speculative Store Bypass is fixed in hardware. */
286288

287289
/* Thermal and Power Management Leaf, CPUID level 0x00000006 (EAX), word 14 */
288290
#define X86_FEATURE_DTHERM (14*32+ 0) /* Digital Thermal Sensor */

‎tools/include/uapi/linux/kvm.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ struct kvm_ppc_resize_hpt {
948948
#define KVM_CAP_S390_BPB 152
949949
#define KVM_CAP_GET_MSR_FEATURES 153
950950
#define KVM_CAP_HYPERV_EVENTFD 154
951+
#define KVM_CAP_HYPERV_TLBFLUSH 155
951952

952953
#ifdef KVM_CAP_IRQ_ROUTING
953954

0 commit comments

Comments
 (0)