On Tue, Jan 29, 2019 at 02:56:38PM -0500, Alex Deucher wrote:
On Tue, Jan 29, 2019 at 12:47 PM jglisse@redhat.com wrote:
From: Jérôme Glisse jglisse@redhat.com
device_test_p2p() return true if two devices can peer to peer to each other. We add a generic function as different inter-connect can support peer to peer and we want to genericaly test this no matter what the inter-connect might be. However this version only support PCIE for now.
What about something like these patches: https://cgit.freedesktop.org/~deathsimple/linux/commit/?h=p2p&id=4fab9ff... https://cgit.freedesktop.org/~deathsimple/linux/commit/?h=p2p&id=f90b12d... They are a bit more thorough.
Yes it would be better, i forgot about those. I can include them next time i post. Thank you for reminding me about those :)
Cheers, Jérôme