linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add pci=assign-busses quirk to Dell Latitude D505
@ 2014-08-29  9:10 David Henningsson
  2014-08-29 14:22 ` Bjorn Helgaas
  0 siblings, 1 reply; 17+ messages in thread
From: David Henningsson @ 2014-08-29  9:10 UTC (permalink / raw)
  To: bhelgaas, linux-pci; +Cc: David Henningsson

Under a 3.16 based kernel (Ubuntu 3.16.0-031600-lowlatency),
CardBus is not working unless pci=assign-buses is added to the
kernel boot parameters.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 arch/x86/pci/common.c | 8 ++++++++
 1 file changed, 8 insertions(+)

It was working OOTB on a 3.2 based kernel (Ubuntu 3.2.0-67-generic),
and I have not thoroughly bisected what made it stop working.
Still I'm suggesting to just a quirk to make it work regardless of
kernel - it's a ~8 year old laptop, so being a bit lazy about it is
probably okay, I hope. :-)

Extract from dmidecode:

Handle 0x0100, DMI type 1, 25 bytes
System Information
	Manufacturer: Dell Inc.
	Product Name: Latitude D505    

diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
index 059a76c..1849e39 100644
--- a/arch/x86/pci/common.c
+++ b/arch/x86/pci/common.c
@@ -262,6 +262,14 @@ static const struct dmi_system_id pciprobe_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "SX20S"),
 		},
 	},
+	{
+		.callback = assign_all_busses,
+		.ident = "Dell Latitude D505 Laptop",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Latitude D505"),
+		},
+	},
 #endif		/* __i386__ */
 	{
 		.callback = set_bf_sort,
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-09-19 17:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29  9:10 [PATCH] Add pci=assign-busses quirk to Dell Latitude D505 David Henningsson
2014-08-29 14:22 ` Bjorn Helgaas
2014-08-29 14:44   ` David Henningsson
2014-08-29 17:36     ` Bjorn Helgaas
2014-09-10 18:08       ` Bjorn Helgaas
2014-09-10 19:50         ` Andreas Noever
2014-09-10 20:37           ` Bjorn Helgaas
2014-09-11  8:13         ` David Henningsson
2014-09-13  3:18           ` Bjorn Helgaas
2014-09-14 22:10             ` Andreas Noever
2014-09-15  9:53               ` Wei Yang
2014-09-15 10:04                 ` Andreas Noever
2014-09-16  1:37                   ` Wei Yang
2014-09-16  3:00                     ` Gavin Shan
2014-09-15 19:03                 ` Bjorn Helgaas
2014-09-16  8:49                   ` Wei Yang
2014-09-19 17:04             ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).