[PATCH 1/3] PCI: Disable parity checking if broken_parity_status is set
Leon Romanovsky
leon at kernel.org
Tue Jan 5 05:00:58 EST 2021
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 at 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 at nvidia.com>
More information about the linux-arm-kernel
mailing list