linux-stable/arch
Clément Léger f50519b094 riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN
[ Upstream commit 5ea6764d90 ]

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: 5dadda5e6a ("riscv: hwprobe: export Zvfh[min] ISA extensions")
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240409143839.558784-1-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-02 16:35:34 +02:00
..
alpha RTC for 6.8 2024-01-18 17:25:39 -08:00
arc ARC: [plat-hsdk]: Remove misplaced interrupt-cells property 2024-05-02 16:35:14 +02:00
arm ARM: dts: imx6ull-tarragon: fix USB over-current polarity 2024-05-02 16:35:21 +02:00
arm64 arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma 2024-05-02 16:35:28 +02:00
csky work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
hexagon hexagon: vmlinux.lds.S: handle attributes section 2024-04-03 15:32:39 +02:00
loongarch LoongArch: Fix access error when read fault on a write-only VMA 2024-05-02 16:35:28 +02:00
m68k kbuild: use 4-space indentation when followed by conditionals 2024-02-15 06:05:44 +09:00
microblaze Microblaze patches for 6.8-rc1 2024-01-17 11:27:23 -08:00
mips mips: cm: Convert __mips_cm_l2sync_phys_base() to weak function 2024-03-26 18:17:21 -04:00
nios2 percpu: 2024-01-18 15:01:28 -08:00
openrisc
parisc prctl: generalize PR_SET_MDWE support check to be per-arch 2024-04-03 15:32:37 +02:00
powerpc mm/treewide: replace pud_large() with pud_leaf() 2024-04-10 16:38:00 +02:00
riscv riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN 2024-05-02 16:35:34 +02:00
s390 s390/entry: align system call table on 8 bytes 2024-04-10 16:38:20 +02:00
sh sh updates for v6.8 2024-01-20 09:24:06 -08:00
sparc mm/treewide: replace pud_large() with pud_leaf() 2024-04-10 16:38:00 +02:00
um work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
x86 cpu: Re-enable CPU mitigations by default for !X86 architectures 2024-05-02 16:35:28 +02:00
xtensa work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
.gitignore
Kconfig cpu: Re-enable CPU mitigations by default for !X86 architectures 2024-05-02 16:35:28 +02:00