summaryrefslogtreecommitdiff
path: root/crypto/simd.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-02-27 03:34:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-02 17:35:33 +0300
commitefdcfa554b6eb228943ef1dd4d023c606be647d2 (patch)
tree1f9791da24b12f6831b5784db09115a3f9b822d9 /crypto/simd.c
parent47533176fdcef17b114a6f688bc872901c1ec6bb (diff)
downloadlinux-efdcfa554b6eb228943ef1dd4d023c606be647d2.tar.xz
riscv: Fix TASK_SIZE on 64-bit NOMMU
[ Upstream commit 6065e736f82c817c9a597a31ee67f0ce4628e948 ] On NOMMU, userspace memory can come from anywhere in physical RAM. The current definition of TASK_SIZE is wrong if any RAM exists above 4G, causing spurious failures in the userspace access routines. Fixes: 6bd33e1ece52 ("riscv: add nommu support") Fixes: c3f896dcf1e4 ("mm: switch the test_vmalloc module to use __vmalloc_node") Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Reviewed-by: Bo Gan <ganboing@gmail.com> Link: https://lore.kernel.org/r/20240227003630.3634533-2-samuel.holland@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/simd.c')
0 files changed, 0 insertions, 0 deletions