Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 300288 Details for
Bug 438330
HP dl360g5: pci_enable_msix() fails
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add a quirk for ht1000 pci-e bridges
pci-msi-ht1000-quirk.patch (text/plain), 3.39 KB, created by
Doug Ledford
on 2008-04-03 17:38:27 UTC
(
hide
)
Description:
Add a quirk for ht1000 pci-e bridges
Filename:
MIME Type:
Creator:
Doug Ledford
Created:
2008-04-03 17:38:27 UTC
Size:
3.39 KB
patch
obsolete
> >This patch combines the following 3 upstream commits: > >commit 6bae1d96c6d7dde078994f6cb98235fd46f8736b >Author: Sebastien Dugue <sebastien.dugue@bull.net> >Date: Thu Dec 13 16:09:25 2007 -0800 > > PCI: quirk: enable MSI Mapping on HT1000 > > Add a quirk to enable the MSI mapping capability on HyperTransport bridges. > >commit 2cc31879f8cfa0efc74fe7e58ab4e01ef5908730 >Author: David Miller <davem@davemloft.net> >Date: Thu Oct 25 01:15:24 2007 -0700 > > PCI: Revert "PCI: disable MSI by default on systems with Serverworks HT1000 chips" > >commit 1d84b5424efbcce69a1c955ba181147d23d43a14 >Author: David Miller <davem@davemloft.net> >Date: Thu Oct 25 01:15:53 2007 -0700 > > PCI: Add MSI quirk for ServerWorks HT1000 PCIX bridge. > >but that one will not be used since it appears to be a kabi breaker and >since tg3 is currently the only driver needing the workaround it seems >reasonable to keep the changes there. > >diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c >index d4a898c..3bfc030 100644 >--- a/drivers/pci/quirks.c >+++ b/drivers/pci/quirks.c >@@ -1756,7 +1756,6 @@ static void __init quirk_disable_all_msi(struct pci_dev *dev) > printk(KERN_WARNING "PCI: MSI quirk detected. MSI deactivated.\n"); > } > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_GCNB_LE, quirk_disable_all_msi); >-DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_HT1000_PCIX, quirk_disable_all_msi); > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RS400_200, quirk_disable_all_msi); > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RS480, quirk_disable_all_msi); > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VT3351, quirk_disable_all_msi); >@@ -1811,6 +1810,33 @@ static void __devinit quirk_msi_ht_cap(struct pci_dev *dev) > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_HT2000_PCIE, > quirk_msi_ht_cap); > >+ >+/* >+ * Force enable MSI mapping capability on HT bridges >+ */ >+static void __devinit quirk_msi_ht_cap_enable(struct pci_dev *dev) >+{ >+ int pos, ttl = 48; >+ >+ pos = pci_find_ht_capability(dev, HT_CAPTYPE_MSI_MAPPING); >+ while (pos && ttl--) { >+ u8 flags; >+ >+ if (pci_read_config_byte(dev, pos + HT_MSI_FLAGS, &flags) == 0) { >+ printk(KERN_INFO "PCI: Enabling HT MSI Mapping on %s\n", >+ pci_name(dev)); >+ >+ pci_write_config_byte(dev, pos + HT_MSI_FLAGS, >+ flags | HT_MSI_FLAGS_ENABLE); >+ } >+ pos = pci_find_next_ht_capability(dev, pos, >+ HT_CAPTYPE_MSI_MAPPING); >+ } >+} >+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SERVERWORKS, >+ PCI_DEVICE_ID_SERVERWORKS_HT1000_PXB, >+ quirk_msi_ht_cap_enable); >+ > /* The nVidia CK804 chipset may have 2 HT MSI mappings. > * MSI are supported if the MSI capability set in any of these mappings. > */ >diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h >index 1a2ed93..a136c63 100644 >--- a/include/linux/pci_ids.h >+++ b/include/linux/pci_ids.h >@@ -1431,8 +1431,8 @@ > #define PCI_DEVICE_ID_SERVERWORKS_HE 0x0008 > #define PCI_DEVICE_ID_SERVERWORKS_LE 0x0009 > #define PCI_DEVICE_ID_SERVERWORKS_GCNB_LE 0x0017 >+#define PCI_DEVICE_ID_SERVERWORKS_HT1000_PXB 0x0036 > #define PCI_DEVICE_ID_SERVERWORKS_EPB 0x0103 >-#define PCI_DEVICE_ID_SERVERWORKS_HT1000_PCIX 0x0104 > #define PCI_DEVICE_ID_SERVERWORKS_HT2000_PCIE 0x0132 > #define PCI_DEVICE_ID_SERVERWORKS_OSB4 0x0200 > #define PCI_DEVICE_ID_SERVERWORKS_CSB5 0x0201 >diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 438330
: 300288 |
300289