diff options
author | Helge Deller <deller@gmx.de> | 2019-09-05 16:44:17 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-09-08 15:43:04 +0200 |
commit | 5fa1659105fac63e0f3c199b476025c2e04111ce (patch) | |
tree | 62ae6ea42480684c0668a42c5f6569138b22fb1e /arch/parisc/boot | |
parent | 1191cf4986b5e8008c615896e487dc35fe922acd (diff) |
parisc: Disable HP HSC-PCI Cards to prevent kernel crash
The HP Dino PCI controller chip can be used in two variants: as on-board
controller (e.g. in B160L), or on an Add-On card ("Card-Mode") to bridge
PCI components to systems without a PCI bus, e.g. to a HSC/GSC bus. One
such Add-On card is the HP HSC-PCI Card which has one or more DEC Tulip
PCI NIC chips connected to the on-card Dino PCI controller.
Dino in Card-Mode has a big disadvantage: All PCI memory accesses need
to go through the DINO_MEM_DATA register, so Linux drivers will not be
able to use the ioremap() function. Without ioremap() many drivers will
not work, one example is the tulip driver which then simply crashes the
kernel if it tries to access the ports on the HP HSC card.
This patch disables the HP HSC card if it finds one, and as such
fixes the kernel crash on a HP D350/2 machine.
Signed-off-by: Helge Deller <deller@gmx.de>
Noticed-by: Phil Scarr <phil.scarr@pm.me>
Cc: stable@vger.kernel.org
Diffstat (limited to 'arch/parisc/boot')
0 files changed, 0 insertions, 0 deletions