Re: [PATCH] PCI: Move ATS declarations to linux/pci.h

2019-09-02 Thread Bjorn Helgaas
[+cc Kelsey] On Mon, Sep 02, 2019 at 04:11:00PM -0500, Bjorn Helgaas wrote: > On Fri, Aug 30, 2019 at 09:18:40AM -0700, Christoph Hellwig wrote: > > On Fri, Aug 30, 2019 at 05:07:56PM +0200, Krzysztof Wilczynski wrote: > > > Move ATS function prototypes from include/linux/pci-ats.h to > > >

Re: [PATCH] PCI: Move ATS declarations to linux/pci.h

2019-09-02 Thread Bjorn Helgaas
On Fri, Aug 30, 2019 at 09:18:40AM -0700, Christoph Hellwig wrote: > On Fri, Aug 30, 2019 at 05:07:56PM +0200, Krzysztof Wilczynski wrote: > > Move ATS function prototypes from include/linux/pci-ats.h to > > include/linux/pci.h so users only need to include : > > Why is that so important? Very

Re: [PATCH] PCI: Move ATS declarations to linux/pci.h

2019-08-30 Thread Robin Murphy
On 30/08/2019 17:18, Christoph Hellwig wrote: On Fri, Aug 30, 2019 at 05:07:56PM +0200, Krzysztof Wilczynski wrote: Move ATS function prototypes from include/linux/pci-ats.h to include/linux/pci.h so users only need to include : Why is that so important? Very few PCI(e) device drivers use

Re: [PATCH] PCI: Move ATS declarations to linux/pci.h

2019-08-30 Thread Christoph Hellwig
On Fri, Aug 30, 2019 at 05:07:56PM +0200, Krzysztof Wilczynski wrote: > Move ATS function prototypes from include/linux/pci-ats.h to > include/linux/pci.h so users only need to include : Why is that so important? Very few PCI(e) device drivers use ATS, so keeping it out of everyones include hell

[PATCH] PCI: Move ATS declarations to linux/pci.h

2019-08-30 Thread Krzysztof Wilczynski
Move ATS function prototypes from include/linux/pci-ats.h to include/linux/pci.h so users only need to include : Realted to PRI capability: pci_enable_pri() pci_disable_pri() pci_restore_pri_state() pci_reset_pri() Related to PASID capability: pci_enable_pasid() pci_disable_pasid()