snd-hda-intel and MSI
Hi folks,
are there any contradictions to enable-msi=1 by default? There are users with chips like an
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 30f7
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 33
Region 0: Memory at dc500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
which only works with MSI. And it is somewhat hard to find the appropriate Documantation in HD-Audio.txt. 2nd it will be very hard for Distributers to maintain modul options by chip ID's.
Thanks for cooperation.
Elimar
(one of Debian's alsa maintainers)
Signature · 1 line
Do you smell something burning or ist it me?
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Wed, 23 Sep 2009 16:33:06 +0200,
Quoted 4 lines · Elimar Riesebieter
Hi folks,
are there any contradictions to enable-msi=1 by default?
MSI is broken on some platforms. IIRC, almost all non-Intel platforms didn't work until the recent ones. So, it can't be enabled blindly as default, unfortunately.
Quoted 13 lines
There are
users with chips like an00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 30f7
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 33
Region 0: Memory atdc500000(64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Quoted 2 lines
which only works with MSI. And it is somewhat hard to find the appropriate Documantation in HD-Audio.txt.
A patch is always welcome.
Quoted 2 lines
2nd it will be very hard for Distributers to
maintain modul options by chip ID's.
It's not a question for distributors but the upstream maintainers to maintain the quirk table :)
thanks,
Takashi
Quoted 3 lines · Takashi Iwai
MSI is broken on some platforms. IIRC, almost all non-Intel platforms didn't work until the recent ones. So, it can't be enabled blindly as default, unfortunately.
Most of the "broken" platforms were AMD with integrated northbridges where the required HyperTransport MSI mappings weren't enabled. This is now handled correctly. I've seen graceful reverts where MSI wasn't possible. (I recently submitted a patch for sata_nv to enable MSI)
Regards,
Tony V.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Wed, 23 Sep 2009 16:52:43 +0100,
Quoted 11 lines · Tony Vroon
Quoted 3 lines · Takashi Iwai
MSI is broken on some platforms. IIRC, almost all non-Intel platforms didn't work until the recent ones. So, it can't be enabled blindly as default, unfortunately.
Most of the "broken" platforms were AMD with integrated northbridges where the required HyperTransport MSI mappings weren't enabled. This is now handled correctly. I've seen graceful reverts where MSI wasn't possible. (I recently submitted a patch for
sata_nvto enable MSI)
Hm, a good point. Maybe we can start running toward the wall again in
order to check whether it's thin enough to break through. But, this
change is unlikely for 2.6.32.
Takashi
Quoted 1 line · Takashi Iwai
But, this change is unlikely for 2.6.32.
I would be in favour of a 2.6.33 experiment though. (Especially to invert behaviour, and make "MSI *will* enable but break" an exception controlled through PCI IDs)
Quoted 1 line
Takashi
Regards,
Tony V.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Wed, 23 Sep 2009 17:00:54 +0100,
Quoted 7 lines · Tony Vroon
Quoted 1 line · Takashi Iwai
But, this change is unlikely for 2.6.32.
I would be in favour of a 2.6.33 experiment though. (Especially to invert behaviour, and make "MSI *will* enable but break" an exception controlled through PCI IDs)
Yeah, that's what I meant implicitly :)
Takashi
At Wed, 23 Sep 2009 18:03:14 +0200,
Quoted 4 lines · I wrote:
At Wed, 23 Sep 2009 17:00:54 +0100,
Quoted 1 line · Tony Vroon
Quoted 8 lines
Quoted 6 lines · Takashi Iwai
Quoted 1 line
But, this change is unlikely for 2.6.32.
I would be in favour of a 2.6.33 experiment though. (Especially to invert behaviour, and make "MSI *will* enable but break" an exception controlled through PCI IDs)
Yeah, that's what I meant implicitly :)
Meanwhile, MSI still doesn't work with the older kernel, so we need a black-list for the recent kernel in the upstream code and a white-list for the older kernel as hda_intel.patch in alsa-driver tree. Sigh.
Takashi
At Wed, 23 Sep 2009 18:11:33 +0200,
Quoted 14 lines · I wrote:
At Wed, 23 Sep 2009 18:03:14 +0200,
Quoted 11 lines · I wrote:
At Wed, 23 Sep 2009 17:00:54 +0100,
Quoted 7 lines · Tony Vroon
Quoted 1 line · Takashi Iwai
But, this change is unlikely for 2.6.32.
I would be in favour of a 2.6.33 experiment though. (Especially to invert behaviour, and make "MSI *will* enable but break" an exception controlled through PCI IDs)
Quoted 6 lines
Quoted 1 line
Yeah, that's what I meant implicitly :)
Meanwhile, MSI still doesn't work with the older kernel, so we need a black-list for the recent kernel in the upstream code and a white-list for the older kernel as hda_intel.patch in alsa-driver tree. Sigh.
JFYI, now I changed the sound git tree to enable MSI as default. alsa-driver-snapshot tarball is updated as well.
Let's see whether the things get settled down with this.
thanks,
Takashi
* Takashi Iwai [090923 17:43 +0200]
Quoted 24 lines
At Wed, 23 Sep 2009 16:33:06 +0200,
Quoted 4 lines · Elimar Riesebieter
Hi folks,
are there any contradictions to enable-msi=1 by default?
MSI is broken on some platforms. IIRC, almost all non-Intel platforms didn't work until the recent ones. So, it can't be enabled blindly as default, unfortunately.
Quoted 13 lines
There are
users with chips like an00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 30f7
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 33
Region 0: Memory atdc500000(64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Quoted 4 lines
Quoted 2 lines
which only works with MSI. And it is somewhat hard to find the appropriate Documantation in HD-Audio.txt.
A patch is always welcome.
Which QUIRK Table. What informations from the soundcard ist needed and how to get it?
Elimar
Signature · 3 lines
Planung:
Ersatz des Zufalls durch den Irrtum.
-unknown-_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 5 lines · Elimar Riesebieter
Quoted 5 lines
Quoted 5 lines
There are
users with chips like an00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 30f7
...
Quoted 2 lines
Which QUIRK Table. What informations from the soundcard ist needed and how to get it?
Elimar,
Use the SSID for an entry, e.g.,
SND_PCI_QUIRK(0x103c, 0x30f7, "HP", 1),
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [Pkg-alsa-devel] Bug#547994: snd-hda-intel and MSI
* Daniel Chen [090923 13:11 -0400]
Quoted 10 lines · Elimar Riesebieter
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
There are
users with chips like an00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 30f7...
Quoted 2 lines
Which QUIRK Table. What informations from the soundcard ist needed and how to get it?
Quoted 7 lines
Elimar,
Use the SSID for an entry, e.g.,
SND_PCI_QUIRK(0x103c, 0x30f7, "HP", 1),
Does an easy QUIRK entry enables msi?
Elimar
Signature · 2 lines
We all know Linux is great... it does infinite loops in 5 seconds.
-- Linus TorvaldsRe: [Pkg-alsa-devel] Bug#547994: snd-hda-intel and MSI
Quoted 3 lines · Elimar Riesebieter
Quoted 1 line
SND_PCI_QUIRK(0x103c, 0x30f7, "HP", 1),Does an easy QUIRK entry enables msi?
Yes.
Re: [Pkg-alsa-devel] Bug#547994: snd-hda-intel and MSI
Attached, please find a patch against current sound-2.6.git HEAD resolving this issue.
-Dan
From 409fdb7b75c21b031199069606c885d0ac918707 Mon Sep 17 00:00:00 2001
From: Daniel T Chen <[email protected]>
Date: Wed, 23 Sep 2009 20:23:27 -0400
Subject: [PATCH] Add HP Pavilion dv4t-1300 to MSI whitelist
Enable MSI by default for this Pavilion model.
--- sound/pci/hda/hda_intel.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
sound/pci/hda/hda_intel.c +1 -0
@@ -2303,6 +2303,7 @@ static void __devinit check_probe_mask(struct azx *chip, int dev)* white-list for enable_msi */ static struct snd_pci_quirk msi_white_list[]__devinitdata = { +SND_PCI_QUIRK (0x103c ,0x30f7 ,"HP Pavilion dv4t-1300" ,1 ),SND_PCI_QUIRK (0x103c ,0x3607 ,"HP Compa CQ40" ,1 ), {} };
Signature · 1 line
1.6.3.3
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [Pkg-alsa-devel] Bug#547994: snd-hda-intel and MSI
At Wed, 23 Sep 2009 17:28:38 -0700 (PDT),
Quoted 2 lines · Dan Chen
Attached, please find a patch against current sound-2.6.git HEAD resolving this issue.
Dan, your from-address and sign-off address are different in the patch. Could you unify?
thanks,
Takashi
Re: [Pkg-alsa-devel] Bug#547994: snd-hda-intel and MSI
Quoted 2 lines
Dan, your from-address and sign-off address are different in the patch. Could you unify?
Indeed, here's a new patch.
From 409fdb7b75c21b031199069606c885d0ac918707 Mon Sep 17 00:00:00 2001
From: Daniel T Chen <[email protected]>
Date: Wed, 23 Sep 2009 20:23:27 -0400
Subject: [PATCH] Add HP Pavilion dv4t-1300 to MSI whitelist
Enable MSI by default for this Pavilion model.
--- sound/pci/hda/hda_intel.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
sound/pci/hda/hda_intel.c +1 -0
@@ -2303,6 +2303,7 @@ static void __devinit check_probe_mask(struct azx *chip, int dev)* white-list for enable_msi */ static struct snd_pci_quirk msi_white_list[]__devinitdata = { +SND_PCI_QUIRK (0x103c ,0x30f7 ,"HP Pavilion dv4t-1300" ,1 ),SND_PCI_QUIRK (0x103c ,0x3607 ,"HP Compa CQ40" ,1 ), {} };
Signature · 1 line
1.6.3.3
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Takashi Iwai
AppliedRe: [Pkg-alsa-devel] Bug#547994: snd-hda-intel and MSI
At Thu, 24 Sep 2009 03:04:51 -0700 (PDT),
Quoted 5 lines · Dan Chen
Quoted 3 lines
Dan, your from-address and sign-off address are different in the patch. Could you unify?
Indeed, here's a new patch.
Thanks, applied now.
Takashi