mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-12-18 00:26:30 +01:00
Currently, the sbi_init() always attempts to register the legacy shutdown
function as the sys-off handler which is fine when RISCV_SBI_V01 is not
enabled. However, if RISCV_SBI_V01 is enabled in the kernel and the SBI
v0.1 is not supported by the underlying SBI implementation then the
legacy shutdown fails. Fix this by not registering the legacy shutdown
when SRST shutdown is available.
Fixes:
|
||
|---|---|---|
| .. | ||
| compat_vdso | ||
| pi | ||
| probes | ||
| tests | ||
| vdso | ||
| vendor_extensions | ||
| .gitignore | ||
| acpi_numa.c | ||
| acpi.c | ||
| alternative.c | ||
| asm-offsets.c | ||
| bugs.c | ||
| cacheinfo.c | ||
| cfi.c | ||
| compat_signal.c | ||
| compat_syscall_table.c | ||
| copy-unaligned.h | ||
| copy-unaligned.S | ||
| cpu_ops_sbi.c | ||
| cpu_ops_spinwait.c | ||
| cpu_ops.c | ||
| cpu-hotplug.c | ||
| cpu.c | ||
| cpufeature.c | ||
| crash_dump.c | ||
| crash_save_regs.S | ||
| efi-header.S | ||
| efi.c | ||
| entry.S | ||
| fpu.S | ||
| ftrace.c | ||
| head.h | ||
| head.S | ||
| hibernate-asm.S | ||
| hibernate.c | ||
| image-vars.h | ||
| irq.c | ||
| jump_label.c | ||
| kernel_mode_fpu.c | ||
| kernel_mode_vector.c | ||
| kexec_elf.c | ||
| kexec_image.c | ||
| kexec_relocate.S | ||
| kgdb.c | ||
| machine_kexec_file.c | ||
| machine_kexec.c | ||
| Makefile | ||
| Makefile.syscalls | ||
| mcount-dyn.S | ||
| mcount.S | ||
| module-sections.c | ||
| module.c | ||
| paravirt.c | ||
| patch.c | ||
| perf_callchain.c | ||
| perf_regs.c | ||
| process.c | ||
| ptrace.c | ||
| reset.c | ||
| return_address.c | ||
| riscv_ksyms.c | ||
| sbi_ecall.c | ||
| sbi-ipi.c | ||
| sbi.c | ||
| setup.c | ||
| signal.c | ||
| smp.c | ||
| smpboot.c | ||
| soc.c | ||
| stacktrace.c | ||
| suspend_entry.S | ||
| suspend.c | ||
| sys_hwprobe.c | ||
| sys_riscv.c | ||
| syscall_table.c | ||
| time.c | ||
| traps_misaligned.c | ||
| traps.c | ||
| unaligned_access_speed.c | ||
| vdso.c | ||
| vec-copy-unaligned.S | ||
| vector.c | ||
| vendor_extensions.c | ||
| vmcore_info.c | ||
| vmlinux-xip.lds.S | ||
| vmlinux.lds.S | ||