aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2023-06-14 10:18:23 +0300
committerTony Lindgren <[email protected]>2023-06-14 11:03:06 +0300
commit34539b442b3bc7d5bf10164750302b60b91f18a7 (patch)
tree5772e933fbc9aaecb7d8b7731456d31b256ce0b9 /lib/test_fortify/write_overflow-strncpy-src.c
parentf620596fa347170852da499e778a5736d79a4b79 (diff)
bus: ti-sysc: Flush posted write on enable before reset
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 <[email protected]> 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: 596e7955692b ("bus: ti-sysc: Add support for software reset") Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions