Re: [PATCH 1/3] powerpc/powernv: remove the unused pnv_pci_set_p2p function
From: Christoph Hellwig <hch@lst.de>
Date: 2019-07-09 14:03:07
From: Christoph Hellwig <hch@lst.de>
Date: 2019-07-09 14:03:07
On Tue, Jul 09, 2019 at 01:49:04PM +0000, Max Gurtovoy wrote:
Hi Greg/Christoph, Can we leave it meanwhile till we'll find a general solution (for the upcoming kernel) ? I guess we can somehow generalize the P2P initialization process for PPC and leave it empty for now for other archs. Or maybe we can find some other solution (sysfs/configfs/module param), but it will take time since we'll need to work closely with the IBM pci guys that wrote this code.
We do not keep code without in-tree users around, especially not if we have a better API with in-tree users. AFAICS the only thing you'll need is to wire up the enable/disable calls.