Ubuntu-focal-kernel/drivers/bus
Tony Lindgren b4a44fcffc bus: ti-sysc: Flush posted write on enable before reset
BugLink: https://bugs.launchpad.net/bugs/2039440

[ Upstream commit 34539b442b3bc7d5bf10164750302b60b91f18a7 ]

The am335x devices started producing boot errors for resetting musb module
in because of subtle timing changes:

Unhandled fault: external abort on non-linefetch (0x1008)
...
sysc_poll_reset_sysconfig from sysc_reset+0x109/0x12
sysc_reset from sysc_probe+0xa99/0xeb0
...

The fix is to flush posted write after enable before reset during
probe. Note that some devices also need to specify the delay after enable
with ti,sysc-delay-us, but this is not needed for musb on am335x based on
my tests.

Reported-by: kernelci.org bot <bot@kernelci.org>
Closes: https://storage.kernelci.org/next/master/next-20230614/arm/multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y/gcc-10/lab-cip/baseline-beaglebone-black.html
Fixes: 596e795569 ("bus: ti-sysc: Add support for software reset")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
2023-10-30 11:41:58 +01:00
..
fsl-mc
Kconfig
Makefile
arm-cci.c
brcmstb_gisb.c
da8xx-mstpri.c
hisi_lpc.c bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe() 2022-10-17 15:00:31 +02:00
imx-weim.c bus: imx-weim: fix branch condition evaluates to a garbage value 2023-07-10 17:22:04 +02:00
mips_cdmm.c
moxtet.c
mvebu-mbus.c
omap-ocp2scp.c
omap_l3_noc.c
omap_l3_noc.h
omap_l3_smx.c
omap_l3_smx.h
qcom-ebi2.c bus: qcom: Put child node before return 2021-05-26 15:39:11 +02:00
simple-pm-bus.c
sun50i-de2.c
sunxi-rsb.c bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() 2023-04-18 17:20:58 +02:00
tegra-aconnect.c
tegra-gmi.c
ti-sysc.c bus: ti-sysc: Flush posted write on enable before reset 2023-10-30 11:41:58 +01:00
ts-nbus.c
uniphier-system-bus.c
vexpress-config.c