Re: [PATCH 1/3] PCI: Disable parity checking if broken_parity_status is set
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-01-05 10:02:36
Also in:
linux-pci, netdev
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-01-05 10:02:36
Also in:
linux-pci, netdev
On Tue, Jan 05, 2021 at 10:41:26AM +0100, Heiner Kallweit wrote:
If we know that a device has broken parity checking, then disable it. This avoids quirks like in r8169 where on the first parity error interrupt parity checking will be disabled if broken_parity_status is set. Make pci_quirk_broken_parity() public so that it can be used by platform code, e.g. for Thecus N2100. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> --- drivers/pci/quirks.c | 17 +++++++++++------ include/linux/pci.h | 2 ++ 2 files changed, 13 insertions(+), 6 deletions(-)
Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel