android_kernel_motorola_sm6375/arch/powerpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe Leroy de6e271338 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
[ Upstream commit 5ea0bbaa32e8f54e9a57cfee4a3b8769b80be0d2 ]

Commit 45201c8794 ("powerpc/nohash: Remove hash related code from
nohash headers.") replaced:

  if ((pte_val(*ptep) & (_PAGE_ACCESSED | _PAGE_HASHPTE)) == 0)
	return 0;

By:

  if (pte_young(*ptep))
	return 0;

But it should be:

  if (!pte_young(*ptep))
	return 0;

Fix it.

Fixes: 45201c8794 ("powerpc/nohash: Remove hash related code from nohash headers.")
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/8bb7f06494e21adada724ede47a4c3d97e879d40.1695659959.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <[email protected]>
2023-10-25 11:53:20 +02:00
..
boot powerpc: dts: t208x: Disable 10G on MAC1 and MAC2 2023-02-25 11:53:26 +01:00
configs Remove DECnet support from kernel 2023-06-21 15:44:10 +02:00
crypto
include powerpc/64e: Fix wrong test in __ptep_test_and_clear_young() 2023-10-25 11:53:20 +02:00
kernel powerpc/watchpoints: Annotate atomic context in more places 2023-10-10 21:46:40 +02:00
kvm treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
lib
math-emu powerpc/math_emu/efp: Include module.h 2022-10-26 13:22:44 +02:00
mm powerpc/kasan: Disable KCOV in KASAN code 2023-08-30 16:27:11 +02:00
net
oprofile
perf powerpc/perf/hv-24x7: Update domain value check 2023-10-10 21:46:37 +02:00
platforms powerpc/pseries: fix possible memory leak in ibmebus_bus_init() 2023-09-23 11:00:04 +02:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-21 15:44:10 +02:00
sysdev powerpc/sysdev/tsi108: fix resource printk format warnings 2023-05-17 11:35:50 +02:00
tools
xmon
Kbuild
Kconfig
Kconfig.debug powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-07-27 08:37:23 +02:00
Makefile powerpc: Fail build if using recordmcount with binutils v2.37 2023-07-27 08:37:34 +02:00
Makefile.postlink