forked from luck/tmp_suning_uos_patched
8f93662d83
Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs. IO requests are routed to this bus by means of the DW AMBA 3 AXI Interconnect. In case if an attempted APB transaction stays with no response for a pre-defined time an interrupt occurs and the bus gets freed for a next operation. This driver provides the interrupt handler to detect the erroneous address, prints an error message about the address fault, updates an errors counter. The counter and the APB-bus operations timeout can be accessed via corresponding sysfs nodes. A dedicated sysfs-node can be also used to artificially cause the bus errors described above. [arnd: fix build warnings for missing includes and wrong return types] Link: https://lore.kernel.org/r/20200526125928.17096-6-Sergey.Semin@baikalelectronics.ru Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru> Cc: Paul Burton <paulburton@kernel.org> Cc: Olof Johansson <olof@lixom.net> Cc: Rob Herring <robh+dt@kernel.org> Cc: linux-mips@vger.kernel.org Cc: soc@kernel.org Cc: devicetree@vger.kernel.org Reported-by: kbuild test robot <lkp@intel.com> Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the bus drivers.
|
|
#
|
|
|
|
# Interconnect bus drivers for ARM platforms
|
|
obj-$(CONFIG_ARM_CCI) += arm-cci.o
|
|
|
|
obj-$(CONFIG_HISILICON_LPC) += hisi_lpc.o
|
|
obj-$(CONFIG_BRCMSTB_GISB_ARB) += brcmstb_gisb.o
|
|
obj-$(CONFIG_MOXTET) += moxtet.o
|
|
|
|
# DPAA2 fsl-mc bus
|
|
obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/
|
|
|
|
obj-$(CONFIG_BT1_APB) += bt1-apb.o
|
|
obj-$(CONFIG_BT1_AXI) += bt1-axi.o
|
|
obj-$(CONFIG_IMX_WEIM) += imx-weim.o
|
|
obj-$(CONFIG_MIPS_CDMM) += mips_cdmm.o
|
|
obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o
|
|
|
|
# Interconnect bus driver for OMAP SoCs.
|
|
obj-$(CONFIG_OMAP_INTERCONNECT) += omap_l3_smx.o omap_l3_noc.o
|
|
|
|
obj-$(CONFIG_OMAP_OCP2SCP) += omap-ocp2scp.o
|
|
obj-$(CONFIG_QCOM_EBI2) += qcom-ebi2.o
|
|
obj-$(CONFIG_SUN50I_DE2_BUS) += sun50i-de2.o
|
|
obj-$(CONFIG_SUNXI_RSB) += sunxi-rsb.o
|
|
obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
|
|
obj-$(CONFIG_TEGRA_ACONNECT) += tegra-aconnect.o
|
|
obj-$(CONFIG_TEGRA_GMI) += tegra-gmi.o
|
|
obj-$(CONFIG_TI_PWMSS) += ti-pwmss.o
|
|
obj-$(CONFIG_TI_SYSC) += ti-sysc.o
|
|
obj-$(CONFIG_TS_NBUS) += ts-nbus.o
|
|
obj-$(CONFIG_UNIPHIER_SYSTEM_BUS) += uniphier-system-bus.o
|
|
obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress-config.o
|
|
|
|
obj-$(CONFIG_DA8XX_MSTPRI) += da8xx-mstpri.o
|
|
|
|
# MHI
|
|
obj-$(CONFIG_MHI_BUS) += mhi/
|