FreeBSD Bugzilla – Attachment 187442 Details for
Bug 221350
Unable to boot/install on HPE Proliant MicroServer Gen10 (AMD Opteron X3000): Hangs/Panics
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch adds a quirk to address the issue
file_221350.txt (text/plain), 1.23 KB, created by
Bob Bishop
on 2017-10-24 14:57:11 UTC
(
hide
)
Description:
This patch adds a quirk to address the issue
Filename:
MIME Type:
Creator:
Bob Bishop
Created:
2017-10-24 14:57:11 UTC
Size:
1.23 KB
patch
obsolete
>--- sys/dev/pci/pci.c.orig 2017-10-24 14:01:34.904904000 +0100 >+++ sys/dev/pci/pci.c 2017-10-24 15:51:13.338768000 +0100 >@@ -221,6 +221,7 @@ > #define PCI_QUIRK_UNMAP_REG 4 /* Ignore PCI map register */ > #define PCI_QUIRK_DISABLE_MSIX 5 /* MSI-X doesn't work */ > #define PCI_QUIRK_MSI_INTX_BUG 6 /* PCIM_CMD_INTxDIS disables MSI */ >+#define PCI_QUIRK_NEED_REALLOC_BAR 7 /* Can't allocate memory at the default address */ > int arg1; > int arg2; > }; >@@ -302,6 +303,12 @@ > { 0x167814e4, PCI_QUIRK_MSI_INTX_BUG, 0, 0 }, /* BCM5715 */ > { 0x167914e4, PCI_QUIRK_MSI_INTX_BUG, 0, 0 }, /* BCM5715S */ > >+ /* >+ * HPE Gen 10 VGA has a memory range that can't be allocated in the >+ * expected place. >+ */ >+ { 0x98741002, PCI_QUIRK_NEED_REALLOC_BAR, 0, 0 }, >+ > { 0 } > }; > >@@ -3160,7 +3167,8 @@ > */ > res = resource_list_reserve(rl, bus, dev, type, ®, start, end, count, > flags); >- if (pci_do_realloc_bars && res == NULL && (start != 0 || end != ~0)) { >+ if ((pci_do_realloc_bars || pci_has_quirk(pci_get_devid(dev), PCI_QUIRK_NEED_REALLOC_BAR)) >+ && res == NULL && (start != 0 || end != ~0)) { > /* > * If the allocation fails, try to allocate a resource for > * this BAR using any available range. The firmware felt
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 221350
:
185171
|
185172
|
185173
|
185174
|
186306
|
186707
|
186708
|
186709
| 187442 |
188398
|
188399
|
188401
|
188403
|
193428