linux-stable/arch
Shiqi Liu bd230b5236 arm64/sysreg: Update PIE permission encodings
[ Upstream commit 12d712dc8e ]

Fix left shift overflow issue when the parameter idx is greater than or
equal to 8 in the calculation of perm in PIRx_ELx_PERM macro.

Fix this by modifying the encoding to use a long integer type.

Signed-off-by: Shiqi Liu <shiqiliu@hust.edu.cn>
Acked-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20240421063328.29710-1-shiqiliu@hust.edu.cn
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-27 13:52:14 +02:00
..
alpha
arc ARC: [plat-hsdk]: Remove misplaced interrupt-cells property 2024-04-16 10:45:57 -07:00
arm ARM: dts: samsung: exynos4412-origen: fix keypad no-autorepeat 2024-06-16 13:51:11 +02:00
arm64 arm64/sysreg: Update PIE permission encodings 2024-06-27 13:52:14 +02:00
csky
hexagon hexagon: vmlinux.lds.S: handle attributes section 2024-03-26 11:07:23 -07:00
loongarch LoongArch: Fix entry point in kernel image header 2024-06-16 13:51:03 +02:00
m68k m68k: Move ARCH_HAS_CPU_CACHE_ALIASING 2024-05-30 09:44:34 +02:00
microblaze microblaze: Remove early printk call from cpuinfo-static.c 2024-06-12 11:39:14 +02:00
mips Fix for syscall_get_nr() to make it work even if tracing is disabled 2024-04-12 08:46:58 -07:00
nios2 nios2: Only use built-in devicetree blob if configured to do so 2024-04-03 14:35:53 -05:00
openrisc openrisc: traps: Don't send signals to kernel mode threads 2024-05-30 09:44:21 +02:00
parisc parisc: Try to fix random segmentation faults in package builds 2024-06-21 14:40:28 +02:00
powerpc powerpc/uaccess: Fix build errors seen with GCC 13/14 2024-06-21 14:40:15 +02:00
riscv riscv: force PAGE_SIZE linear mapping if debug_pagealloc is enabled 2024-06-21 14:40:35 +02:00
s390 s390/cpacf: Make use of invalid opcode produce a link error 2024-06-16 13:51:12 +02:00
sh Revert "sh: Handle calling csum_partial with misaligned data" 2024-05-30 09:44:29 +02:00
sparc sparc: move struct termio to asm/termios.h 2024-06-16 13:51:10 +02:00
um um: Fix the declaration of kasan_map_memory 2024-06-12 11:39:32 +02:00
x86 x86/amd_nb: Check for invalid SMN reads 2024-06-21 14:40:30 +02:00
xtensa Xtensa fixes for v6.9: 2024-05-02 10:41:28 -07:00
.gitignore
Kconfig cpu: Re-enable CPU mitigations by default for !X86 architectures 2024-04-25 15:47:35 +02:00