Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150977210
D49709.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
923 B
Referenced Files
None
Subscribers
None
D49709.diff
View Options
diff --git a/sys/dev/acpica/acpi_resource.c b/sys/dev/acpica/acpi_resource.c
--- a/sys/dev/acpica/acpi_resource.c
+++ b/sys/dev/acpica/acpi_resource.c
@@ -67,6 +67,16 @@
static char *pcilink_ids[] = { "PNP0C0F", NULL };
+/*
+ * Devices with invalid memory resources
+ */
+static char *bad_memresource_ids[] = {
+ /* PRCx on Radxa Orion O6 conflicts with the PCI resource range */
+ "CIXH2020",
+ NULL
+};
+
+
static ACPI_STATUS
acpi_lookup_irq_handler(ACPI_RESOURCE *res, void *context)
{
@@ -620,6 +630,11 @@
* access.
*/
if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) {
+ if (type == SYS_RES_MEMORY &&
+ ACPI_ID_PROBE(device_get_parent(dev), dev, bad_memresource_ids,
+ NULL) <= 0)
+ return (true);
+
if (ACPI_SUCCESS(AcpiGetObjectInfo(ad->ad_handle, &devinfo))) {
if ((devinfo->Flags & ACPI_PCI_ROOT_BRIDGE) != 0) {
#if defined(__i386__) || defined(__amd64__)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 6:44 AM (7 h, 28 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30944563
Default Alt Text
D49709.diff (923 B)
Attached To
Mode
D49709: pci: Ignore PCRx devices resources
Attached
Detach File
Event Timeline
Log In to Comment