summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2014-11-16 02:02:29 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-02 13:54:18 +0200
commite2e7f29af84aa59dd8191b9f6fee80aafa4e06cd (patch)
treed24402478d2956b93d2d881673d527f0a483eb11 /arch/mips/bcm47xx
parentMIPS: Remove prototype for copy_user_page (diff)
downloadlinux-e2e7f29af84aa59dd8191b9f6fee80aafa4e06cd.tar.xz
linux-e2e7f29af84aa59dd8191b9f6fee80aafa4e06cd.zip
MIPS: c-r4k.c: Fix the 74K D-cache alias erratum workaround
Fix the 74K D-cache alias erratum workaround so that it actually works. Our current code sets MIPS_CACHE_VTAG for the D-cache, but that flag only has any effect for the I-cache. Additionally MIPS_CACHE_PINDEX is set for the D-cache if CP0.Config7.AR is also set for an affected processor, leading to confusing information in the bootstrap log (the flag isn't used beyond that). So delete the setting of MIPS_CACHE_VTAG and rely on MIPS_CACHE_ALIASES, set in a common place, removing I-cache coherency issues seen in GDB testing with software breakpoints, gdbserver and ptrace(2), on affected systems. While at it add a little piece of explanation of what CP0.Config6.SYND is so that people do not have to chase documentation. Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8507/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm47xx')
0 files changed, 0 insertions, 0 deletions