Re: [PATCH] powerpc/kernel: Change retrieval of pci_dn
From: Bryant G. Ly <hidden>
Date: 2017-08-29 13:18:41
On 8/29/17 1:33 AM, Michael Ellerman wrote:
"Bryant G. Ly" [off-list ref] writes:quoted
For a PCI device it's pci_dn can be retrieved from pdev->dev.archdata.firmware_data, PCI_DN(devnode), or parent's list. Thus, we should just use the generic function pci_get_pdn_by_devfn to get the pci_dn. Signed-off-by: Bryant G. Ly <redacted>Minor issue, it's preferable if the email in your Signed-off-by matches the email you send patches from. cheers
Hi Michael, Thanks for the review. I apologize for the email's not matching, I switch between the two frequently throughout the day for internal gerrit commits and Linux patches. I have addressed all your comments in the new patch that I had just put up. Also, I have tested it with mellanox cx4 cards on P8 systems. I'd also like to let you know that I am working on patches to enable SRIOV on power and would like your feedback on design, which I will send in a private email. -Bryant