]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Also flush data TLB in flush_icache_page_asm
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 25 Nov 2016 01:18:14 +0000 (20:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Dec 2016 08:10:32 +0000 (09:10 +0100)
commit0a80bef18a9f6db0a5dc5683ed42b4c69cd587d4
tree7c10d7a32cee31484c183dedb964bdf5b5cf2466
parent09e35a83cdc97137bcbe96edd276c26fa118fb36
parisc: Also flush data TLB in flush_icache_page_asm

commit 5035b230e7b67ac12691ed3b5495bbb617027b68 upstream.

This is the second issue I noticed in reviewing the parisc TLB code.

The fic instruction may use either the instruction or data TLB in
flushing the instruction cache.  Thus, on machines with a split TLB, we
should also flush the data TLB after setting up the temporary alias
registers.

Although this has no functional impact, I changed the pdtlb and pitlb
instructions to consistently use the index register %r0.  These
instructions do not support integer displacements.

Tested on rp3440 and c8000.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/pacache.S