Thread (79 messages) 79 messages, 12 authors, 2016-02-01

[PATCH V3 00/21] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

From: Jeremy Linton <hidden>
Date: 2016-01-14 22:51:26
Also in: linux-acpi, linux-pci, lkml

On 01/14/2016 09:29 AM, Mark Salter wrote:
quoted hunk ↗ jump to hunk
IO resources on Mustang get disabled unless I do:
@@ -126,9 +126,10 @@ static void acpi_dev_ioresource_flags(struct resource *res, u64 len,
         if (!acpi_dev_resource_len_valid(res->start, res->end, len, true))
                 res->flags |= IORESOURCE_DISABLED | IORESOURCE_UNSET;

+#if 0
         if (res->end >= 0x10003)
                 res->flags |= IORESOURCE_DISABLED | IORESOURCE_UNSET;
-
+#endif
res->end is way beyond 0x10003 on Mustang:

   pci_bus 0000:00: root bus resource [io  0x0000-0xffff window] (bus address [0x10000000-0x1000ffff])
Juno is throwing "No Space" errors too with the following acpi definition.

DWordIo ( // IO window
	ResourceProducer,
	MinFixed,
	MaxFixed,
	PosDecode,
	EntireRange,
	0x00000000,// Granularity
	0x00000000,// Min Base Address
	0x007fffff,// Max Base Address
	0x5f800000, // Translate
	0x00800000, // Length
	,
	,
	,
	TypeTranslation
)

Although, my reading of the ACPI dword section is suspect...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help