Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc/pseries: Fix PCI config address for DDW
In commit 8445a87 "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: 8445a87 ("powerpc/iommu: Remove the dependency on EEH struct in DDW mechanism") Cc: [email protected] # v3.4+ Reported-by: Guilherme G. Piccoli <[email protected]> Signed-off-by: Gavin Shan <[email protected]> Tested-by: Guilherme G. Piccoli <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
- Loading branch information