update Linux headers to 4.18
PATCH 1/1 update Linux headers to 4.18
Signed-off-by Paolo Bonzini <[email protected]>
--- include/standard-headers/linux/virtio_config.h | 16 ++++++++++++---- linux-headers/asm-mips/unistd.h | 18 ++++++++++++------ linux-headers/asm-powerpc/kvm.h | 1 + 3 files changed, 25 insertions(+), 10 deletions(-)
include/standard-headers/linux/virtio_config.h +12 -4
@@ -45,11 +45,14 @@/* We've given up on this device. */ #define VIRTIO_CONFIG_S_FAILED 0x80 -/* Some virtio feature bits (currently bits 28 through 32) are reserved for the -* transport being used (eg. virtio_ring), the rest are per-device feature -* bits. */ +/* +* Virtio feature bits VIRTIO_TRANSPORT_F_START through +* VIRTIO_TRANSPORT_F_END are reserved for the transport +* being used (e.g. virtio_ring, virtio_pci etc.), the +* rest are per-device feature bits. +*/ #define VIRTIO_TRANSPORT_F_START 28 -#define VIRTIO_TRANSPORT_F_END 34 +#define VIRTIO_TRANSPORT_F_END 38#ifndef VIRTIO_CONFIG_NO_LEGACY /* Do we get callbacks when the ring is completely used, even if we've
@@ -71,4 +74,9 @@* this is for compatibility with legacy systems. */ #define VIRTIO_F_IOMMU_PLATFORM 33 + +/* +* Does the device support Single Root I/O Virtualization? +*/ +#define VIRTIO_F_SR_IOV 37#endif /* _LINUX_VIRTIO_CONFIG_H */
linux-headers/asm-mips/unistd.h +12 -6
@@ -388,17 +388,19 @@#define __NR_pkey_alloc (__NR_Linux + 364)#define __NR_pkey_free (__NR_Linux + 365)#define __NR_statx (__NR_Linux + 366) +#define __NR_rseq (__NR_Linux + 367) +#define __NR_io_pgetevents (__NR_Linux + 368)/* * Offset of the last Linux o32 flavoured syscall */ -#define __NR_Linux_syscalls 366 +#define __NR_Linux_syscalls 368#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ #define __NR_O32_Linux 4000 -#define __NR_O32_Linux_syscalls 366 +#define __NR_O32_Linux_syscalls 368#if _MIPS_SIM == _MIPS_SIM_ABI64
@@ -733,16 +735,18 @@#define __NR_pkey_alloc (__NR_Linux + 324)#define __NR_pkey_free (__NR_Linux + 325)#define __NR_statx (__NR_Linux + 326) +#define __NR_rseq (__NR_Linux + 327) +#define __NR_io_pgetevents (__NR_Linux + 328)/* * Offset of the last Linux 64-bit flavoured syscall */ -#define __NR_Linux_syscalls 326 +#define __NR_Linux_syscalls 328#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ #define __NR_64_Linux 5000 -#define __NR_64_Linux_syscalls 326 +#define __NR_64_Linux_syscalls 328#if _MIPS_SIM == _MIPS_SIM_NABI32
@@ -1081,15 +1085,17 @@#define __NR_pkey_alloc (__NR_Linux + 328)#define __NR_pkey_free (__NR_Linux + 329)#define __NR_statx (__NR_Linux + 330) +#define __NR_rseq (__NR_Linux + 331) +#define __NR_io_pgetevents (__NR_Linux + 332)/* * Offset of the last N32 flavoured syscall */ -#define __NR_Linux_syscalls 330 +#define __NR_Linux_syscalls 332#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ #define __NR_N32_Linux 6000 -#define __NR_N32_Linux_syscalls 330 +#define __NR_N32_Linux_syscalls 332#endif /* _ASM_UNISTD_H */
linux-headers/asm-powerpc/kvm.h +1 -0
@@ -633,6 +633,7 @@ struct kvm_ppc_cpu_char {#define KVM_REG_PPC_PSSCR (KVM_REG_PPC | KVM_REG_SIZE_U64 | 0xbd)#define KVM_REG_PPC_DEC_EXPIRY (KVM_REG_PPC | KVM_REG_SIZE_U64 | 0xbe) +#define KVM_REG_PPC_ONLINE (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xbf)/* Transactional Memory checkpointed state: * This is all GPRs, all VSX regs and a subset of SPRs
Signature · 1 line
2.17.1
Quoted 6 lines · Paolo Bonzini
Signed-off-by Paolo Bonzini <[email protected]>--- include/standard-headers/linux/virtio_config.h | 16 ++++++++++++---- linux-headers/asm-mips/unistd.h | 18 ++++++++++++------ linux-headers/asm-powerpc/kvm.h | 1 + 3 files changed, 25 insertions(+), 10 deletions(-)
Reviewed-by Stefan Hajnoczi <[email protected]>