ppc: Speed up dcbz
commitc9f82d013be0d8d9c5d9f51bb76e337a0a5a5cac
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 27 Jul 2016 06:56:43 +0000 (27 16:56 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Sep 2016 02:40:11 +0000 (7 12:40 +1000)
tree4e2e9edc209bb20ded9d88cd61c7ae089ae0aa6b
parent22b56ee5682e64509621f9d5d303a0414e289b11
ppc: Speed up dcbz

Use tlb_vaddr_to_host to do a fast path single translate for
the whole cache line. Also make the reservation check match
the entire range.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/mem_helper.c
target-ppc/translate.c