Re: [Nouveau] How to check for proper MSI support?

2014-07-08 Thread Bjorn Helgaas
On Thu, Jul 3, 2014 at 10:32 PM, Ilia Mirkin wrote: > So let me get this straight -- you're suggesting I add a quirk for > every PCI chipset that doesn't support MSI? There are probably > hundreds of these... anything made before 1999 or so, and probably a > bunch since then too. There _has_ to be

Re: [Nouveau] How to check for proper MSI support?

2014-07-05 Thread Brian Becker
Bjorn, I went ahead and sent a report to https://bugzilla.kernel.org/show_bug.cgi?id=79531. It does not appear that my system supports APIC/LAPIC, from the dmesg logs which claim that APIC is hardware disabled or not available. Perhaps the BIOS is allowed to disable it, or is required to enable it

Re: [Nouveau] How to check for proper MSI support?

2014-07-04 Thread Brian Becker
I am booting a kernel with CONFIG_ACPI=n on a platform which does not support ACPI. -Brian On Fri, Jul 4, 2014 at 1:59 AM, Yijing Wang wrote: There is a NVIDIA G96 GPU (which is PCIe only) hanging off of a PCIe <-> PCI bridge (all on one card), which is plugged into a motherboard

Re: [Nouveau] How to check for proper MSI support?

2014-07-04 Thread Brian Becker
My previous message was badly formatted, and didn't make it to linux-...@vger.kernel.org. Hopefully this information is of some use. root@p5-133:~# uname -a Linux p5-133 3.15.2-p5-133 #1 Thu Jun 26 22:56:27 EDT 2014 i586 GNU/Linux root@p5-133:~# lspci -vvvxxx 00:00.0 Host bridge: Intel Corporation

Re: [Nouveau] How to check for proper MSI support?

2014-07-04 Thread Brian Becker
I mistakenly only replied to Yijing Wang the first time. Here are the further details. uname -a: Linux p5-133 3.15.2-p5-133 #1 Thu Jun 26 22:56:27 EDT 2014 i586 GNU/Linux Here is the output from lspci -vvvxxx: root@p5-133:~# cat lspci.txt 00:00.0 Host bridge: Intel Corporation 430FX - 82437FX TS

Re: [Nouveau] How to check for proper MSI support?

2014-07-04 Thread Brian Becker
Yijing, cat /sys/bus/pci/devices/\:00\:0e.0/msi_bus returns 1, suggesting that it supports MSI. However, this "00:0e.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)" is a component of the addin card. Wouldn't the lack of support for MSI by the chipset "00:

Re: [Nouveau] How to check for proper MSI support?

2014-07-04 Thread Yijing Wang
On 2014/7/4 14:26, Brian Becker wrote: > I am booting a kernel with CONFIG_ACPI=n on a platform which does not > support ACPI. Hmmm, so my suggestion is 1. Add quirk to detect 430FX chipset, if detected, disable MSI in this platform. or 2. Append boot argument pci=nomsi in OS command line when th

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
>>> There is a NVIDIA G96 GPU (which is PCIe only) hanging off of a PCIe >>> <-> PCI bridge (all on one card), which is plugged into a motherboard >>> with the 430FX chipset (PCI 2.0 supported). >>> >>> The GPU PCI device, of course, has full support for MSI. However my >>> understanding is that MS

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Ilia Mirkin
On Thu, Jul 3, 2014 at 11:56 PM, Yijing Wang wrote: > On 2014/7/4 11:30, Ilia Mirkin wrote: >> On Thu, Jul 3, 2014 at 11:09 PM, Yijing Wang wrote: >>> On 2014/7/4 10:43, Ilia Mirkin wrote: On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: > Hi Brian, >From your 01:00.0 VGA com

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/4 11:30, Ilia Mirkin wrote: > On Thu, Jul 3, 2014 at 11:09 PM, Yijing Wang wrote: >> On 2014/7/4 10:43, Ilia Mirkin wrote: >>> On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: Hi Brian, From your 01:00.0 VGA compatible controller PCI config register, it supports 1

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Ilia Mirkin
On Thu, Jul 3, 2014 at 11:09 PM, Yijing Wang wrote: > On 2014/7/4 10:43, Ilia Mirkin wrote: >> On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: >>> Hi Brian, >>>From your 01:00.0 VGA compatible controller PCI config register, it >>> supports 1 MSI vector, so I think this >>> card has no p

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/4 10:45, Brian Becker wrote: > Yijing, > > cat /sys/bus/pci/devices/\:00\:0e.0/msi_bus returns 1, suggesting > that it supports MSI. However, this "00:0e.0 PCI bridge: PLX > Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)" > is a component of the addin card. Would

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/4 10:43, Ilia Mirkin wrote: > On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: >> Hi Brian, >>From your 01:00.0 VGA compatible controller PCI config register, it >> supports 1 MSI vector, so I think this >> card has no problem. But you didn't answer what's the pci_enable_msi() >

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Ilia Mirkin
On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: > Hi Brian, >From your 01:00.0 VGA compatible controller PCI config register, it > supports 1 MSI vector, so I think this > card has no problem. But you didn't answer what's the pci_enable_msi() return > during it enable MSI fail. > > You c

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
Hi Brian, From your 01:00.0 VGA compatible controller PCI config register, it supports 1 MSI vector, so I think this card has no problem. But you didn't answer what's the pci_enable_msi() return during it enable MSI fail. You can check PCI bus whether support MSI like: cat /sys/bus/pci/devic

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/3 11:20, Ilia Mirkin wrote: > Hello, > > A user (cc'd) reported that nouveau's enabling of MSI causes the card > to not work on his setup [1]. I think the situation is that MSI is > just not supported by the underlying motherboard, even though the > card, and probably bridge, support it

[Nouveau] How to check for proper MSI support?

2014-07-02 Thread Ilia Mirkin
Hello, A user (cc'd) reported that nouveau's enabling of MSI causes the card to not work on his setup [1]. I think the situation is that MSI is just not supported by the underlying motherboard, even though the card, and probably bridge, support it just fine. It's a very old board. The nouveau code