linux-stable/arch
Heinrich Schuchardt 6005d36fbc riscv: read-only pages should not be writable
[ Upstream commit 630f972d76 ]

If EFI pages are marked as read-only,
we should remove the _PAGE_WRITE flag.

The current code overwrites an unused value.

Fixes: b91540d52a ("RISC-V: Add EFI runtime services")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Link: https://lore.kernel.org/r/20220528014132.91052-1-heinrich.schuchardt@canonical.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:36:11 +02:00
..
alpha alpha: fix alloc_zeroed_user_highpage_movable() 2022-06-09 10:22:43 +02:00
arc ARC: entry: fix syscall_trace_exit argument 2022-04-27 14:39:00 +02:00
arm ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1 2022-06-14 18:36:07 +02:00
arm64 arm64: tegra: Add missing DFLL reset on Tegra210 2022-06-09 10:23:29 +02:00
csky csky: patch_text: Fixup last cpu should be master 2022-06-09 10:23:26 +02:00
h8300
hexagon uaccess: fix integer overflow on access_ok() 2022-03-28 09:58:45 +02:00
ia64 ia64: define get_cycles macro for arch-override 2022-05-30 09:29:12 +02:00
m68k m68k: math-emu: Fix dependencies of math emulation support 2022-06-09 10:22:59 +02:00
microblaze uaccess: fix nios2 and microblaze get_user_8() 2022-04-08 14:23:18 +02:00
mips MIPS: IP30: Remove incorrect `cpu_has_fpu' override 2022-06-09 10:23:31 +02:00
nds32 nds32: fix access_ok() checks in get/put_user 2022-03-28 09:58:46 +02:00
nios2 nios2: use fallback for random_get_entropy() instead of zero 2022-05-30 09:29:14 +02:00
openrisc openrisc: start CPU timer early in boot 2022-06-09 10:22:38 +02:00
parisc parisc/stifb: Implement fb_is_primary_device() 2022-06-09 10:22:26 +02:00
powerpc powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup 2022-06-09 10:23:12 +02:00
riscv riscv: read-only pages should not be writable 2022-06-14 18:36:11 +02:00
s390 s390/crypto: fix scatterwalk_unmap() callers in AES-GCM 2022-06-14 18:36:09 +02:00
sh
sparc signal: Deliver SIGTRAP on perf event asynchronously if blocked 2022-06-09 10:22:48 +02:00
um um: chan_user: Fix winch_tramp() return value 2022-06-09 10:23:27 +02:00
x86 kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add] 2022-06-09 10:23:27 +02:00
xtensa xtensa/simdisk: fix proc_read_simdisk() 2022-06-09 10:23:28 +02:00
.gitignore
Kconfig stack: Constrain and fix stack offset randomization with Clang builds 2022-04-08 14:23:06 +02:00