tmp_suning_uos_patched/arch/riscv/kernel
Heinrich Schuchardt b97550e380 riscv: read-only pages should not be writable
[ Upstream commit 630f972d76d6460235e84e1aa034ee06f9c8c3a9 ]

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:32:36 +02:00
..
vdso
.gitignore
asm-offsets.c
cacheinfo.c drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION() 2021-09-26 14:08:59 +02:00
cpu_ops_sbi.c
cpu_ops_spinwait.c
cpu_ops.c
cpu-hotplug.c
cpu.c
cpufeature.c
efi-header.S
efi.c riscv: read-only pages should not be writable 2022-06-14 18:32:36 +02:00
entry.S riscv: fix oops caused by irqsoff latency tracer 2022-03-02 11:42:56 +01:00
fpu.S
ftrace.c
head.h
head.S riscv: Initialize thread pointer before calling C functions 2022-06-09 10:20:47 +02:00
image-vars.h
irq.c
jump_label.c
kgdb.c
Makefile riscv: fix oops caused by irqsoff latency tracer 2022-03-02 11:42:56 +01:00
mcount-dyn.S
mcount.S
module-sections.c
module.c riscv: Fix auipc+jalr relocation range checks 2022-03-16 14:16:01 +01:00
patch.c riscv: patch_text: Fixup last cpu should be master 2022-05-09 09:04:59 +02:00
perf_callchain.c uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:40:35 +02:00
perf_event.c
perf_regs.c
process.c
ptrace.c riscv: Ensure the value of FP registers in the core dump file is up to date 2021-09-03 10:09:22 +02:00
reset.c
riscv_ksyms.c
sbi.c
setup.c
signal.c
smp.c
smpboot.c
soc.c
stacktrace.c
sys_riscv.c
syscall_table.c
time.c
trace_irq.c riscv: fix oops caused by irqsoff latency tracer 2022-03-02 11:42:56 +01:00
trace_irq.h riscv: fix oops caused by irqsoff latency tracer 2022-03-02 11:42:56 +01:00
traps_misaligned.c
traps.c
vdso.c riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for write killable 2021-10-13 10:04:29 +02:00
vmlinux.lds.S