OrangePi_CM5/drivers/bus/fsl-mc
Laurentiu Tudor e944a22126 bus: fsl-mc: fix mmio base address for child DPRCs
[ Upstream commit 8990f96a012f42543005b07d9e482694192e9309 ]

Some versions of the MC firmware wrongly report 0 for register base
address of the DPMCP associated with child DPRC objects thus rendering
them unusable. This is particularly troublesome in ACPI boot scenarios
where the legacy way of extracting this base address from the device
tree does not apply.
Given that DPMCPs share the same base address, workaround this by using
the base address extracted from the root DPRC container.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Link: https://lore.kernel.org/r/20210715140718.8513-8-laurentiu.tudor@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:40:20 +02:00
..
Kconfig
…
Makefile
…
dpbp.c
…
dpcon.c
…
dpmcp.c
…
dprc-driver.c bus/fsl-mc: Export IRQ pool handling functions to be used by VFIO 2020-10-02 16:05:02 +02:00
dprc.c bus/fsl-mc: Add a new version for dprc_get_obj_region command 2020-10-02 16:05:02 +02:00
fsl-mc-allocator.c bus: fsl-mc: fix error return code in fsl_mc_object_allocate() 2020-12-30 11:53:46 +01:00
fsl-mc-bus.c bus: fsl-mc: fix mmio base address for child DPRCs 2021-09-18 13:40:20 +02:00
fsl-mc-msi.c bus: fsl-mc: Add ACPI support for fsl-mc 2020-07-28 15:51:32 +01:00
fsl-mc-private.h bus/fsl-mc: Add a new version for dprc_get_obj_region command 2020-10-02 16:05:02 +02:00
mc-io.c bus/fsl_mc: Do not rely on caller to provide non NULL mc_io 2020-10-02 16:05:01 +02:00
mc-sys.c bus: fsl-mc: use raw spin lock to serialize mc cmds 2020-07-23 16:54:33 +02:00