aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorZihao Yu <[email protected]>2021-03-17 08:17:25 +0000
committerPalmer Dabbelt <[email protected]>2021-04-02 04:37:05 +0000
commitac8d0b901f0033b783156ab2dc1a0e73ec42409b (patch)
treec30bba6025078108ef26dadf653ac8083b0941af /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentriscv: evaluate put_user() arg before enabling user access (diff)
downloadkernel-ac8d0b901f0033b783156ab2dc1a0e73ec42409b.tar.gz
kernel-ac8d0b901f0033b783156ab2dc1a0e73ec42409b.zip
riscv,entry: fix misaligned base for excp_vect_table
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 <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions