Messages in this thread | | | Date | Tue, 17 Jul 2018 11:48:47 -0600 | From | Alex Williamson <> | Subject | Re: [PATCH v7 3/4] PCI: Introduce disable_acs_redir quirk |
| |
On Tue, 17 Jul 2018 11:02:03 -0600 Logan Gunthorpe <logang@deltatee.com> wrote:
> Intel SPT PCH hardware has an implementation of the ACS bits that > does not comply with the PCI express standard. To deal with this > the existing code has an enable_acs() quirk for the hardware. > > In order to be able to correctly disable the ACS redirect bits for > all hardware we need an analagous quirk to disable those bits. > > This adds the function pci_dev_specific_disable_acs_redir() which > behaves similarly to pci_dev_specific_enable_acs() but uses a new > function pointer for quirks which disables the ACS redirect bits. > > Signed-off-by: Logan Gunthorpe <logang@deltatee.com> > --- > drivers/pci/quirks.c | 78 ++++++++++++++++++++++++++++++++++++++++++++-------- > include/linux/pci.h | 5 ++++ > 2 files changed, 71 insertions(+), 12 deletions(-)
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
| |