]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: hv: Specify CPU_AFFINITY_ALL for MSI affinity when >= 32 CPUs
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 24 Mar 2017 18:07:21 +0000 (11:07 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Apr 2017 18:58:20 +0000 (13:58 -0500)
commit433fcf6b7b31f1f233dd50aeb9d066a0f6ed4b9d
treef155e9e73bcc0753a35cc2794878d46a17ce6062
parent414428c5da1c71986727c2fa5cdf1ed071e398d7
PCI: hv: Specify CPU_AFFINITY_ALL for MSI affinity when >= 32 CPUs

When we have 32 or more CPUs in the affinity mask, we should use a special
constant to specify that to the host. Fix this issue.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Long Li <longli@microsoft.com>
Cc: <stable@vger.kernel.org>
drivers/pci/host/pci-hyperv.c