WSL2-Linux-Kernel/arch/powerpc/platforms/ps3
Aneesh Kumar K.V db3d853490 powerpc/mm: handle hugepage size correctly when invalidating hpte entries
If a hash bucket gets full, we "evict" a more/less random entry from it.
When we do that we don't invalidate the TLB (hpte_remove) because we assume
the old translation is still technically "valid". This implies that when
we are invalidating or updating pte, even if HPTE entry is not valid
we should do a tlb invalidate. With hugepages, we need to pass the correct
actual page size value for tlb invalidation.

This change update the patch 0608d69246
"powerpc/mm: Always invalidate tlb on hpte invalidate and update" to handle
transparent hugepages correctly.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-06-21 16:01:52 +10:00
..
Kconfig arch/powerpc/platforms/ps3: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:04 -08:00
Makefile powerpc/ps3: Add gelic udbg driver 2011-09-20 09:20:05 +10:00
device-init.c powerpc/irq: Remove IRQF_DISABLED 2011-11-08 14:51:46 +11:00
exports.c powerpc: remove non-required uses of include <linux/module.h> 2011-10-31 19:30:44 -04:00
gelic_udbg.c powerpc/ps3: Add gelic udbg driver 2011-09-20 09:20:05 +10:00
htab.c powerpc/mm: handle hugepage size correctly when invalidating hpte entries 2013-06-21 16:01:52 +10:00
hvcall.S [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
interrupt.c irq_domain: Move irq_virq_count into NOMAP revmap 2012-04-12 00:37:48 -06:00
mm.c powerpc/ps3: Add highmem region memory early 2012-04-24 15:34:18 -07:00
os-area.c powerpc+of: Rename the drivers/of prom_* functions to of_* 2012-11-15 12:56:52 +11:00
platform.h powerpc/ps3: Add highmem repository read routines 2012-04-24 15:34:17 -07:00
repository.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
setup.c powerpc: Rework set_dabr so it can take a DABRX value as well 2012-09-10 09:59:10 +10:00
smp.c powerpc/ps3: Add __init to ps3_smp_probe 2011-12-08 14:05:55 +11:00
spu.c powerpc/ps3: Fix hcall lv1_get_virtual_address_space_id_of_ppe 2011-12-08 14:05:54 +11:00
system-bus.c PowerPC: adapt for dma_map_ops changes 2012-03-28 16:36:33 +02:00
time.c powerpc: Use PTR_RET instead of IS_ERR/PTR_ERR 2013-04-18 13:03:48 +10:00