linux-headers: update to 5.17
PATCH 1/1 linux-headers: update to 5.17
Signed-off-by Paolo Bonzini <[email protected]>
--- include/standard-headers/asm-x86/kvm_para.h | 1 + include/standard-headers/drm/drm_fourcc.h | 11 ++ include/standard-headers/linux/ethtool.h | 1 + include/standard-headers/linux/fuse.h | 60 +++++++- include/standard-headers/linux/pci_regs.h | 142 +++++++++--------- include/standard-headers/linux/virtio_iommu.h | 8 +- linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-mips/unistd_n32.h | 2 + linux-headers/asm-mips/unistd_n64.h | 2 + linux-headers/asm-mips/unistd_o32.h | 2 + linux-headers/asm-powerpc/unistd_32.h | 2 + linux-headers/asm-powerpc/unistd_64.h | 2 + linux-headers/asm-s390/unistd_32.h | 2 + linux-headers/asm-s390/unistd_64.h | 2 + linux-headers/asm-x86/kvm.h | 19 ++- linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 1 + linux-headers/linux/kvm.h | 18 +++ 19 files changed, 206 insertions(+), 76 deletions(-)
include/standard-headers/asm-x86/kvm_para.h +1 -0
@@ -8,6 +8,7 @@* should be used to determine that a VM is running under KVM. */ #define KVM_CPUID_SIGNATURE 0x40000000 +#define KVM_SIGNATURE "KVMKVMKVM\0\0\0"/* This CPUID returns two feature bitmaps in eax, edx. Before enabling * a particular paravirtualization, the appropriate feature bit should
include/standard-headers/drm/drm_fourcc.h +11 -0
@@ -313,6 +313,13 @@ extern "C" {*/ #define DRM_FORMAT_P016 fourcc_code('P', '0', '1', '6')/* 2x2 subsampled Cr:Cb plane 16 bits per channel */ +/* 2 plane YCbCr420. +* 3 10 bit components and 2 padding bits packed into 4 bytes. +* index 0 = Y plane, [31:0] x:Y2:Y1:Y0 2:10:10:10 little endian +* index 1 = Cr:Cb plane, [63:0] x:Cr2:Cb2:Cr1:x:Cb1:Cr0:Cb0 [2:10:10:10:2:10:10:10] little endian +*/ +#define DRM_FORMAT_P030 fourcc_code('P', '0', '3', '0')/* 2x2 subsampled Cr:Cb plane 10 bits per channel packed */ +/* 3 plane non-subsampled (444) YCbCr * 16 bits per component, but only 10 bits are used and 6 bits are padded * index 0: Y plane, [15:0] Y:x [10:6] little endian
@@ -853,6 +860,10 @@ drm_fourcc_canonicalize_nvidia_format_mod(uint64_t modifier)* and UV. Some SAND-using hardware stores UV in a separate tiled * image from Y to reduce the column height, which is not supported * with these modifiers. +* +* The DRM_FORMAT_MOD_BROADCOM_SAND128_COL_HEIGHT modifier is also +* supported for DRM_FORMAT_P030 where the columns remain as 128 bytes +* wide, but as this is a 10 bpp format that translates to 96 pixels. */ #define DRM_FORMAT_MOD_BROADCOM_SAND32_COL_HEIGHT (v) \
include/standard-headers/linux/ethtool.h +1 -0
@@ -231,6 +231,7 @@ enum tunable_id {ETHTOOL_RX_COPYBREAK ,ETHTOOL_TX_COPYBREAK ,ETHTOOL_PFC_PREVENTION_TOUT ,/* timeout in msecs */ +ETHTOOL_TX_COPYBREAK_BUF_SIZE ,/* * Add your fresh new tunable attribute above and remember to update * tunable_strings[] in net/ethtool/common.c
include/standard-headers/linux/fuse.h +56 -4
127 lines not on this page · raw message
include/standard-headers/linux/pci_regs.h +73 -69
368 lines not on this page · raw message
include/standard-headers/linux/virtio_iommu.h +7 -1
@@ -16,6 +16,7 @@#define VIRTIO_IOMMU_F_BYPASS 3#define VIRTIO_IOMMU_F_PROBE 4#define VIRTIO_IOMMU_F_MMIO 5 +#define VIRTIO_IOMMU_F_BYPASS_CONFIG 6struct virtio_iommu_range_64 {uint64_t start;
@@ -36,6 +37,8 @@ struct virtio_iommu_config {struct virtio_iommu_range_32 domain_range;/* Probe buffer size */ uint32_t probe_size; +uint8_t bypass; +uint8_t reserved[3 ]; };/* Request types */
@@ -66,11 +69,14 @@ struct virtio_iommu_req_tail {uint8_t reserved[3 ]; }; +#define VIRTIO_IOMMU_ATTACH_F_BYPASS (1 << 0) +struct virtio_iommu_req_attach {struct virtio_iommu_req_head head;uint32_t domain;uint32_t endpoint; -uint8_t reserved[8 ]; +uint32_t flags; +uint8_t reserved[4 ];struct virtio_iommu_req_tail tail; };
linux-headers/asm-generic/unistd.h +4 -1
@@ -883,8 +883,11 @@ __SYSCALL(__NR_process_mrelease, sys_process_mrelease)#define __NR_futex_waitv 449 __SYSCALL(__NR_futex_waitv, sys_futex_waitv) +#define __NR_set_mempolicy_home_node 450 +__SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node) +#undef __NR_syscalls -#define __NR_syscalls 450 +#define __NR_syscalls 451/* * 32 bit systems traditionally used different
linux-headers/asm-mips/unistd_n32.h +2 -0
@@ -377,5 +377,7 @@#define __NR_landlock_add_rule (__NR_Linux + 445)#define __NR_landlock_restrict_self (__NR_Linux + 446)#define __NR_process_mrelease (__NR_Linux + 448) +#define __NR_futex_waitv (__NR_Linux + 449) +#define __NR_set_mempolicy_home_node (__NR_Linux + 450)#endif /* _ASM_UNISTD_N32_H */
linux-headers/asm-mips/unistd_n64.h +2 -0
@@ -353,5 +353,7 @@#define __NR_landlock_add_rule (__NR_Linux + 445)#define __NR_landlock_restrict_self (__NR_Linux + 446)#define __NR_process_mrelease (__NR_Linux + 448) +#define __NR_futex_waitv (__NR_Linux + 449) +#define __NR_set_mempolicy_home_node (__NR_Linux + 450)#endif /* _ASM_UNISTD_N64_H */
linux-headers/asm-mips/unistd_o32.h +2 -0
@@ -423,5 +423,7 @@#define __NR_landlock_add_rule (__NR_Linux + 445)#define __NR_landlock_restrict_self (__NR_Linux + 446)#define __NR_process_mrelease (__NR_Linux + 448) +#define __NR_futex_waitv (__NR_Linux + 449) +#define __NR_set_mempolicy_home_node (__NR_Linux + 450)#endif /* _ASM_UNISTD_O32_H */
linux-headers/asm-powerpc/unistd_32.h +2 -0
@@ -430,6 +430,8 @@#define __NR_landlock_add_rule 445#define __NR_landlock_restrict_self 446#define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 +#define __NR_set_mempolicy_home_node 450#endif /* _ASM_UNISTD_32_H */
linux-headers/asm-powerpc/unistd_64.h +2 -0
@@ -402,6 +402,8 @@#define __NR_landlock_add_rule 445#define __NR_landlock_restrict_self 446#define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 +#define __NR_set_mempolicy_home_node 450#endif /* _ASM_UNISTD_64_H */
linux-headers/asm-s390/unistd_32.h +2 -0
@@ -420,5 +420,7 @@#define __NR_landlock_add_rule 445#define __NR_landlock_restrict_self 446#define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 +#define __NR_set_mempolicy_home_node 450#endif /* _ASM_S390_UNISTD_32_H */
linux-headers/asm-s390/unistd_64.h +2 -0
@@ -368,5 +368,7 @@#define __NR_landlock_add_rule 445#define __NR_landlock_restrict_self 446#define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 +#define __NR_set_mempolicy_home_node 450#endif /* _ASM_S390_UNISTD_64_H */
linux-headers/asm-x86/kvm.h +18 -1
@@ -373,9 +373,23 @@ struct kvm_debugregs {__u64 reserved[9 ]; }; -/* for KVM_CAP_XSAVE */ +/* for KVM_CAP_XSAVE and KVM_CAP_XSAVE2 */ struct kvm_xsave { +/* +* KVM_GET_XSAVE2 and KVM_SET_XSAVE write and read as many bytes +* as are returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) +* respectively, when invoked on the vm file descriptor. +* +* The size value returned by KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) +* will always be at least 4096. Currently, it is only greater +* than 4096 if a dynamic feature has been enabled with +* ``arch_prctl()``, but this may change in the future. +* +* The offsets of the state save areas in struct kvm_xsave follow +* the contents of CPUID leaf 0xD on the host. +*/ __u32 region[1024 ]; +__u32 extra[0 ]; };#define KVM_MAX_XCRS 16
@@ -438,6 +452,9 @@ struct kvm_sync_regs {#define KVM_STATE_VMX_PREEMPTION_TIMER_DEADLINE 0x00000001 +/* attributes for system fd (group 0) */ +#define KVM_X86_XCOMP_GUEST_SUPP 0 +struct kvm_vmx_nested_state_data {__u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE ];__u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE ];
linux-headers/asm-x86/unistd_32.h +1 -0
@@ -440,6 +440,7 @@#define __NR_memfd_secret 447#define __NR_process_mrelease 448#define __NR_futex_waitv 449 +#define __NR_set_mempolicy_home_node 450#endif /* _ASM_UNISTD_32_H */
linux-headers/asm-x86/unistd_64.h +1 -0
@@ -362,6 +362,7 @@#define __NR_memfd_secret 447#define __NR_process_mrelease 448#define __NR_futex_waitv 449 +#define __NR_set_mempolicy_home_node 450#endif /* _ASM_UNISTD_64_H */
linux-headers/asm-x86/unistd_x32.h +1 -0
@@ -315,6 +315,7 @@#define __NR_memfd_secret (__X32_SYSCALL_BIT + 447)#define __NR_process_mrelease (__X32_SYSCALL_BIT + 448)#define __NR_futex_waitv (__X32_SYSCALL_BIT + 449) +#define __NR_set_mempolicy_home_node (__X32_SYSCALL_BIT + 450)#define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512)#define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513)#define __NR_ioctl (__X32_SYSCALL_BIT + 514)
linux-headers/linux/kvm.h +18 -0
@@ -1130,6 +1130,10 @@ struct kvm_ppc_resize_hpt {#define KVM_CAP_BINARY_STATS_FD 203#define KVM_CAP_EXIT_ON_EMULATION_FAILURE 204#define KVM_CAP_ARM_MTE 205 +#define KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM 206 +#define KVM_CAP_VM_GPA_BITS 207 +#define KVM_CAP_XSAVE2 208 +#define KVM_CAP_SYS_ATTRIBUTES 209#ifdef KVM_CAP_IRQ_ROUTING
@@ -1161,11 +1165,20 @@ struct kvm_irq_routing_hv_sint {__u32 sint; }; +struct kvm_irq_routing_xen_evtchn { +__u32 port; +__u32 vcpu; +__u32 priority; +}; + +#define KVM_IRQ_ROUTING_XEN_EVTCHN_PRIO_2LEVEL ((__u32)(-1)) +/* gsi routing entry types */ #define KVM_IRQ_ROUTING_IRQCHIP 1#define KVM_IRQ_ROUTING_MSI 2#define KVM_IRQ_ROUTING_S390_ADAPTER 3#define KVM_IRQ_ROUTING_HV_SINT 4 +#define KVM_IRQ_ROUTING_XEN_EVTCHN 5struct kvm_irq_routing_entry {__u32 gsi;
@@ -1177,6 +1190,7 @@ struct kvm_irq_routing_entry {struct kvm_irq_routing_msi msi;struct kvm_irq_routing_s390_adapter adapter;struct kvm_irq_routing_hv_sint hv_sint; +struct kvm_irq_routing_xen_evtchn xen_evtchn;__u32 pad[8 ]; } u; };
@@ -1207,6 +1221,7 @@ struct kvm_x86_mce {#define KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL (1 << 1)#define KVM_XEN_HVM_CONFIG_SHARED_INFO (1 << 2)#define KVM_XEN_HVM_CONFIG_RUNSTATE (1 << 3) +#define KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL (1 << 4)struct kvm_xen_hvm_config {__u32 flags;
@@ -2030,4 +2045,7 @@ struct kvm_stats_desc {#define KVM_GET_STATS_FD _IO(KVMIO, 0xce) +/* Available with KVM_CAP_XSAVE2 */ +#define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave) +#endif /* __LINUX_KVM_H */
Signature · 1 line
2.31.1
Quoted 14 lines · Paolo Bonzini
Signed-off-by Paolo Bonzini <[email protected]>--- include/standard-headers/asm-x86/kvm_para.h | 1 + include/standard-headers/drm/drm_fourcc.h | 11 ++ include/standard-headers/linux/ethtool.h | 1 + include/standard-headers/linux/fuse.h | 60 +++++++- include/standard-headers/linux/pci_regs.h | 142 +++++++++--------- include/standard-headers/linux/virtio_iommu.h | 8 +- linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-mips/unistd_n32.h | 2 + linux-headers/asm-mips/unistd_n64.h | 2 + linux-headers/asm-mips/unistd_o32.h | 2 + linux-headers/asm-powerpc/unistd_32.h | 2 + linux-headers/asm-powerpc/unistd_64.h | 2 +
Quoted 8 lines
linux-headers/asm-s390/unistd_32.h | 2 + linux-headers/asm-s390/unistd_64.h | 2 + linux-headers/asm-x86/kvm.h | 19 ++- linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 1 + linux-headers/linux/kvm.h | 18 +++ 19 files changed, 206 insertions(+), 76 deletions(-)
Acked-by Cornelia Huck <[email protected]>