Re: [PATCH v7 3/4] PCI: Introduce disable_acs_redir quirk
From: Alex Williamson <hidden>
Date: 2018-07-17 17:48:52
Also in:
linux-pci, lkml
From: Alex Williamson <hidden>
Date: 2018-07-17 17:48:52
Also in:
linux-pci, lkml
On Tue, 17 Jul 2018 11:02:03 -0600 Logan Gunthorpe [off-list ref] 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 <redacted> -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html