summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2023-06-05 14:07:03 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-06-08 17:16:39 +0300
commit74abe5a39d3a110f4c87c8ff34b80705009a96e0 (patch)
treeb2ee1ac0c4ca100a4efa36fddb408eefeda81006 /net/lapb
parent6b533828726af4e3609aeb6e5f494e936f9a7cde (diff)
downloadlinux-74abe5a39d3a110f4c87c8ff34b80705009a96e0.tar.xz
riscv: Disable Vector Instructions for kernel itself
Disable vector instructions execution for kernel mode at its entrances. This helps find illegal uses of vector in the kernel space, which is similar to the fpu. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Co-developed-by: Vincent Chen <vincent.chen@sifive.com> Signed-off-by: Vincent Chen <vincent.chen@sifive.com> Co-developed-by: Han-Kuan Chen <hankuan.chen@sifive.com> Signed-off-by: Han-Kuan Chen <hankuan.chen@sifive.com> Co-developed-by: Greentime Hu <greentime.hu@sifive.com> Signed-off-by: Greentime Hu <greentime.hu@sifive.com> Signed-off-by: Vineet Gupta <vineetg@rivosinc.com> Signed-off-by: Andy Chiu <andy.chiu@sifive.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Tested-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Link: https://lore.kernel.org/r/20230605110724.21391-7-andy.chiu@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions