MIPS: Netlogic: Fixup memory regions for prefetch
authorJayachandran C <jchandra@broadcom.com>
Mon, 10 Jun 2013 06:41:08 +0000 (06:41 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jun 2013 15:46:43 +0000 (17:46 +0200)
commit722138340b9f08d081255ba50928831a972c2e6f
treeafb892f1f31994ae0b31cac66d6a34038ed45c70
parent4033d38ceb9d84ed66b925c1740c1a88f8a4a8f9
MIPS: Netlogic: Fixup memory regions for prefetch

Fix a cache error found in stress test, caused by the prefetch instruction
going beyond valid memory when acessing the last page of a region. Add
the pref_backup logic similar to XLR in XLP too.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5431/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/xlp/setup.c