diff options
author | Helge Deller <deller@gmx.de> | 2019-09-05 16:44:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 12:48:05 +0200 |
commit | 2d76dd0e177b564a99385c03732e1424d84c281b (patch) | |
tree | 41a260a5bad6af0bd3a7eb1bda45beb16c84450a /ipc | |
parent | 7d52993a8dcdb70127c881ccab79c3ae77791fcc (diff) | |
download | linux-stable-2d76dd0e177b564a99385c03732e1424d84c281b.tar.gz linux-stable-2d76dd0e177b564a99385c03732e1424d84c281b.tar.bz2 linux-stable-2d76dd0e177b564a99385c03732e1424d84c281b.zip |
parisc: Disable HP HSC-PCI Cards to prevent kernel crash
commit 5fa1659105fac63e0f3c199b476025c2e04111ce upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions