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)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 30 Jul 2010 16:47:58 +0000 (09:47 -0700)
commit3d2a531804d16cd8df6dbbb0429c6f143e756049
tree1fec9226bf58fb84bc50b5e90fb7df30d5b258df
parent1f7979ac53224b0208e7d3eaeb5fd72ab9687389
PCI: Do not run NVidia quirks related to MSI with MSI disabled

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 .

Cc: stable@kernel.org
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/quirks.c