]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 13:46:28 +0000 (15:46 +0200)
commit3537380a05bb9e35c9ababf66126c56af277e219
tree1d7429f0aab3aa168133c7bcda4ad090c6a8961e
parent9dc0babcd208d1e68ba692f28c50b5f78f1f0798
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