powerpc/pseries: Fix PCI config address for DDW
Michael Ellerman
mpe at ellerman.id.au
Mon Jun 6 11:53:20 AEST 2016
On Wed, 2016-25-05 at 23:56:07 UTC, Gavin Shan wrote:
> In commit <8445a87f7092> ("powerpc/iommu: Remove the dependency
> on EEH struct in DDW mechanism"), the PE address was replaced
> with the PCI config address in order to remove dependency on EEH.
> According to PAPR spec, firmware (pHyp or QEMU) should accept
> "xxBBSSxx" format PCI config address, not "xxxxBBSS" provided
> by the patch. Note that "BB" is PCI bus number and "SS" is the
> combination of slot and function number.
>
> This fixes the PCI address passed to DDW RTAS calls.
>
> Fixes: 8445a87f7092 ("powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism")
That commit was Cc'ed to stable, so this needs to be also.
I've added it here.
cheers
More information about the Linuxppc-dev
mailing list