]> asedeno.scripts.mit.edu Git - linux.git/commit
parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
authorHelge Deller <deller@gmx.de>
Sun, 25 Mar 2018 12:04:22 +0000 (14:04 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 27 Mar 2018 16:52:22 +0000 (18:52 +0200)
commitb845f66f78bf42a4ce98e5cfe0e94fab41dd0742
treef146133732045dcdf83ec6434a587a447c418c5a
parentd5654e156bc4d68a87bbaa6d7e020baceddf6e68
parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode

Carlo Pisani noticed that his C3600 workstation behaved unstable during heavy
I/O on the PCI bus with a VIA VT6421 IDE/SATA PCI card.

To avoid such instability, this patch switches the LBA PCI bus from Hard Fail
mode into Soft Fail mode. In this mode the bus will return -1UL for timed out
MMIO transactions, which is exactly how the x86 (and most other architectures)
PCI busses behave.

This patch is based on a proposal by Grant Grundler and Kyle McMartin 10
years ago:
https://www.spinics.net/lists/linux-parisc/msg01027.html

Cc: Carlo Pisani <carlojpisani@gmail.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Reviewed-by: Grant Grundler <grantgrundler@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/lba_pci.c