linux-yocto/arch/riscv/kernel
Andreas Schwab b3510183ab
riscv: traps_misaligned: properly sign extend value in misaligned load handler
Add missing cast to signed long.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Fixes: 956d705dd2 ("riscv: Unaligned load/store handling for M_MODE")
Tested-by: Clément Léger <cleger@rivosinc.com>
Link: https://lore.kernel.org/r/mvmikk0goil.fsf@suse.de
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
2025-07-16 09:05:39 -07:00
..
compat_vdso Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
pi riscv: Do not use fortify in early code 2024-10-25 06:18:36 -07:00
probes riscv: uprobes: Add missing fence.i after building the XOL buffer 2025-04-24 13:20:02 -07:00
tests
vdso riscv: vdso: Exclude .rodata from the PT_DYNAMIC segment 2025-06-10 13:06:48 -07:00
vendor_extensions riscv: Fix sparse warning in vendor_extensions/sifive.c 2025-06-23 15:57:59 -07:00
.gitignore
acpi_numa.c ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE 2024-09-20 01:31:26 -07:00
acpi.c mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long 2025-03-16 22:06:23 -07:00
alternative.c asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
asm-offsets.c riscv: uaccess: Only restore the CSR_STATUS SUM bit 2025-06-05 14:03:17 -07:00
bugs.c riscv: Add ghostwrite vulnerability 2025-01-18 12:33:39 -08:00
cacheinfo.c riscv: cacheinfo: Use of_property_present() for non-boolean properties 2025-02-14 13:04:20 -08:00
cfi.c
compat_signal.c
compat_syscall_table.c riscv: convert to generic syscall table 2024-07-10 14:23:38 +02:00
copy-unaligned.h RISC-V: Report vector unaligned access speed hwprobe 2024-10-18 12:38:34 -07:00
copy-unaligned.S
cpu_ops_sbi.c riscv: cpu_ops_sbi: Use static array for boot_data 2025-06-30 06:58:11 +00:00
cpu_ops_spinwait.c riscv: prevent pt_regs corruption for secondary idle threads 2024-05-30 09:42:51 -07:00
cpu_ops.c
cpu-hotplug.c riscv: Use '%u' to format the output of 'cpu' 2024-10-25 06:18:40 -07:00
cpu.c riscv: Add vendor extensions to /proc/cpuinfo 2024-07-22 15:36:55 -07:00
cpufeature.c riscv: Add support for Zicbop 2025-06-05 11:09:37 -07:00
crash_dump.c
crash_save_regs.S
efi-header.S include: pe.h: Fix PE definitions 2025-05-21 16:46:37 +02:00
efi.c
entry.S RISC-V Patches for the 6.16 Merge Window, Part 1 2025-06-06 18:05:18 -07:00
fpu.S RISC-V: Replace RISCV_MISALIGNED with RISCV_SCALAR_MISALIGNED 2024-10-18 12:38:32 -07:00
ftrace.c riscv: ftrace: Properly acquire text_mutex to fix a race condition 2025-07-16 08:21:47 -07:00
head.h
head.S RISC-V: KVM: Remove scounteren initialization 2025-05-21 09:34:55 +05:30
hibernate-asm.S
hibernate.c
image-vars.h
irq.c
jump_label.c riscv: Move nop definition to insn-def.h 2025-03-20 09:14:42 +00:00
kernel_mode_fpu.c riscv: add support for kernel-mode FPU 2024-05-19 14:36:19 -07:00
kernel_mode_vector.c riscv: vector: Support xtheadvector save/restore 2025-01-18 12:33:33 -08:00
kexec_elf.c riscv: kexec_file: Split the loading of kernel and others 2025-06-05 11:09:33 -07:00
kexec_image.c riscv: kexec_file: Support loading Image binary file 2025-06-05 11:09:34 -07:00
kexec_relocate.S
kgdb.c riscv: KGDB: Remove ".option norvc/.option rvc" for kgdb_compiled_break 2025-04-16 07:29:34 -07:00
machine_kexec_file.c riscv: kexec_file: Support loading Image binary file 2025-06-05 11:09:34 -07:00
machine_kexec.c kexec: Consolidate machine_kexec_mask_interrupts() implementation 2024-12-11 20:32:34 +01:00
Makefile Kbuild updates for v6.16 2025-06-07 10:05:35 -07:00
Makefile.syscalls syscalls: fix syscall macros for newfstat/newfstatat 2024-08-02 15:20:47 +02:00
mcount-dyn.S riscv: ftrace: support direct call using call_ops 2025-06-05 11:09:31 -07:00
mcount.S riscv: fgraph: Fix stack layout to match __arch_ftrace_regs argument of ftrace_return_to_handler 2025-03-19 12:03:25 +00:00
module-sections.c riscv: module: Optimize PLT/GOT entry counting 2025-06-05 11:09:43 -07:00
module.c riscv: module: Fix out-of-bounds relocation access 2025-04-14 13:07:07 +00:00
paravirt.c RISC-V: KVM: Rename the SBI_STA_SHMEM_DISABLE to a generic name 2024-04-22 11:13:52 +05:30
patch.c asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
perf_callchain.c The biggest change here is eliminating the awful idea that KVM had, of 2024-11-23 16:00:50 -08:00
perf_regs.c
process.c RISC-V Patches for the 6.16 Merge Window, Part 1 2025-06-06 18:05:18 -07:00
ptrace.c riscv: Allow ptrace control of the tagged address ABI 2024-10-24 14:12:57 -07:00
reset.c
return_address.c
riscv_ksyms.c riscv: Omit optimized string routines when using KASAN 2024-09-19 01:10:00 -07:00
sbi_ecall.c riscv: Fix RISCV_ALTERNATIVE_EARLY 2024-09-03 07:57:55 -07:00
sbi-ipi.c RISC-V: Enable the IPI before workqueue_online_cpu() 2024-08-01 07:15:43 -07:00
sbi.c riscv: sbi: add SBI FWFT extension calls 2025-06-04 15:11:02 -07:00
setup.c riscv: export boot_cpu_hartid 2025-06-23 16:30:05 -07:00
signal.c riscv: signal: fix signal frame size 2025-02-14 13:06:44 -08:00
smp.c riscv: print hartid on bringup 2025-04-01 07:03:03 +00:00
smpboot.c riscv: print hartid on bringup 2025-04-01 07:03:03 +00:00
soc.c
stacktrace.c riscv: remove useless pc check in stacktrace handling 2025-03-18 09:06:21 +00:00
suspend_entry.S
suspend.c riscv: Add stimecmp save and restore 2025-03-18 12:59:03 +00:00
sys_hwprobe.c Merge tag 'riscv-mw1-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/alexghiti/linux into for-next 2025-06-05 12:26:06 -07:00
sys_riscv.c syscalls: mmap(): use unsigned offset type consistently 2024-06-25 15:57:38 +02:00
syscall_table.c riscv: convert to generic syscall table 2024-07-10 14:23:38 +02:00
time.c
traps_misaligned.c riscv: traps_misaligned: properly sign extend value in misaligned load handler 2025-07-16 09:05:39 -07:00
traps.c riscv: Enable interrupt during exception handling 2025-07-16 09:05:26 -07:00
unaligned_access_speed.c riscv: misaligned: request misaligned exception from SBI 2025-06-04 15:11:03 -07:00
vdso.c riscv: enable mseal sysmap for RV64 2025-06-05 14:03:08 -07:00
vec-copy-unaligned.S riscv: Fix the __riscv_copy_vec_words_unaligned implementation 2025-03-18 13:37:27 +00:00
vector.c RISC-V Patches for the 6.14 Merge Window, Part 1 2025-01-31 15:13:25 -08:00
vendor_extensions.c riscv: Add SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensions 2025-05-08 11:01:43 -07:00
vmcore_info.c riscv: don't export va_kernel_pa_offset in vmcoreinfo for XIP kernel 2024-09-12 07:22:56 -07:00
vmlinux-xip.lds.S riscv: remove limit on the size of read-only section for XIP kernel 2024-09-12 07:23:02 -07:00
vmlinux.lds.S riscv: Add runtime constant support 2025-03-20 09:15:03 +00:00