summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2020-06-13 10:17:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-26 11:29:56 +0300
commit951e12c66ea4aa31af3be9de97abd20fc3c11294 (patch)
tree61e3f0e96086eb943356526eaf6cdf046939d688 /fs
parentd3eb5be2b7a76e59c2827c77ae1ce845ab8f972a (diff)
downloadlinux-951e12c66ea4aa31af3be9de97abd20fc3c11294.tar.xz
m68knommu: fix overwriting of bits in ColdFire V3 cache control
[ Upstream commit bdee0e793cea10c516ff48bf3ebb4ef1820a116b ] The Cache Control Register (CACR) of the ColdFire V3 has bits that control high level caching functions, and also enable/disable the use of the alternate stack pointer register (the EUSP bit) to provide separate supervisor and user stack pointer registers. The code as it is today will blindly clear the EUSP bit on cache actions like invalidation. So it is broken for this case - and that will result in failed booting (interrupt entry and exit processing will be completely hosed). This only affects ColdFire V3 parts that support the alternate stack register (like the 5329 for example) - generally speaking new parts do, older parts don't. It has no impact on ColdFire V3 parts with the single stack pointer, like the 5307 for example. Fix the cache bit defines used, so they maintain the EUSP bit when carrying out cache actions through the CACR register. Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions