diff options
| author | Heiko Carstens <[email protected]> | 2025-01-20 10:53:42 +0000 |
|---|---|---|
| committer | Alexander Gordeev <[email protected]> | 2025-01-28 16:38:46 +0000 |
| commit | 3bcc8a1af581af152d43e42b53db3534018301b5 (patch) | |
| tree | e1567c70de5a3317260840402e5ca865469df1eb /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | s390/tools: Use array instead of string initializer (diff) | |
| download | kernel-3bcc8a1af581af152d43e42b53db3534018301b5.tar.gz kernel-3bcc8a1af581af152d43e42b53db3534018301b5.zip | |
s390/sclp: Initialize sclp subsystem via arch_cpu_finalize_init()
With the switch to GENERIC_CPU_DEVICES an early call to the sclp subsystem
was added to smp_prepare_cpus(). This will usually succeed since the sclp
subsystem is implicitly initialized early enough if an sclp based console
is present.
If no such console is present the initialization happens with an
arch_initcall(); in such cases calls to the sclp subsystem will fail.
For CPU detection this means that the fallback sigp loop will be used
permanently to detect CPUs instead of the preferred READ_CPU_INFO sclp
request.
Fix this by adding an explicit early sclp_init() call via
arch_cpu_finalize_init().
Reported-by: Sheshu Ramanandan <[email protected]>
Fixes: 4a39f12e753d ("s390/smp: Switch to GENERIC_CPU_DEVICES")
Reviewed-by: Peter Oberparleiter <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
