Zihao Yu 2d71bffbe9 riscv,entry: fix misaligned base for excp_vect_table
[ Upstream commit ac8d0b901f0033b783156ab2dc1a0e73ec42409b ]

In RV64, the size of each entry in excp_vect_table is 8 bytes. If the
base of the table is not 8-byte aligned, loading an entry in the table
will raise a misaligned exception. Although such exception will be
handled by opensbi/bbl, this still causes performance degradation.

Signed-off-by: Zihao Yu <yuzihao@ict.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-16 11:46:38 +02:00
..
2020-05-20 08:20:13 +02:00
2017-09-26 15:26:49 -07:00
2019-08-30 11:04:19 -07:00
2020-01-14 20:08:34 +01:00
2019-10-28 00:46:01 -07:00
2021-01-27 11:47:43 +01:00
2019-10-28 00:46:01 -07:00