linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] lpfc: Fix crash when cpu count is 1 and null irq affinity mask
       [not found] <20190802202612.25799-1-jsmart2021@gmail.com>
@ 2019-08-08  1:57 ` Martin K. Petersen
  0 siblings, 0 replies; only message in thread
From: Martin K. Petersen @ 2019-08-08  1:57 UTC (permalink / raw)
  To: James Smart; +Cc: linux-scsi, Dick Kennedy


James,

> 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!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-08  1:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190802202612.25799-1-jsmart2021@gmail.com>
2019-08-08  1:57 ` [PATCH] lpfc: Fix crash when cpu count is 1 and null irq affinity mask Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).