This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from 467f8165a2b0 Merge tag 'close-range-cloexec-unshare-v5.11' of git://git [...] new 450f68e2425e epoll: fix compat syscall wire up of epoll_pwait2 new d9593868cd58 Documentation: Update filesystems/gfs2.rst new 257f160a0e54 MAINTAINERS: Add gfs2 bug tracker link new e3a77eebfa25 gfs2: Make inode operations static new a55a47a3bc82 Revert "GFS2: Prevent delete work from occurring on glocks [...] new 28c332b941a7 gfs2: remove trailing semicolons from macro definitions new dd64fe8167ba gfs2: Remove sb_start_write from gfs2_statfs_sync new 6e5c4ea37a99 gfs2: in signal_our_withdraw wait for unfreeze of _this_ fs only new 7703f46f2caf Merge tag 'gfs2-for-5.11' of git://git.kernel.org/pub/scm/ [...] new 5d78533a0c53 rtc: pcf2127: move watchdog initialisation to a separate function new ba1c30bf3f25 rtc: pcf2127: fix pcf2127_nvmem_read/write() returns new 28d211919e42 rtc: sun6i: Fix memleak in sun6i_rtc_clk_init new 825156a5eede rtc: sc27xx: Remove unnecessary conversion to bool new a48c6224ae07 rtc: da9063: Simplify bool comparison new c56ac7a0f468 rtc: hym8563: enable wakeup when applicable new bc06cfc1c41e rtc: cpcap: Fix missing IRQF_ONESHOT as only threaded handler new 1eab0fea2514 rtc: pl031: fix resource leak in pl031_probe new 910d002d84df rtc: brcmstb-waketimer: Remove redundant null check before [...] new 081e2500df50 rtc: snvs: Remove NULL pointer check before clk_* new 5022cfc11232 rtc: goldfish: Remove GOLDFISH dependency new 9844484eac2b MAINTAINERS: Set myself as Goldfish RTC maintainer new 767fbb7102c6 rtc: rv3032: fix nvram nvmem priv pointer new f6a46f8b302d rtc: at91rm9200: add correction support new bfca1c924d97 rtc: at91rm9200: Add sam9x60 compatible new a31111189bb1 rtc: ds1307: Remove non-valid ACPI IDs new 227ec129ad7b rtc: ds1307: Make use of device properties new 698fffc2705c rtc: ds1307: Drop of_match_ptr and CONFIG_OF protections new 7e6066ca1f1f rtc: Kconfig: Fix typo in help message of rx 6110 new afa819c2c6bf rtc: rx6110: add i2c support new 42882a8a22a8 rtc: mxc: Convert the driver to DT-only new ba7aa63000f2 rtc: mxc: use of_device_get_match_data new 7d9d4868ec0b rtc: sc27xx: Always read normal alarm new 7c45c9741ab2 rtc: omap: use devm_pinctrl_register() new 4d49ffc7a20d Documentation: list RTC devres helpers in devres.rst new 25ece30561d2 rtc: nvmem: remove nvram ABI new 3a905c2d9544 rtc: add devm_ prefix to rtc_nvmem_register() new 6746bc095bbd rtc: nvmem: emit an error message when nvmem registration fails new fdcfd854333b rtc: rework rtc_register_device() resource management new 1bfc485b7357 rtc: shrink devm_rtc_allocate_device() new 0d6d7a390b32 rtc: destroy mutex when releasing the device new 886144058d53 rtc: pcf8523: switch to devm_rtc_allocate_device new 219cc0f91897 rtc: pcf8523: set range new 673536cc5f21 rtc: pcf8523: use BIT new 9c7957991e56 rtc: enable RTC framework on ARCH=um new 0020868f2a70 rtc: mxc{,_v2}: enable COMPILE_TEST new 1ae20eb1eca7 rtc: test: remove debug message new 00c33482bb61 rtc: ep93xx: Fix NULL pointer dereference in ep93xx_rtc_read_time new 31b16d978f90 rtc: s3c: Disable all enable (RTC, tick) bits in the probe new ce9af8939202 rtc: s3c: Remove dead code related to periodic tick handling new f70cc33029fc rtc: fix RTC removal new 320d159e2d63 dt-bindings: rtc: add reset-source property new 71ac13457d9d rtc: pcf2127: only use watchdog when explicitly available new f4a2f7866faa Merge tag 'rtc-5.11' of git://git.kernel.org/pub/scm/linux [...] new d3a9e4146a6f KVM: VMX: Drop guest CPUID check for VMXE in vmx_set_cr4() new a447e38a7fad KVM: VMX: Drop explicit 'nested' check from vmx_set_cr4() new 311a06593b9a KVM: SVM: Drop VMXE check from svm_set_cr4() new c2fe3cd4604a KVM: x86: Move vendor CR4 validity check to dedicated kvm_ [...] new ee69c92bac61 KVM: x86: Return bool instead of int for CR4 and SREGS val [...] new 7a873e455567 KVM: selftests: Verify supported CR4 bits can be set befor [...] new 1c96dcceaeb3 KVM: x86: fix apic_accept_events vs check_nested_events new bf0cd88ce363 KVM: x86: emulate wait-for-SIPI and SIPI-VMExit new c4d51a52c67a sched/wait: Add add_wait_queue_priority() new e8dbf19508a1 kvm/eventfd: Use priority waitqueue to catch events before [...] new 28f132671055 eventfd: Export eventfd_ctx_do_read() new b1b397aeef81 vfio/virqfd: Drain events from eventfd in virqfd_wakeup() new b59e00dd8cda kvm/eventfd: Drain events from eventfd in irqfd_wakeup() new c21d54f0307f KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a s [...] new 8b460692fee4 KVM: selftests: test KVM_GET_SUPPORTED_HV_CPUID as a system ioctl new ff5a983cbb37 KVM: X86: Don't track dirty for KVM_SET_[TSS_ADDR|IDENTITY [...] new 2f5414423ef5 KVM: remove kvm_clear_guest_page new 28bd726aa404 KVM: Pass in kvm pointer into mark_page_dirty_in_slot() new fb04a1eddb1a KVM: X86: Implement ring-based dirty memory tracking new b2cc64c4f382 KVM: Make dirty ring exclusive to dirty bitmap log new 044c59c409b7 KVM: Don't allocate dirty bitmap if dirty ring is enabled new 60f644fb5198 KVM: selftests: Introduce after_vcpu_run hook for dirty log test new 84292e565951 KVM: selftests: Add dirty ring buffer test new 019d321a68ea KVM: selftests: Run dirty ring test asynchronously new edd3de6fc3d5 KVM: selftests: Add "-c" parameter to dirty log test new 8aa426e854c4 selftests: kvm: keep .gitignore add to date new 2259c17f0188 kvm: x86: Sink cpuid update into vendor-specific set_cr4 f [...] new f63f0b68c864 KVM: selftests: always use manual clear in dirty_log_perf_test new ec2f18bb4783 KVM: selftests: Make vm_create_default common new 0aa9ec45d427 KVM: selftests: Introduce vm_create_[default_]_with_vcpus new 87c5f35e5c95 KVM: selftests: Also build dirty_log_perf_test on AArch64 new 08d3e27718bd KVM: selftests: Make test skipping consistent new 22f232d134e1 KVM: selftests: x86: Set supported CPUIDs on default VM new 789f52c071a0 x86/kvm: remove unused macro HV_CLOCK_SIZE new 7e8e6eed75e2 KVM: SVM: Move asid to vcpu_svm new dc924b062488 KVM: SVM: check CR4 changes against vcpu->arch new 33dd3574f5fe kvm: x86/mmu: Add existing trace points to TDP MMU new b9a98c3437e3 kvm: x86/mmu: Add TDP MMU SPTE changed trace point new 8cce12b3c827 KVM: nSVM: set fixed bits by hand new dee734a7de91 KVM: x86: adjust SEV for commit 7e8e6eed75e new f57ad63a835c KVM: x86: ignore SIPIs that are received while not in wait [...] new 6c44221b0523 KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S new 3cea1891748e selftests: kvm: Test MSR exiting to userspace new fb6360534ecc selftests: kvm: Merge user_msr_test into userspace_msr_exit_test new e1b35da5e624 x86: Enumerate AVX512 FP16 CPUID feature flag new 2224fc9efb2d KVM: x86: Expose AVX512_FP16 for supported CPUID new 39485ed95d6b KVM: x86: reinstate vendor-agnostic check on SPEC_CTRL cpuid bits new c41962187371 KVM: s390: Add memcg accounting to KVM allocations new 0cd2a787cffb s390/gmap: make gmap memcg aware new efaa83a3736d KVM: selftests: sync_regs test for diag318 new 50a05be484cb KVM: s390: track synchronous pfault events in kvm_stat new e8614e5e8de8 Merge tag 'kvm-s390-next-5.11-1' of git://git.kernel.org/p [...] new 3f1a18b9fa1c KVM/VMX/SVM: Move kvm_machine_check function to x86.h new 69372cf01290 x86/cpu: Add VM page flush MSR availablility as a CPUID feature new 9d4747d02376 KVM: SVM: Remove the call to sev_platform_status() during setup new 916391a2d1dc KVM: SVM: Add support for SEV-ES capability in KVM new 0f60bde15ee1 KVM: SVM: Add GHCB accessor functions for retrieving fields new add5e2f04541 KVM: SVM: Add support for the SEV-ES VMSA new 1c04d8c98656 KVM: x86: Mark GPRs dirty when written new 9caec4bf1d01 KVM: x86: remove bogus #GP injection new 8b474427cbee KVM: x86: use kvm_complete_insn_gp in emulating RDMSR/WRMSR new f9a4d621761a KVM: x86: introduce complete_emulated_msr callback new f1c6366e3043 KVM: SVM: Add required changes to support intercepts under SEV-ES new 8d4846b9b150 KVM: SVM: Prevent debugging under SEV-ES new bc624d9f1bbb KVM: SVM: Do not allow instruction emulation under SEV-ES new 8164a5ffe4c6 KVM: SVM: Cannot re-initialize the VMCB after shutdown wit [...] new e9093fd49285 KVM: SVM: Prepare for SEV-ES exit handling in the sev.c file new 291bd20d5d88 KVM: SVM: Add initial support for a VMGEXIT VMEXIT new 1edc14599e06 KVM: SVM: Add support for SEV-ES GHCB MSR protocol function 0x002 new d36946679ef6 KVM: SVM: Add support for SEV-ES GHCB MSR protocol function 0x004 new e1d71116b64a KVM: SVM: Add support for SEV-ES GHCB MSR protocol function 0x100 new d523ab6ba275 KVM: SVM: Create trace events for VMGEXIT processing new 59e38b58de28 KVM: SVM: Create trace events for VMGEXIT MSR protocol processing new 8f423a80d299 KVM: SVM: Support MMIO for an SEV-ES guest new 7ed9abfe8e9f KVM: SVM: Support string IO operations for an SEV-ES guest new 2985afbcdbb1 KVM: SVM: Add support for EFER write traps for an SEV-ES guest new f27ad38aac23 KVM: SVM: Add support for CR0 write traps for an SEV-ES guest new 5b51cb13160a KVM: SVM: Add support for CR4 write traps for an SEV-ES guest new d1949b93c605 KVM: SVM: Add support for CR8 write traps for an SEV-ES guest new 5265713a0737 KVM: x86: Update __get_sregs() / __set_sregs() to support SEV-ES new 5719455fbd95 KVM: SVM: Do not report support for SMM for an SEV-ES guest new ed02b213098a KVM: SVM: Guest FPU state save/restore not needed for SEV- [...] new 4444dfe4050b KVM: SVM: Add NMI support for an SEV-ES guest new 85ca8be938c0 KVM: SVM: Set the encryption mask for the SVM host save area new 80675b3ad45f KVM: SVM: Update ASID allocation to support SEV-ES guests new 376c6d285017 KVM: SVM: Provide support for SEV-ES vCPU creation/loading new 861377730aa9 KVM: SVM: Provide support for SEV-ES vCPU loading new 16809ecdc1e8 KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests new ad73109ae7ec KVM: SVM: Provide support to launch and run an SEV-ES guest new 8640ca588b03 KVM: SVM: Add AP_JUMP_TABLE support in prep for AP booting new c22588c99635 KVM: arm64: Don't adjust PC on SError during SMC trap new 6ddbc281e2aa KVM: arm64: Move kvm_vcpu_trap_il_is32bit into kvm_skip_instr32() new cdb5e02ed133 KVM: arm64: Make kvm_skip_instr() and co private to HYP new defe21f49bc9 KVM: arm64: Move PC rollback on SError to HYP new 21c810017cef KVM: arm64: Move VHE direct sysreg accessors into kvm_host.h new e650b64f1a56 KVM: arm64: Add basic hooks for injecting exceptions from EL2 new bb666c472ca2 KVM: arm64: Inject AArch64 exceptions from HYP new 41613b519ce7 KVM: arm64: Inject AArch32 exceptions from HYP new 7d76b8a60350 KVM: arm64: Remove SPSR manipulation primitives new dcfba399325f KVM: arm64: Consolidate exception injection new 90c1f934ed71 KVM: arm64: Get rid of the AArch32 register mapping code new 37da329ed6a7 Merge branch 'kvm-arm64/el2-pc' into kvmarm-master/next new ca4e51477493 KVM: arm64: Introduce handling of AArch32 TTBCR2 traps new 4ff3fc316d78 KVM: arm64: Move AArch32 exceptions over to AArch64 sysregs new 6ed6750f2b6d KVM: arm64: Add AArch32 mapping annotation new b1ea1d760d33 KVM: arm64: Map AArch32 cp15 register to AArch64 sysregs new 1da42c34d7c4 KVM: arm64: Map AArch32 cp14 register to AArch64 sysregs new 2d27fd784893 KVM: arm64: Drop is_32bit trap attribute new 50f304532770 KVM: arm64: Drop is_aarch32 trap attribute new 5f7e02aebdf0 KVM: arm64: Drop legacy copro shadow register new 6ac4a5ac50d1 KVM: arm64: Drop kvm_coproc.h new 149f120edbf8 Merge branch 'kvm-arm64/copro-no-more' into kvmarm-master/next new 1db9d9ded771 KVM: arm64: Add kimg_hyp_va() helper new 7cd0aaafaadc KVM: arm64: Turn host HVC handling into a dispatch table new 68b824e428c5 KVM: arm64: Patch kimage_voffset instead of loading the EL1 value new 29052f1b92f2 KVM: arm64: Simplify __kvm_enable_ssbs() new 83fa381f66cc KVM: arm64: Avoid repetitive stack access on host EL1 to E [...] new 8c38602fb3eb Merge branch 'kvm-arm64/host-hvc-table' into kvmarm-master/next new 14bda7a92733 KVM: arm64: Add kvm_vcpu_has_pmu() helper new 9bbfa4b56537 KVM: arm64: Refuse to run VCPU if PMU is not initialized new 04355e41a603 KVM: arm64: Set ID_AA64DFR0_EL1.PMUVer to 0 when no PMU support new 77da43039ab5 KVM: arm64: Refuse illegal KVM_ARM_VCPU_PMU_V3 at reset time new b0737e999ec0 KVM: arm64: Inject UNDEF on PMU access when no PMU configured new f975ccb08d65 KVM: arm64: Remove PMU RAZ/WI handling new a3da93580202 KVM: arm64: Remove dead PMU sysreg decoding code new 46acf89de499 KVM: arm64: Gate kvm_pmu_update_state() on the PMU feature new 7521c3a9e630 KVM: arm64: Get rid of the PMU ready state new 6e5d8c713d1e Merge branch 'kvm-arm64/pmu-undef' into kvmarm-master/next new 8934c8454064 KVM: arm64: Remove redundant Spectre-v2 code from kvm_map_ [...] new de5bcdb48498 KVM: arm64: Tidy up kvm_map_vector() new 042c76a9502b KVM: arm64: Move kvm_get_hyp_vector() out of header file new 07cf8aa922db KVM: arm64: Make BP hardening globals static instead new 6279017e8077 KVM: arm64: Move BP hardening helpers into spectre.h new da592e68a5a3 KVM: arm64: Re-jig logic when patching hardened hyp vectors new b881cdce77b4 KVM: arm64: Allocate hyp vectors statically new c4792b6dbc50 arm64: spectre: Rename ARM64_HARDEN_EL2_VECTORS to ARM64_S [...] new cd1f56b930e8 arm64: spectre: Consolidate spectre-v3a detection new 4f6a36fed71d KVM: arm64: Remove redundant hyp vectors entry new dc2286f397e6 Merge branch 'kvm-arm64/vector-rework' into kvmarm-master/next new c73a44161776 KVM: arm64: CSSELR_EL1 max is 13 new c6232bd40b2e KVM: arm64: selftests: Filter out DEMUX registers new bb528f4f57d0 Merge branch 'kvm-arm64/cache-demux' into kvmarm-master/next new 8d14797b53f0 KVM: arm64: Move 'struct kvm_arch_memory_slot' out of uapi/ new 36fb4cd55f62 KVM: arm64: Remove kvm_arch_vm_ioctl_check_extension() new bf118a5cb7e6 KVM: arm64: Remove unused __extended_idmap_trampoline() prototype new 90f0e16c649a Merge branch 'kvm-arm64/misc-5.11' into kvmarm-master/next new 7f43c2014fa0 arm64: Make the Meltdown mitigation state available new 4f1df628d4ec KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV3=1 if the CPUs a [...] new f86e54653e67 Merge remote-tracking branch 'origin/kvm-arm64/csv3' into [...] new 57e3cebd022f KVM: arm64: Delay the polling of the GICR_VPENDBASER.Dirty bit new 94558543213a KVM: arm64: Some fixes of PV-time interface document new 652d0b701d13 KVM: arm64: Use kvm_write_guest_lock when init stolen time new 17f84520cb8f Merge remote-tracking branch 'origin/kvm-arm64/misc-5.11' [...] new 64dad8e49d6d Merge remote-tracking branch 'arm64/for-next/uaccess' into HEAD new d8b369c4e314 KVM: arm64: Add kvm-arm.mode early kernel parameter new 3eb681fba2bf KVM: arm64: Add ARM64_KVM_PROTECTED_MODE CPU capability new e6dd9d89a64e psci: Support psci_ops.get_version for v0.1 new 0bc7474fb767 psci: Split functions to v0.1 and v0.2+ variants new 82ac62d1658b psci: Replace psci_function_id array with a struct new 6df3e14436f6 psci: Add accessor for psci_0_1_function_ids new c1f45f4eb6fd arm64: Make cpu_logical_map() take unsigned int new 78869f0f0552 arm64: Extract parts of el2_setup into a macro new 5be1d6226d35 KVM: arm64: Remove vector_ptr param of hyp-init new 63fec24351e8 KVM: arm64: Move hyp-init params to a per-CPU struct new d3e1086c6452 KVM: arm64: Init MAIR/TCR_EL2 from params struct new 2d7bf218ca73 KVM: arm64: Add .hyp.data..ro_after_init ELF section new 687413d34d4a KVM: arm64: Support per_cpu_ptr in nVHE hyp code new 94f5e8a4642a KVM: arm64: Create nVHE copy of cpu_logical_map new a805e1fb3099 KVM: arm64: Add SMC handler in nVHE EL2 new eeeee7193df0 KVM: arm64: Bootstrap PSCI SMC handler in nVHE EL2 new d084ecc5c728 KVM: arm64: Add offset for hyp VA <-> PA conversion new 1fd12b7e4d00 KVM: arm64: Forward safe PSCI SMCs coming from host new f74e1e2128b7 KVM: arm64: Extract __do_hyp_init into a helper function new 04e05f057a04 KVM: arm64: Add function to enter host from KVM nVHE hyp code new cdf367192766 KVM: arm64: Intercept host's CPU_ON SMCs new abf16336dd22 KVM: arm64: Intercept host's CPU_SUSPEND PSCI SMCs new d945f8d9ec4a KVM: arm64: Intercept host's SYSTEM_SUSPEND PSCI SMCs new fa8c3d65538a KVM: arm64: Keep nVHE EL2 vector installed new b93c17c4185b KVM: arm64: Trap host SMCs in protected mode new f19f6644a543 KVM: arm64: Fix EL2 mode availability checks new 0cc519f85a52 KVM: arm64: Fix nVHE boot on VHE systems new 3a514592b698 Merge remote-tracking branch 'origin/kvm-arm64/psci-relay' [...] new 722e039d9a29 Merge tag 'kvmarm-5.11' of git://git.kernel.org/pub/scm/li [...] new d45f89f7437d KVM: SVM: fix 32-bit compilation new 6a447b0e3151 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt [...]
The 238 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: Documentation/admin-guide/kernel-parameters.txt | 10 + Documentation/arm64/memory.rst | 2 +- Documentation/devicetree/bindings/rtc/rtc.yaml | 5 + Documentation/driver-api/driver-model/devres.rst | 6 + Documentation/filesystems/gfs2.rst | 37 +- Documentation/virt/kvm/api.rst | 116 ++- Documentation/virt/kvm/arm/pvtime.rst | 4 +- MAINTAINERS | 4 +- arch/alpha/kernel/rtc.c | 2 +- arch/arm64/include/asm/cpucaps.h | 5 +- arch/arm64/include/asm/cpufeature.h | 5 + arch/arm64/include/asm/el2_setup.h | 181 ++++ arch/arm64/include/asm/kvm_arm.h | 1 + arch/arm64/include/asm/kvm_asm.h | 17 +- arch/arm64/include/asm/kvm_coproc.h | 38 - arch/arm64/include/asm/kvm_emulate.h | 70 +- arch/arm64/include/asm/kvm_host.h | 206 +++-- arch/arm64/include/asm/kvm_hyp.h | 4 +- arch/arm64/include/asm/kvm_mmu.h | 110 +-- arch/arm64/include/asm/mmu.h | 29 - arch/arm64/include/asm/percpu.h | 6 + arch/arm64/include/asm/sections.h | 1 + arch/arm64/include/asm/smp.h | 4 +- arch/arm64/include/asm/spectre.h | 65 ++ arch/arm64/include/asm/sysreg.h | 1 + arch/arm64/include/asm/unistd32.h | 2 +- arch/arm64/include/asm/virt.h | 26 + arch/arm64/include/uapi/asm/kvm.h | 3 - arch/arm64/kernel/asm-offsets.c | 5 + arch/arm64/kernel/cpu_errata.c | 19 +- arch/arm64/kernel/cpufeature.c | 42 +- arch/arm64/kernel/head.S | 135 +-- arch/arm64/kernel/image-vars.h | 11 +- arch/arm64/kernel/proton-pack.c | 84 +- arch/arm64/kernel/setup.c | 2 +- arch/arm64/kernel/vmlinux.lds.S | 10 + arch/arm64/kvm/Makefile | 4 +- arch/arm64/kvm/aarch32.c | 232 ------ arch/arm64/kvm/arm.c | 281 +++++-- arch/arm64/kvm/guest.c | 29 +- arch/arm64/kvm/handle_exit.c | 24 +- arch/arm64/kvm/hyp/Makefile | 2 +- arch/arm64/kvm/hyp/aarch32.c | 4 +- arch/arm64/kvm/hyp/exception.c | 331 ++++++++ arch/arm64/kvm/hyp/hyp-entry.S | 71 +- arch/arm64/kvm/hyp/include/hyp/adjust_pc.h | 62 ++ arch/arm64/kvm/hyp/include/hyp/switch.h | 17 + arch/arm64/kvm/hyp/include/nvhe/trap_handler.h | 18 + arch/arm64/kvm/hyp/nvhe/Makefile | 5 +- arch/arm64/kvm/hyp/nvhe/host.S | 58 +- arch/arm64/kvm/hyp/nvhe/hyp-init.S | 152 +++- arch/arm64/kvm/hyp/nvhe/hyp-main.c | 243 ++++-- arch/arm64/kvm/hyp/nvhe/hyp-smp.c | 40 + arch/arm64/kvm/hyp/nvhe/hyp.lds.S | 1 + arch/arm64/kvm/hyp/nvhe/psci-relay.c | 324 ++++++++ arch/arm64/kvm/hyp/nvhe/switch.c | 8 +- arch/arm64/kvm/hyp/nvhe/sysreg-sr.c | 11 - arch/arm64/kvm/hyp/smccc_wa.S | 32 - arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c | 2 + arch/arm64/kvm/hyp/vgic-v3-sr.c | 2 + arch/arm64/kvm/hyp/vhe/Makefile | 2 +- arch/arm64/kvm/hyp/vhe/switch.c | 3 + arch/arm64/kvm/inject_fault.c | 167 ++-- arch/arm64/kvm/mmio.c | 2 +- arch/arm64/kvm/mmu.c | 2 +- arch/arm64/kvm/pmu-emul.c | 19 +- arch/arm64/kvm/pvtime.c | 6 +- arch/arm64/kvm/regmap.c | 224 ----- arch/arm64/kvm/reset.c | 57 +- arch/arm64/kvm/sys_regs.c | 390 +++------ arch/arm64/kvm/sys_regs.h | 9 +- arch/arm64/kvm/va_layout.c | 104 ++- arch/arm64/kvm/vgic-sys-reg-v3.c | 4 - arch/arm64/kvm/vgic/vgic-v4.c | 12 + arch/arm64/kvm/vgic/vgic.c | 3 + arch/mips/kernel/syscalls/syscall_n32.tbl | 2 +- arch/s390/include/asm/kvm_host.h | 1 + arch/s390/kernel/syscalls/syscall.tbl | 2 +- arch/s390/kvm/guestdbg.c | 8 +- arch/s390/kvm/intercept.c | 2 +- arch/s390/kvm/interrupt.c | 10 +- arch/s390/kvm/kvm-s390.c | 22 +- arch/s390/kvm/priv.c | 4 +- arch/s390/kvm/pv.c | 6 +- arch/s390/kvm/vsie.c | 4 +- arch/s390/mm/gmap.c | 30 +- arch/sparc/kernel/syscalls/syscall.tbl | 2 +- arch/x86/include/asm/cpufeatures.h | 2 + arch/x86/include/asm/kvm_host.h | 20 +- arch/x86/include/asm/msr-index.h | 1 + arch/x86/include/asm/svm.h | 40 +- arch/x86/include/asm/vmx.h | 1 + arch/x86/include/uapi/asm/kvm.h | 1 + arch/x86/include/uapi/asm/svm.h | 28 + arch/x86/include/uapi/asm/vmx.h | 2 + arch/x86/kernel/cpu/cpuid-deps.c | 1 + arch/x86/kernel/cpu/scattered.c | 1 + arch/x86/kernel/cpu/vmware.c | 12 +- arch/x86/kernel/kvmclock.c | 1 - arch/x86/kvm/Kconfig | 3 +- arch/x86/kvm/Makefile | 3 +- arch/x86/kvm/cpuid.c | 3 +- arch/x86/kvm/cpuid.h | 14 + arch/x86/kvm/hyperv.c | 6 +- arch/x86/kvm/hyperv.h | 4 +- arch/x86/kvm/kvm_cache_regs.h | 51 +- arch/x86/kvm/lapic.c | 45 +- arch/x86/kvm/mmu/mmu.c | 10 +- arch/x86/kvm/mmu/mmutrace.h | 29 + arch/x86/kvm/mmu/tdp_mmu.c | 16 +- arch/x86/kvm/mtrr.c | 6 +- arch/x86/kvm/svm/avic.c | 9 +- arch/x86/kvm/svm/nested.c | 11 +- arch/x86/kvm/svm/sev.c | 915 ++++++++++++++++++++- arch/x86/kvm/svm/svm.c | 469 ++++++++--- arch/x86/kvm/svm/svm.h | 167 +++- arch/x86/kvm/svm/vmenter.S | 50 ++ arch/x86/kvm/trace.h | 97 +++ arch/x86/kvm/vmx/evmcs.c | 3 +- arch/x86/kvm/vmx/nested.c | 57 +- arch/x86/kvm/vmx/vmenter.S | 2 +- arch/x86/kvm/vmx/vmx.c | 171 ++-- arch/x86/kvm/vmx/vmx.h | 2 +- arch/x86/kvm/x86.c | 511 +++++++++--- arch/x86/kvm/x86.h | 31 +- drivers/firmware/psci/psci.c | 126 +-- drivers/irqchip/irq-gic-v3-its.c | 12 +- drivers/irqchip/irq-gic-v4.c | 19 + drivers/mfd/menelaus.c | 2 +- drivers/rtc/Kconfig | 33 +- drivers/rtc/class.c | 52 +- drivers/rtc/nvmem.c | 91 +- drivers/rtc/rtc-88pm80x.c | 2 +- drivers/rtc/rtc-88pm860x.c | 2 +- drivers/rtc/rtc-ab-b5ze-s3.c | 2 +- drivers/rtc/rtc-ab-eoz9.c | 2 +- drivers/rtc/rtc-ab3100.c | 2 +- drivers/rtc/rtc-ab8500.c | 2 +- drivers/rtc/rtc-abx80x.c | 2 +- drivers/rtc/rtc-ac100.c | 2 +- drivers/rtc/rtc-armada38x.c | 2 +- drivers/rtc/rtc-aspeed.c | 2 +- drivers/rtc/rtc-at91rm9200.c | 108 ++- drivers/rtc/rtc-at91sam9.c | 2 +- drivers/rtc/rtc-au1xxx.c | 2 +- drivers/rtc/rtc-bd70528.c | 2 +- drivers/rtc/rtc-brcmstb-waketimer.c | 5 +- drivers/rtc/rtc-cadence.c | 2 +- drivers/rtc/rtc-cmos.c | 6 +- drivers/rtc/rtc-coh901331.c | 2 +- drivers/rtc/rtc-cpcap.c | 8 +- drivers/rtc/rtc-cros-ec.c | 2 +- drivers/rtc/rtc-da9052.c | 2 +- drivers/rtc/rtc-da9063.c | 4 +- drivers/rtc/rtc-davinci.c | 2 +- drivers/rtc/rtc-digicolor.c | 2 +- drivers/rtc/rtc-dm355evm.c | 2 +- drivers/rtc/rtc-ds1305.c | 5 +- drivers/rtc/rtc-ds1307.c | 83 +- drivers/rtc/rtc-ds1343.c | 5 +- drivers/rtc/rtc-ds1347.c | 2 +- drivers/rtc/rtc-ds1374.c | 2 +- drivers/rtc/rtc-ds1511.c | 6 +- drivers/rtc/rtc-ds1553.c | 6 +- drivers/rtc/rtc-ds1672.c | 2 +- drivers/rtc/rtc-ds1685.c | 5 +- drivers/rtc/rtc-ds1742.c | 6 +- drivers/rtc/rtc-ds2404.c | 2 +- drivers/rtc/rtc-ds3232.c | 2 +- drivers/rtc/rtc-ep93xx.c | 8 +- drivers/rtc/rtc-fsl-ftm-alarm.c | 2 +- drivers/rtc/rtc-ftrtc010.c | 2 +- drivers/rtc/rtc-goldfish.c | 2 +- drivers/rtc/rtc-hym8563.c | 7 +- drivers/rtc/rtc-imx-sc.c | 2 +- drivers/rtc/rtc-imxdi.c | 2 +- drivers/rtc/rtc-isl12026.c | 4 +- drivers/rtc/rtc-isl1208.c | 4 +- drivers/rtc/rtc-jz4740.c | 2 +- drivers/rtc/rtc-lpc32xx.c | 2 +- drivers/rtc/rtc-ls1x.c | 2 +- drivers/rtc/rtc-m41t80.c | 2 +- drivers/rtc/rtc-m48t59.c | 5 +- drivers/rtc/rtc-m48t86.c | 5 +- drivers/rtc/rtc-mc13xxx.c | 2 +- drivers/rtc/rtc-meson-vrtc.c | 2 +- drivers/rtc/rtc-meson.c | 4 +- drivers/rtc/rtc-mpc5121.c | 2 +- drivers/rtc/rtc-mrst.c | 2 +- drivers/rtc/rtc-mt2712.c | 2 +- drivers/rtc/rtc-mt6397.c | 2 +- drivers/rtc/rtc-mv.c | 2 +- drivers/rtc/rtc-mxc.c | 25 +- drivers/rtc/rtc-mxc_v2.c | 2 +- drivers/rtc/rtc-omap.c | 13 +- drivers/rtc/rtc-pcap.c | 2 +- drivers/rtc/rtc-pcf2123.c | 2 +- drivers/rtc/rtc-pcf2127.c | 73 +- drivers/rtc/rtc-pcf85063.c | 4 +- drivers/rtc/rtc-pcf8523.c | 34 +- drivers/rtc/rtc-pcf85363.c | 4 +- drivers/rtc/rtc-pcf8563.c | 2 +- drivers/rtc/rtc-pic32.c | 2 +- drivers/rtc/rtc-pl030.c | 2 +- drivers/rtc/rtc-pl031.c | 8 +- drivers/rtc/rtc-pm8xxx.c | 2 +- drivers/rtc/rtc-ps3.c | 2 +- drivers/rtc/rtc-r9701.c | 2 +- drivers/rtc/rtc-rc5t619.c | 2 +- drivers/rtc/rtc-rk808.c | 2 +- drivers/rtc/rtc-rp5c01.c | 5 +- drivers/rtc/rtc-rs5c348.c | 2 +- drivers/rtc/rtc-rv3028.c | 6 +- drivers/rtc/rtc-rv3029c2.c | 4 +- drivers/rtc/rtc-rv3032.c | 8 +- drivers/rtc/rtc-rv8803.c | 5 +- drivers/rtc/rtc-rx6110.c | 165 +++- drivers/rtc/rtc-rx8010.c | 2 +- drivers/rtc/rtc-rx8581.c | 4 +- drivers/rtc/rtc-s35390a.c | 2 +- drivers/rtc/rtc-s3c.c | 230 +----- drivers/rtc/rtc-sa1100.c | 2 +- drivers/rtc/rtc-sc27xx.c | 42 +- drivers/rtc/rtc-sd3078.c | 2 +- drivers/rtc/rtc-sh.c | 2 +- drivers/rtc/rtc-sirfsoc.c | 2 +- drivers/rtc/rtc-snvs.c | 69 +- drivers/rtc/rtc-st-lpc.c | 2 +- drivers/rtc/rtc-starfire.c | 2 +- drivers/rtc/rtc-stk17ta8.c | 5 +- drivers/rtc/rtc-stmp3xxx.c | 2 +- drivers/rtc/rtc-sun4v.c | 2 +- drivers/rtc/rtc-sun6i.c | 10 +- drivers/rtc/rtc-sunxi.c | 2 +- drivers/rtc/rtc-tegra.c | 2 +- drivers/rtc/rtc-test.c | 3 +- drivers/rtc/rtc-tps6586x.c | 2 +- drivers/rtc/rtc-tps65910.c | 2 +- drivers/rtc/rtc-tx4939.c | 5 +- drivers/rtc/rtc-vr41xx.c | 2 +- drivers/rtc/rtc-vt8500.c | 2 +- drivers/rtc/rtc-wilco-ec.c | 2 +- drivers/rtc/rtc-wm831x.c | 2 +- drivers/rtc/rtc-xgene.c | 2 +- drivers/rtc/rtc-zynqmp.c | 2 +- drivers/rtc/sysfs.c | 2 - drivers/vfio/virqfd.c | 3 + fs/eventfd.c | 5 +- fs/gfs2/glock.c | 8 - fs/gfs2/incore.h | 1 - fs/gfs2/inode.c | 16 +- fs/gfs2/inode.h | 3 - fs/gfs2/super.c | 2 - fs/gfs2/util.c | 2 +- fs/gfs2/util.h | 6 +- include/kvm/arm_pmu.h | 3 - include/kvm/arm_vgic.h | 1 + include/linux/eventfd.h | 6 + include/linux/irqchip/arm-gic-v4.h | 4 + include/linux/kvm_dirty_ring.h | 103 +++ include/linux/kvm_host.h | 21 +- include/linux/psci.h | 9 + include/linux/rtc.h | 22 +- include/linux/wait.h | 12 +- include/trace/events/kvm.h | 63 ++ include/uapi/linux/kvm.h | 56 +- kernel/sched/wait.c | 17 +- tools/testing/selftests/kvm/.gitignore | 6 +- tools/testing/selftests/kvm/Makefile | 5 +- tools/testing/selftests/kvm/aarch64/get-reg-list.c | 39 +- tools/testing/selftests/kvm/dirty_log_perf_test.c | 55 +- tools/testing/selftests/kvm/dirty_log_test.c | 344 +++++++- tools/testing/selftests/kvm/include/kvm_util.h | 38 +- .../testing/selftests/kvm/include/perf_test_util.h | 4 - .../kvm/include/s390x/diag318_test_handler.h | 13 + .../selftests/kvm/include/x86_64/processor.h | 17 + tools/testing/selftests/kvm/include/x86_64/vmx.h | 4 - .../testing/selftests/kvm/lib/aarch64/processor.c | 17 - tools/testing/selftests/kvm/lib/kvm_util.c | 158 +++- .../testing/selftests/kvm/lib/kvm_util_internal.h | 4 + .../selftests/kvm/lib/s390x/diag318_test_handler.c | 82 ++ tools/testing/selftests/kvm/lib/s390x/processor.c | 22 - tools/testing/selftests/kvm/lib/x86_64/processor.c | 32 - tools/testing/selftests/kvm/s390x/sync_regs_test.c | 16 +- .../testing/selftests/kvm/set_memory_region_test.c | 2 - .../selftests/kvm/x86_64/cr4_cpuid_sync_test.c | 1 - tools/testing/selftests/kvm/x86_64/debug_regs.c | 1 - tools/testing/selftests/kvm/x86_64/evmcs_test.c | 2 - tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c | 87 +- tools/testing/selftests/kvm/x86_64/kvm_pv_test.c | 4 +- .../testing/selftests/kvm/x86_64/set_sregs_test.c | 92 ++- tools/testing/selftests/kvm/x86_64/smm_test.c | 2 - tools/testing/selftests/kvm/x86_64/state_test.c | 1 - .../testing/selftests/kvm/x86_64/svm_vmcall_test.c | 1 - tools/testing/selftests/kvm/x86_64/tsc_msrs_test.c | 1 - tools/testing/selftests/kvm/x86_64/user_msr_test.c | 248 ------ .../selftests/kvm/x86_64/userspace_msr_exit_test.c | 770 +++++++++++++++++ .../selftests/kvm/x86_64/vmx_apic_access_test.c | 1 - .../kvm/x86_64/vmx_close_while_nested_test.c | 1 - .../selftests/kvm/x86_64/vmx_dirty_log_test.c | 1 - .../kvm/x86_64/vmx_preemption_timer_test.c | 15 +- .../kvm/x86_64/vmx_set_nested_state_test.c | 21 + .../selftests/kvm/x86_64/vmx_tsc_adjust_test.c | 1 - virt/kvm/dirty_ring.c | 194 +++++ virt/kvm/eventfd.c | 9 +- virt/kvm/kvm_main.c | 170 +++- 306 files changed, 7856 insertions(+), 3590 deletions(-) create mode 100644 arch/arm64/include/asm/el2_setup.h delete mode 100644 arch/arm64/include/asm/kvm_coproc.h delete mode 100644 arch/arm64/kvm/aarch32.c create mode 100644 arch/arm64/kvm/hyp/exception.c create mode 100644 arch/arm64/kvm/hyp/include/hyp/adjust_pc.h create mode 100644 arch/arm64/kvm/hyp/include/nvhe/trap_handler.h create mode 100644 arch/arm64/kvm/hyp/nvhe/hyp-smp.c create mode 100644 arch/arm64/kvm/hyp/nvhe/psci-relay.c delete mode 100644 arch/arm64/kvm/hyp/smccc_wa.S delete mode 100644 arch/arm64/kvm/regmap.c create mode 100644 include/linux/kvm_dirty_ring.h create mode 100644 tools/testing/selftests/kvm/include/s390x/diag318_test_handler.h create mode 100644 tools/testing/selftests/kvm/lib/s390x/diag318_test_handler.c delete mode 100644 tools/testing/selftests/kvm/x86_64/user_msr_test.c create mode 100644 tools/testing/selftests/kvm/x86_64/userspace_msr_exit_test.c create mode 100644 virt/kvm/dirty_ring.c