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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 13:44:47 +0000 (15:44 +0200)
commit87e7dc97c8a0544553aacf8705c6772db55f6691
tree18cee943389a43c0a41187fc4ecbbd2d5f06cc55
parentd1d63f97dd76f7d90f801bcc9a6334d5df96367a
PCI: hv: Specify CPU_AFFINITY_ALL for MSI affinity when >= 32 CPUs

commit 433fcf6b7b31f1f233dd50aeb9d066a0f6ed4b9d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/host/pci-hyperv.c