WSL2-Linux-Kernel/arch/powerpc
Andreas Gruenbacher ec5ebfd1ce powerpc/kvm: Fix kvm_use_magic_page
commit 0c8eb2884a upstream.

When switching from __get_user to fault_in_pages_readable, commit
9f9eae5ce7 broke kvm_use_magic_page: like __get_user,
fault_in_pages_readable returns 0 on success.

Fixes: 9f9eae5ce7 ("powerpc/kvm: Prefer fault_in_pages_readable function")
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:22:57 +02:00
..
boot powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses 2022-01-27 11:05:24 +01:00
configs Documentation, arch: Remove leftovers from CIFS_WEAK_PW_HASH 2022-01-27 11:05:21 +01:00
crypto
include powerpc/fixmap: Fix VM debug warning on unmap 2022-02-16 12:56:12 +01:00
kernel powerpc/kvm: Fix kvm_use_magic_page 2022-04-08 14:22:57 +02:00
kexec
kvm KVM: PPC: Book3S HV Nested: Fix nested HFSCR being clobbered with multiple vCPUs 2022-02-01 17:27:03 +01:00
lib powerpc/lib/sstep: fix 'ptesync' build error 2022-02-23 12:03:14 +01:00
math-emu
mm powerpc/fixmap: Fix VM debug warning on unmap 2022-02-16 12:56:12 +01:00
net powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06 2022-02-01 17:27:09 +01:00
perf powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending 2022-02-01 17:27:12 +01:00
platforms powerpc/cell: Fix clang -Wimplicit-fallthrough warning 2022-01-27 11:05:24 +01:00
purgatory
sysdev powerpc/xive: Add missing null check after calling kmalloc 2022-01-27 11:04:18 +01:00
tools
xmon powerpc/xmon: fix task state output 2021-11-18 19:16:57 +01:00
Kbuild
Kconfig powerpc/booke: Disable STRICT_KERNEL_RWX, DEBUG_PAGEALLOC and KFENCE 2021-11-18 19:16:54 +01:00
Kconfig.debug
Makefile
Makefile.postlink