diff options
| author | Boris Ostrovsky <[email protected]> | 2021-11-02 23:36:36 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-11-11 12:09:32 +0000 |
| commit | ce2612b6706b4d0a70732795253722e3bd4ed953 (patch) | |
| tree | e8835b0b9202ee24f298777e9d9cda95d493c36b /drivers/fpga/fpga-mgr.c | |
| parent | Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t... (diff) | |
| download | kernel-ce2612b6706b4d0a70732795253722e3bd4ed953.tar.gz kernel-ce2612b6706b4d0a70732795253722e3bd4ed953.zip | |
x86/smp: Factor out parts of native_smp_prepare_cpus()
Commit 66558b730f25 ("sched: Add cluster scheduler level for x86")
introduced cpu_l2c_shared_map mask which is expected to be initialized
by smp_op.smp_prepare_cpus(). That commit only updated
native_smp_prepare_cpus() version but not xen_pv_smp_prepare_cpus().
As result Xen PV guests crash in set_cpu_sibling_map().
While the new mask can be allocated in xen_pv_smp_prepare_cpus() one can
see that both versions of smp_prepare_cpus ops share a number of common
operations that can be factored out. So do that instead.
Fixes: 66558b730f25 ("sched: Add cluster scheduler level for x86")
Signed-off-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
