linux/arch/arm64/kernel
Wei Li 14951beaec arm64: armv8_deprecated: Fix warning in isndep cpuhp starting process
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>
2024-06-05 11:16:55 +01:00
..
pi Kbuild updates for v6.10 2024-05-18 12:39:20 -07:00
probes arm64: extend execmem_info for generated code allocations 2024-05-14 00:31:43 -07:00
vdso Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
vdso32 arch: use $(obj)/ instead of $(src)/ for preprocessed linker scripts 2024-05-02 20:14:16 +09:00
.gitignore
acpi.c arm64: acpi: Honour firmware_signature field of FACS, if it exists 2024-04-18 16:17:33 +01:00
acpi_numa.c
acpi_parking_protocol.c
alternative.c
armv8_deprecated.c arm64: armv8_deprecated: Fix warning in isndep cpuhp starting process 2024-06-05 11:16:55 +01:00
asm-offsets.c
cacheinfo.c
compat_alignment.c
cpu-reset.S
cpu_errata.c arm64: errata: Add workaround for Arm errata 3194386 and 3312417 2024-05-10 12:21:57 +01:00
cpu_ops.c
cpufeature.c arm64: errata: Add workaround for Arm errata 3194386 and 3312417 2024-05-10 12:21:57 +01:00
cpuidle.c
cpuinfo.c S390: 2024-03-15 13:03:13 -07:00
crash_dump.c
debug-monitors.c
efi-header.S
efi-rt-wrapper.S
efi.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
elfcore.c
entry-common.c
entry-fpsimd.S
entry-ftrace.S
entry.S
fpsimd.c arm64/fpsimd: Avoid erroneous elide of user state reload 2024-05-22 12:46:39 +01:00
ftrace.c
head.S arm64/head: Disable MMU at EL2 before clearing HCR_EL2.E2H 2024-04-18 18:00:55 +01:00
hibernate-asm.S
hibernate.c
hw_breakpoint.c perf/bpf: Remove unneeded uses_default_overflow_handler() 2024-04-12 11:49:50 +02:00
hyp-stub.S
idle.c
image-vars.h
image.h
io.c arm64/io: Provide a WC friendly __iowriteXX_copy() 2024-04-22 17:11:20 -03:00
irq.c
jump_label.c
kaslr.c
kexec_image.c
kgdb.c
kuser32.S
machine_kexec.c
machine_kexec_file.c
Makefile - Sumanth Korikkar has taught s390 to allocate hotplug-time page frames 2024-03-14 17:43:30 -07:00
module-plts.c
module.c arch: make execmem setup available regardless of CONFIG_MODULES 2024-05-14 00:31:44 -07:00
mte.c
paravirt.c
patching.c arm64: patching: fix handling of execmem addresses 2024-05-24 11:55:06 -07:00
pci.c
perf_callchain.c arm64: Add USER_STACKTRACE support 2024-05-03 14:12:45 +01:00
perf_regs.c
pointer_auth.c
process.c
proton-pack.c arm64: errata: Add workaround for Arm errata 3194386 and 3312417 2024-05-10 12:21:57 +01:00
psci.c
ptrace.c arm64/ptrace: Use saved floating point state type to determine SVE layout 2024-04-03 15:02:00 +01:00
reloc_test_core.c
reloc_test_syms.S
relocate_kernel.S
return_address.c
sdei.c
setup.c arm64: defer clearing DAIF.D 2024-04-28 08:40:35 +01:00
signal.c arm64 updates for 6.9: 2024-03-14 15:35:42 -07:00
signal32.c
sigreturn32.S
sleep.S
smccc-call.S
smp.c arm64: defer clearing DAIF.D 2024-04-28 08:40:35 +01:00
smp_spin_table.c
stacktrace.c arm64: Add USER_STACKTRACE support 2024-05-03 14:12:45 +01:00
suspend.c
sys.c
sys32.c
sys_compat.c
syscall.c arm64: remove unnecessary ifdefs around is_compat_task() 2024-02-28 18:01:23 +00:00
time.c
topology.c
trace-events-emulation.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
traps.c
vdso-wrap.S
vdso.c
vdso32-wrap.S
vmcore_info.c
vmlinux.lds.S
watchdog_hld.c