mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
![]() The function run_all_insn_set_hw_mode() is registered as startup callback of 'CPUHP_AP_ARM64_ISNDEP_STARTING', it invokes set_hw_mode() methods of all emulated instructions. As the STARTING callbacks are not expected to fail, if one of the set_hw_mode() fails, e.g. due to el0 mixed-endian is not supported for 'setend', it will report a warning: ``` CPU[2] cannot support the emulation of setend CPU 2 UP state arm64/isndep:starting (136) failed (-22) CPU2: Booted secondary processor 0x0000000002 [0x414fd0c1] ``` To fix it, add a check for INSN_UNAVAILABLE status and skip the process. Signed-off-by: Wei Li <liwei391@huawei.com> Tested-by: Huisong Li <lihuisong@huawei.com> Link: https://lore.kernel.org/r/20240423093501.3460764-1-liwei391@huawei.com Signed-off-by: Will Deacon <will@kernel.org> |
||
---|---|---|
.. | ||
pi | ||
probes | ||
vdso | ||
vdso32 | ||
.gitignore | ||
acpi.c | ||
acpi_numa.c | ||
acpi_parking_protocol.c | ||
alternative.c | ||
armv8_deprecated.c | ||
asm-offsets.c | ||
cacheinfo.c | ||
compat_alignment.c | ||
cpu-reset.S | ||
cpu_errata.c | ||
cpu_ops.c | ||
cpufeature.c | ||
cpuidle.c | ||
cpuinfo.c | ||
crash_dump.c | ||
debug-monitors.c | ||
efi-header.S | ||
efi-rt-wrapper.S | ||
efi.c | ||
elfcore.c | ||
entry-common.c | ||
entry-fpsimd.S | ||
entry-ftrace.S | ||
entry.S | ||
fpsimd.c | ||
ftrace.c | ||
head.S | ||
hibernate-asm.S | ||
hibernate.c | ||
hw_breakpoint.c | ||
hyp-stub.S | ||
idle.c | ||
image-vars.h | ||
image.h | ||
io.c | ||
irq.c | ||
jump_label.c | ||
kaslr.c | ||
kexec_image.c | ||
kgdb.c | ||
kuser32.S | ||
machine_kexec.c | ||
machine_kexec_file.c | ||
Makefile | ||
module-plts.c | ||
module.c | ||
mte.c | ||
paravirt.c | ||
patching.c | ||
pci.c | ||
perf_callchain.c | ||
perf_regs.c | ||
pointer_auth.c | ||
process.c | ||
proton-pack.c | ||
psci.c | ||
ptrace.c | ||
reloc_test_core.c | ||
reloc_test_syms.S | ||
relocate_kernel.S | ||
return_address.c | ||
sdei.c | ||
setup.c | ||
signal.c | ||
signal32.c | ||
sigreturn32.S | ||
sleep.S | ||
smccc-call.S | ||
smp.c | ||
smp_spin_table.c | ||
stacktrace.c | ||
suspend.c | ||
sys.c | ||
sys32.c | ||
sys_compat.c | ||
syscall.c | ||
time.c | ||
topology.c | ||
trace-events-emulation.h | ||
traps.c | ||
vdso-wrap.S | ||
vdso.c | ||
vdso32-wrap.S | ||
vmcore_info.c | ||
vmlinux.lds.S | ||
watchdog_hld.c |