PCI: Do not run NVidia quirks related to MSI with MSI disabled
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 23 Jul 2010 20:19:55 +0000 (22:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:19:33 +0000 (13:19 -0700)
commit9103169260f53f065e976740f2a65f7276050b0b
tree35ddf92346444e519f97aeceb2539525c17a72fb
parent00895580dcfeea293c0a899a84fc9c01b7d00d6c
PCI: Do not run NVidia quirks related to MSI with MSI disabled

commit 3d2a531804d16cd8df6dbbb0429c6f143e756049 upstream.

There is no reason to run NVidia-specific quirks related to HT MSI
mappings with MSI disabled via pci=nomsi, so make
__nv_msi_ht_cap_quirk() return immediately in that case.

This allows at least one machine to boot 100% of the time with
pci=nomsi (it still doesn't boot reliably without that).

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=16443 .

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c