summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-meson-gpio.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2019-05-21 17:49:05 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-18 19:46:22 -0400
commitd9954a2d18c3405bbbe3f15390a9747f66df9f9a (patch)
treeb79843298eb9f93e7551e388ca0eede37037daa9 /drivers/irqchip/irq-meson-gpio.c
parentb8e6f13617db126c8898908e8601f5e4e3b393cf (diff)
downloadblackbird-op-linux-d9954a2d18c3405bbbe3f15390a9747f66df9f9a.tar.gz
blackbird-op-linux-d9954a2d18c3405bbbe3f15390a9747f66df9f9a.zip
scsi: lpfc: Fix oops when driver is loaded with 1 interrupt vector
The driver was coded expecting enough hardware queues and interrupt vectors such that at least there was one per socket. In the case where there were fewer than sockets, cpus were left unassigned thus null pointers. Rework the affinity mappings. Map settings for the cpu's that are in the irq cpu mask. For each cpu not in the mask, map to another cpu that does have a mask. Choice of the "other" cpu will attempt to map to the same cpu but differing hyperthread, or cpu within in same core, or cpu within same socket, or finally cpu in the base socket. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/irqchip/irq-meson-gpio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud