linux_dsm_epyc7002/drivers/vme
Joe Schultz 226572b110 vme_tsi148: Fix PCI address mapping assumption
Previously, tsi148_master_set() assumed the address contained in its
PCI bus resource represented the actual PCI bus address. This is a fine
assumption on some platforms. However, on platforms that don't use a
1:1 (CPU:PCI) mapping this results in the tsi148 driver configuring an
invalid master window translation.

This patch updates the vme_tsi148 driver to first convert the address
contained in the PCI bus resource into a PCI bus address before using
it.

[asierra: account for pcibios_resource_to_bus() prototype change]
Signed-off-by: Joe Schultz <jschultz@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-16 14:08:37 -07:00
..
boards vme: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-03 11:15:58 -08:00
bridges vme_tsi148: Fix PCI address mapping assumption 2014-04-16 14:08:37 -07:00
Kconfig vme: Convert VME core to register as a subsystem 2013-12-17 17:06:19 -08:00
Makefile Staging: VME: move VME drivers out of staging 2012-04-26 12:34:58 -07:00
vme_bridge.h Staging: VME: move VME drivers out of staging 2012-04-26 12:34:58 -07:00
vme.c vme: Convert VME core to register as a subsystem 2013-12-17 17:06:19 -08:00