[PATCH kernel] powerpc/pci/of: Parse unassigned resources

Michael Ellerman mpe at ellerman.id.au
Tue Jun 18 22:15:17 AEST 2019


Alexey Kardashevskiy <aik at ozlabs.ru> writes:
> The pseries platform uses the PCI_PROBE_DEVTREE method of PCI probing
> which is basically reading "assigned-addresses" of every PCI device.
> However if the property is missing or zero sized, then there is
> no fallback of any kind and the PCI resources remain undiscovered, i.e.
> pdev->resource[] array is empty.
>
> This adds a fallback which parses the "reg" property in pretty much same
> way except it marks resources as "unset" which later makes Linux assign
> those resources with proper addresses.

What happens under PowerVM is the big question.

ie. if we see such a device under PowerVM and then do our own assignment
what happens?

cheers


More information about the Linuxppc-dev mailing list