Skip to content

Commit 8e4b1a6

Browse files
committed
Merge: scsi: megaraid_sas driver update for RHEL9.8
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/7589 JIRA: https://issues.redhat.com/browse/RHEL-101326 scsi: megaraid_sas driver updates Upstream Status: Accepted Tested: Compiled and tested on Local Development Setup Signed-off-by: Chandrakanth Patil <chanpati@redhat.com> Approved-by: Tomas Henzl <thenzl@redhat.com> Approved-by: Maurizio Lombardi <mlombard@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Patrick Talbert <ptalbert@redhat.com>
2 parents 227b5a2 + b77ab1b commit 8e4b1a6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/scsi/megaraid/megaraid_sas_base.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5908,7 +5908,11 @@ megasas_set_high_iops_queue_affinity_and_hint(struct megasas_instance *instance)
59085908
const struct cpumask *mask;
59095909

59105910
if (instance->perf_mode == MR_BALANCED_PERF_MODE) {
5911-
mask = cpumask_of_node(dev_to_node(&instance->pdev->dev));
5911+
int nid = dev_to_node(&instance->pdev->dev);
5912+
5913+
if (nid == NUMA_NO_NODE)
5914+
nid = 0;
5915+
mask = cpumask_of_node(nid);
59125916

59135917
for (i = 0; i < instance->low_latency_index_start; i++) {
59145918
irq = pci_irq_vector(instance->pdev, i);

0 commit comments

Comments
 (0)