kernel_samsung_a53x/drivers/bus
Tony Lindgren bcc87e2285 bus: ti-sysc: Flush posted write only after srst_udelay
commit f71f6ff8c1f682a1cae4e8d7bdeed9d7f76b8f75 upstream.

Commit 34539b442b3b ("bus: ti-sysc: Flush posted write on enable before
reset") caused a regression reproducable on omap4 duovero where the ISS
target module can produce interconnect errors on boot. Turns out the
registers are not accessible until after a delay for devices needing
a ti,sysc-delay-us value.

Let's fix this by flushing the posted write only after the reset delay.
We do flushing also for ti,sysc-delay-us using devices as that should
trigger an interconnect error if the delay is not properly configured.

Let's also add some comments while at it.

Fixes: 34539b442b3b ("bus: ti-sysc: Flush posted write on enable before reset")
Cc: stable@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:12:01 +01:00
..
fsl-mc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mhi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arm-cci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arm-integrator-lm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
brcmstb_gisb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bt1-apb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bt1-axi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
da8xx-mstpri.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hisi_lpc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-weim.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mips_cdmm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
moxtet.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvebu-mbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-ocp2scp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_l3_noc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_l3_noc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_l3_smx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_l3_smx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom-ebi2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
simple-pm-bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun50i-de2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sunxi-rsb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tegra-aconnect.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tegra-gmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-pwmss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-sysc.c bus: ti-sysc: Flush posted write only after srst_udelay 2024-11-18 12:12:01 +01:00
ts-nbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uniphier-system-bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vexpress-config.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00