summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorNitesh Narayan Lal <nitesh@redhat.com>2021-09-03 11:24:21 -0400
committerThomas Gleixner <tglx@linutronix.de>2021-12-10 20:47:38 +0100
commitfdb8ed13a77270c8e6e05b3ff9f4cb2f57e16d6a (patch)
tree5d4b835ad022410c1d7d4fd8d2db35370f3a8b7c /drivers/infiniband
parent8049da6f3943d0ac51931b8064b2e4769a69a967 (diff)
downloadlinux-fdb8ed13a77270c8e6e05b3ff9f4cb2f57e16d6a.tar.bz2
scsi: mpt3sas: Use irq_set_affinity_and_hint()
The driver uses irq_set_affinity_hint() specifically for the high IOPS queue interrupts for two purposes: - To set the affinity_hint which is consumed by the userspace for distributing the interrupts - To apply an affinity that it provides The driver enforces its own affinity to bind the high IOPS queue interrupts to the local NUMA node. However, irq_set_affinity_hint() applying the provided cpumask as an affinity (if not NULL) for the interrupt is an undocumented side effect. To remove this side effect irq_set_affinity_hint() has been marked as deprecated and new interfaces have been introduced. Hence, replace the irq_set_affinity_hint() with the new interface irq_set_affinity_and_hint() where the provided mask needs to be applied as the affinity and affinity_hint pointer needs to be set and replace with irq_update_affinity_hint() where only affinity_hint needs to be updated. Signed-off-by: Nitesh Narayan Lal <nitesh@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Link: https://lore.kernel.org/r/20210903152430.244937-6-nitesh@redhat.com
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions