diff options
| author | James Smart <[email protected]> | 2019-11-11 15:03:59 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-11-12 22:21:33 -0500 |
| commit | bc227dde0d8b687aa525d01b0df5556d4d37eca3 (patch) | |
| tree | 1477db7ca50891680da360f28a14cd4dbe2f16ee /include/linux/timerqueue.h | |
| parent | d480e57809a043333a3b9e755c0bdd43e10a9f12 (diff) | |
scsi: lpfc: Initialize cpu_map for not present cpus
Currently, cpu_map[cpu#]->hdwq is left to equal LPFC_VECTOR_MAP_EMPTY for
not present CPUs. If a CPU is dynamically hot-added, it is possible we may
crash due to not assigning an allocated hdwq.
Correct by assigning a hdwq at initialization for all not-present CPUs.
Fixes: dcaa21367938 ("scsi: lpfc: Change default IRQ model on AMD architectures")
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ewan D. Milne <[email protected]>
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions