]> git.baikalelectronics.ru Git - kernel.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)
commita7197b553c79488ff36f14b127f259fa3bd1ce8f
treef155e9e73bcc0753a35cc2794878d46a17ce6062
parent5a2b5afdc9303549d4527f184293fec56a457a18
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