All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: James Smart <jsmart2021@gmail.com>
Cc: linux-scsi@vger.kernel.org, Dick Kennedy <dick.kennedy@broadcom.com>
Subject: Re: [PATCH] lpfc: Fix crash when cpu count is 1 and null irq affinity mask
Date: Wed, 07 Aug 2019 21:57:15 -0400	[thread overview]
Message-ID: <yq1k1boctc4.fsf@oracle.com> (raw)
In-Reply-To: <20190802202612.25799-1-jsmart2021@gmail.com> (James Smart's message of "Fri, 2 Aug 2019 13:26:12 -0700")


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

           reply	other threads:[~2019-08-08  1:57 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20190802202612.25799-1-jsmart2021@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1k1boctc4.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=dick.kennedy@broadcom.com \
    --cc=jsmart2021@gmail.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.