qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

linux-headers: update

Update to commit b1da3acc781c ("Merge tag 'ecryptfs-5.6-rc3-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs")

Signed-off-by: Cornelia Huck <cohuck@redhat.com>

+83 -3
+24
include/standard-headers/drm/drm_fourcc.h
··· 410 410 #define I915_FORMAT_MOD_Yf_TILED_CCS fourcc_mod_code(INTEL, 5) 411 411 412 412 /* 413 + * Intel color control surfaces (CCS) for Gen-12 render compression. 414 + * 415 + * The main surface is Y-tiled and at plane index 0, the CCS is linear and 416 + * at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in 417 + * main surface. In other words, 4 bits in CCS map to a main surface cache 418 + * line pair. The main surface pitch is required to be a multiple of four 419 + * Y-tile widths. 420 + */ 421 + #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS fourcc_mod_code(INTEL, 6) 422 + 423 + /* 424 + * Intel color control surfaces (CCS) for Gen-12 media compression 425 + * 426 + * The main surface is Y-tiled and at plane index 0, the CCS is linear and 427 + * at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in 428 + * main surface. In other words, 4 bits in CCS map to a main surface cache 429 + * line pair. The main surface pitch is required to be a multiple of four 430 + * Y-tile widths. For semi-planar formats like NV12, CCS planes follow the 431 + * Y and UV planes i.e., planes 0 and 1 are used for Y and UV surfaces, 432 + * planes 2 and 3 for the respective CCS. 433 + */ 434 + #define I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS fourcc_mod_code(INTEL, 7) 435 + 436 + /* 413 437 * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks 414 438 * 415 439 * Macroblocks are laid in a Z-shape, and each pixel data is following the
+11
include/standard-headers/linux/ethtool.h
··· 593 593 * @ETH_SS_RSS_HASH_FUNCS: RSS hush function names 594 594 * @ETH_SS_PHY_STATS: Statistic names, for use with %ETHTOOL_GPHYSTATS 595 595 * @ETH_SS_PHY_TUNABLES: PHY tunable names 596 + * @ETH_SS_LINK_MODES: link mode names 597 + * @ETH_SS_MSG_CLASSES: debug message class names 598 + * @ETH_SS_WOL_MODES: wake-on-lan modes 596 599 */ 597 600 enum ethtool_stringset { 598 601 ETH_SS_TEST = 0, ··· 604 607 ETH_SS_TUNABLES, 605 608 ETH_SS_PHY_STATS, 606 609 ETH_SS_PHY_TUNABLES, 610 + ETH_SS_LINK_MODES, 611 + ETH_SS_MSG_CLASSES, 612 + ETH_SS_WOL_MODES, 613 + 614 + /* add new constants above here */ 615 + ETH_SS_COUNT 607 616 }; 608 617 609 618 /** ··· 1687 1696 #define WAKE_MAGIC (1 << 5) 1688 1697 #define WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ 1689 1698 #define WAKE_FILTER (1 << 7) 1699 + 1700 + #define WOL_MODE_COUNT 8 1690 1701 1691 1702 /* L2-L4 network traffic flow types */ 1692 1703 #define TCP_V4_FLOW 0x01 /* hash or spec (tcp_ip4_spec) */
+1
include/standard-headers/linux/input.h
··· 31 31 unsigned long __sec; 32 32 #if defined(__sparc__) && defined(__arch64__) 33 33 unsigned int __usec; 34 + unsigned int __pad; 34 35 #else 35 36 unsigned long __usec; 36 37 #endif
+1
include/standard-headers/linux/pci_regs.h
··· 676 676 #define PCI_EXP_LNKCTL2_TLS_32_0GT 0x0005 /* Supported Speed 32GT/s */ 677 677 #define PCI_EXP_LNKCTL2_ENTER_COMP 0x0010 /* Enter Compliance */ 678 678 #define PCI_EXP_LNKCTL2_TX_MARGIN 0x0380 /* Transmit Margin */ 679 + #define PCI_EXP_LNKCTL2_HASD 0x0020 /* HW Autonomous Speed Disable */ 679 680 #define PCI_EXP_LNKSTA2 50 /* Link Status 2 */ 680 681 #define PCI_CAP_EXP_ENDPOINT_SIZEOF_V2 52 /* v2 endpoints with link end here */ 681 682 #define PCI_EXP_SLTCAP2 52 /* Slot Capabilities 2 */
+2
linux-headers/asm-arm/unistd-common.h
··· 390 390 #define __NR_fspick (__NR_SYSCALL_BASE + 433) 391 391 #define __NR_pidfd_open (__NR_SYSCALL_BASE + 434) 392 392 #define __NR_clone3 (__NR_SYSCALL_BASE + 435) 393 + #define __NR_openat2 (__NR_SYSCALL_BASE + 437) 394 + #define __NR_pidfd_getfd (__NR_SYSCALL_BASE + 438) 393 395 394 396 #endif /* _ASM_ARM_UNISTD_COMMON_H */
+10 -2
linux-headers/asm-arm64/kvm.h
··· 220 220 #define KVM_REG_ARM_PTIMER_CVAL ARM64_SYS_REG(3, 3, 14, 2, 2) 221 221 #define KVM_REG_ARM_PTIMER_CNT ARM64_SYS_REG(3, 3, 14, 0, 1) 222 222 223 - /* EL0 Virtual Timer Registers */ 223 + /* 224 + * EL0 Virtual Timer Registers 225 + * 226 + * WARNING: 227 + * KVM_REG_ARM_TIMER_CVAL and KVM_REG_ARM_TIMER_CNT are not defined 228 + * with the appropriate register encodings. Their values have been 229 + * accidentally swapped. As this is set API, the definitions here 230 + * must be used, rather than ones derived from the encodings. 231 + */ 224 232 #define KVM_REG_ARM_TIMER_CTL ARM64_SYS_REG(3, 3, 14, 3, 1) 233 + #define KVM_REG_ARM_TIMER_CVAL ARM64_SYS_REG(3, 3, 14, 0, 2) 225 234 #define KVM_REG_ARM_TIMER_CNT ARM64_SYS_REG(3, 3, 14, 3, 2) 226 - #define KVM_REG_ARM_TIMER_CVAL ARM64_SYS_REG(3, 3, 14, 0, 2) 227 235 228 236 /* KVM-as-firmware specific pseudo-registers */ 229 237 #define KVM_REG_ARM_FW (0x0014 << KVM_REG_ARM_COPROC_SHIFT)
+1
linux-headers/asm-arm64/unistd.h
··· 19 19 #define __ARCH_WANT_NEW_STAT 20 20 #define __ARCH_WANT_SET_GET_RLIMIT 21 21 #define __ARCH_WANT_TIME32_SYSCALLS 22 + #define __ARCH_WANT_SYS_CLONE3 22 23 23 24 #include <asm-generic/unistd.h>
+2
linux-headers/asm-generic/mman-common.h
··· 11 11 #define PROT_WRITE 0x2 /* page can be written */ 12 12 #define PROT_EXEC 0x4 /* page can be executed */ 13 13 #define PROT_SEM 0x8 /* page may be used for atomic ops */ 14 + /* 0x10 reserved for arch-specific use */ 15 + /* 0x20 reserved for arch-specific use */ 14 16 #define PROT_NONE 0x0 /* page can not be accessed */ 15 17 #define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */ 16 18 #define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */
+6 -1
linux-headers/asm-generic/unistd.h
··· 851 851 __SYSCALL(__NR_clone3, sys_clone3) 852 852 #endif 853 853 854 + #define __NR_openat2 437 855 + __SYSCALL(__NR_openat2, sys_openat2) 856 + #define __NR_pidfd_getfd 438 857 + __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd) 858 + 854 859 #undef __NR_syscalls 855 - #define __NR_syscalls 436 860 + #define __NR_syscalls 439 856 861 857 862 /* 858 863 * 32 bit systems traditionally used different
+2
linux-headers/asm-mips/unistd_n32.h
··· 365 365 #define __NR_fspick (__NR_Linux + 433) 366 366 #define __NR_pidfd_open (__NR_Linux + 434) 367 367 #define __NR_clone3 (__NR_Linux + 435) 368 + #define __NR_openat2 (__NR_Linux + 437) 369 + #define __NR_pidfd_getfd (__NR_Linux + 438) 368 370 369 371 370 372 #endif /* _ASM_MIPS_UNISTD_N32_H */
+2
linux-headers/asm-mips/unistd_n64.h
··· 341 341 #define __NR_fspick (__NR_Linux + 433) 342 342 #define __NR_pidfd_open (__NR_Linux + 434) 343 343 #define __NR_clone3 (__NR_Linux + 435) 344 + #define __NR_openat2 (__NR_Linux + 437) 345 + #define __NR_pidfd_getfd (__NR_Linux + 438) 344 346 345 347 346 348 #endif /* _ASM_MIPS_UNISTD_N64_H */
+2
linux-headers/asm-mips/unistd_o32.h
··· 411 411 #define __NR_fspick (__NR_Linux + 433) 412 412 #define __NR_pidfd_open (__NR_Linux + 434) 413 413 #define __NR_clone3 (__NR_Linux + 435) 414 + #define __NR_openat2 (__NR_Linux + 437) 415 + #define __NR_pidfd_getfd (__NR_Linux + 438) 414 416 415 417 416 418 #endif /* _ASM_MIPS_UNISTD_O32_H */
+2
linux-headers/asm-powerpc/unistd_32.h
··· 418 418 #define __NR_fspick 433 419 419 #define __NR_pidfd_open 434 420 420 #define __NR_clone3 435 421 + #define __NR_openat2 437 422 + #define __NR_pidfd_getfd 438 421 423 422 424 423 425 #endif /* _ASM_POWERPC_UNISTD_32_H */
+2
linux-headers/asm-powerpc/unistd_64.h
··· 390 390 #define __NR_fspick 433 391 391 #define __NR_pidfd_open 434 392 392 #define __NR_clone3 435 393 + #define __NR_openat2 437 394 + #define __NR_pidfd_getfd 438 393 395 394 396 395 397 #endif /* _ASM_POWERPC_UNISTD_64_H */
+2
linux-headers/asm-s390/unistd_32.h
··· 408 408 #define __NR_fspick 433 409 409 #define __NR_pidfd_open 434 410 410 #define __NR_clone3 435 411 + #define __NR_openat2 437 412 + #define __NR_pidfd_getfd 438 411 413 412 414 #endif /* _ASM_S390_UNISTD_32_H */
+2
linux-headers/asm-s390/unistd_64.h
··· 356 356 #define __NR_fspick 433 357 357 #define __NR_pidfd_open 434 358 358 #define __NR_clone3 435 359 + #define __NR_openat2 437 360 + #define __NR_pidfd_getfd 438 359 361 360 362 #endif /* _ASM_S390_UNISTD_64_H */
+2
linux-headers/asm-x86/unistd_32.h
··· 426 426 #define __NR_fspick 433 427 427 #define __NR_pidfd_open 434 428 428 #define __NR_clone3 435 429 + #define __NR_openat2 437 430 + #define __NR_pidfd_getfd 438 429 431 430 432 #endif /* _ASM_X86_UNISTD_32_H */
+2
linux-headers/asm-x86/unistd_64.h
··· 348 348 #define __NR_fspick 433 349 349 #define __NR_pidfd_open 434 350 350 #define __NR_clone3 435 351 + #define __NR_openat2 437 352 + #define __NR_pidfd_getfd 438 351 353 352 354 #endif /* _ASM_X86_UNISTD_64_H */
+2
linux-headers/asm-x86/unistd_x32.h
··· 301 301 #define __NR_fspick (__X32_SYSCALL_BIT + 433) 302 302 #define __NR_pidfd_open (__X32_SYSCALL_BIT + 434) 303 303 #define __NR_clone3 (__X32_SYSCALL_BIT + 435) 304 + #define __NR_openat2 (__X32_SYSCALL_BIT + 437) 305 + #define __NR_pidfd_getfd (__X32_SYSCALL_BIT + 438) 304 306 #define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512) 305 307 #define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513) 306 308 #define __NR_ioctl (__X32_SYSCALL_BIT + 514)
+5
linux-headers/linux/kvm.h
··· 1009 1009 #define KVM_CAP_PPC_GUEST_DEBUG_SSTEP 176 1010 1010 #define KVM_CAP_ARM_NISV_TO_USER 177 1011 1011 #define KVM_CAP_ARM_INJECT_EXT_DABT 178 1012 + #define KVM_CAP_S390_VCPU_RESETS 179 1012 1013 1013 1014 #ifdef KVM_CAP_IRQ_ROUTING 1014 1015 ··· 1472 1473 1473 1474 /* Available with KVM_CAP_ARM_SVE */ 1474 1475 #define KVM_ARM_VCPU_FINALIZE _IOW(KVMIO, 0xc2, int) 1476 + 1477 + /* Available with KVM_CAP_S390_VCPU_RESETS */ 1478 + #define KVM_S390_NORMAL_RESET _IO(KVMIO, 0xc3) 1479 + #define KVM_S390_CLEAR_RESET _IO(KVMIO, 0xc4) 1475 1480 1476 1481 /* Secure Encrypted Virtualization command */ 1477 1482 enum sev_cmd_id {