aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
diff options
context:
space:
mode:
authorClément Léger <[email protected]>2024-04-09 14:38:37 +0000
committerPalmer Dabbelt <[email protected]>2024-04-23 14:06:44 +0000
commit5ea6764d9095e234b024054f75ebbccc4f0eb146 (patch)
tree7df6f6e8ca12a8271aa4560b9d44f2dc350f3482 /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
parentMerge patch the fixes from "riscv: 64-bit NOMMU fixes and enhancements" (diff)
downloadkernel-5ea6764d9095e234b024054f75ebbccc4f0eb146.tar.gz
kernel-5ea6764d9095e234b024054f75ebbccc4f0eb146.zip
riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN
The current definition yields a negative 32bits signed value which result in a mask with is obviously incorrect. Replace it by using a 1ULL bit shift value to obtain a single set bit mask. Fixes: 5dadda5e6a59 ("riscv: hwprobe: export Zvfh[min] ISA extensions") Signed-off-by: Clément Léger <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c')
0 files changed, 0 insertions, 0 deletions