parisc: speed up flush_tlb_all_local with qemu
authorHelge Deller <deller@gmx.de>
Mon, 12 Aug 2019 17:13:20 +0000 (19:13 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 12 Aug 2019 17:17:40 +0000 (19:17 +0200)
commita5ff2130a4d98d22377e5fdab87d713f4b17f4f2
tree72d50c4107f39ee0482ef751c7ce9239a14d6f8d
parent82992fc70f98dee091faa926eb5cecadda5c84f4
parisc: speed up flush_tlb_all_local with qemu

When started in qemu, we know that qemu will drop all local TLB entries
on any pxtlbe instruction. So, if we detect qemu, replace the whole
flush_tlb_all_local function by one pdtlbe instruction.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/pacache.S