]> git.baikalelectronics.ru Git - kernel.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)
committerHelge Deller <deller@gmx.de>
Fri, 25 Nov 2016 11:32:01 +0000 (12:32 +0100)
commitd183023e8173ae9e82bc3fffe245f8a896c981f8
tree8c293cf58ca0e05cc7ce78d9b47a3420c98c5ad5
parent2a230b2ccc14f27eab513ae4e99a484523214cd5
parisc: Also flush data TLB in flush_icache_page_asm

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>
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/pacache.S