summaryrefslogtreecommitdiffstats
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2015-07-31 17:29:38 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-08-03 10:29:11 +0200
commit3aff47c062b944a5e1f9af56a37a23f5295628fc (patch)
tree3e06f91bc72e2c9b99927b0435d44344dfdd1780 /net/tipc/net.c
parentRevert "MIPS: BCM63xx: Provide a plat_post_dma_flush hook" (diff)
downloadlinux-3aff47c062b944a5e1f9af56a37a23f5295628fc.tar.xz
linux-3aff47c062b944a5e1f9af56a37a23f5295628fc.zip
MIPS: Flush RPS on kernel entry with EVA
When EVA is enabled, flush the Return Prediction Stack (RPS) present on some MIPS cores on entry to the kernel from user mode. This is important specifically for interAptiv with EVA enabled, otherwise kernel mode RPS mispredicts may trigger speculative fetches of user return addresses, which may be sensitive in the kernel address space due to EVA's overlapping user/kernel address spaces. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Markos Chandras <markos.chandras@imgtec.com> Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com> Cc: linux-mips@linux-mips.org Cc: <stable@vger.kernel.org> # 3.15.x- Patchwork: https://patchwork.linux-mips.org/patch/10812/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions