summaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorIvan Mikhaylov <ivan@de.ibm.com>2017-05-19 18:47:05 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-05-30 14:59:51 +1000
commit6e2f03e292ef46eed2b31b0a344a91d514f9cd81 (patch)
treefc20bfd1e8f49c361bbe28a572bcff12a9fdba0c /scripts/patch-kernel
parent20975a0ae1ccc59a21a149e2fd2964ce88edb0a9 (diff)
downloadcachepc-linux-6e2f03e292ef46eed2b31b0a344a91d514f9cd81.tar.gz
cachepc-linux-6e2f03e292ef46eed2b31b0a344a91d514f9cd81.zip
powerpc/[booke|4xx]: Don't clobber TCR[WP] when setting TCR[DIE]
Prevent a kernel panic caused by unintentionally clearing TCR watchdog bits. At this point in the kernel boot, the watchdog may have already been enabled by u-boot. The original code's attempt to write to the TCR register results in an inadvertent clearing of the watchdog configuration bits, causing the 476 to reset. Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions