Skip to contentSkip to conversation

lpfc: Fix crash when cpu count is 1 and null irq affinity mask

PATCH Martin K. Petersen 1 participant 1 message Aug 8, 2019 1 message not in the archive SCSI

lore
Share & tools
lore

Martin K. Petersen

author Applied
#1 lore raw
In reply to a message not in the archive

James,

Quoted 8 lines

When a configurations runs with a single cpu (such as a kdump kernel), which causes the driver to request a single vector, when the driver subsequently requests an irq affinity mask, the mask comes back null. The driver currently does nothing in this scenario, which leaves mappings to hardware queues incomplete and crashes the system.

Fix by recognizing the null mask and assigning the vector to the first cpu in the system.

Applied to 5.3/scsi-fixes. Thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering