diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-05-28 03:41:32 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-05-28 11:39:31 +0200 |
commit | 630f972d76d6460235e84e1aa034ee06f9c8c3a9 (patch) | |
tree | 0740cd597fd3cf9325fdaffe1452f055c04688a3 /include/memory | |
parent | riscv/efi_stub: Add support for RISCV_EFI_BOOT_PROTOCOL (diff) | |
download | linux-630f972d76d6460235e84e1aa034ee06f9c8c3a9.tar.xz linux-630f972d76d6460235e84e1aa034ee06f9c8c3a9.zip |
riscv: read-only pages should not be writable
If EFI pages are marked as read-only,
we should remove the _PAGE_WRITE flag.
The current code overwrites an unused value.
Fixes: b91540d52a08b ("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>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions