Nikunj A Dadhania d76ab5e1c7 target-ppc: tlbie/tlbivax should have global effect
tlbie (BookS) and tlbivax (BookE) plus the H_CALLs(pseries) should have
a global effect.

Introduces TLB_NEED_GLOBAL_FLUSH flag. During lazy tlb flush, after
taking care of pending local flushes, check broadcast flush(at context
synchronizing event ptesync/tlbsync, etc) is needed. Depending on the
bitmask state of the tlb_need_flush, tlb is flushed from other cpus if
needed and the flags are cleared.

Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
[dwg: Use 'true' instead of '1' for call to check_tlb_flush()]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-09-23 12:39:07 +10:00
..
2016-09-13 18:12:34 +03:00
2016-09-08 18:05:22 +04:00
2016-06-17 16:33:48 +10:00
2016-09-15 10:24:22 +01:00
2016-06-14 15:59:13 +01:00
2016-09-19 15:34:35 -03:00
2016-09-08 18:05:21 +04:00
2016-09-15 15:09:59 +02:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2016-09-15 15:32:22 +03:00
2016-07-29 00:07:09 +03:00
2016-01-29 15:07:25 +00:00
2016-09-19 12:41:28 +01:00
2016-09-08 18:05:22 +04:00
2016-09-15 15:32:22 +03:00
2016-06-24 05:13:57 +03:00
2016-09-15 15:32:22 +03:00
2015-12-22 18:39:19 +02:00