1
0
Fork 0
alistair23-linux/arch/powerpc
Jack Miller f0aae3238f powerpc/book3e: Flush IPROT protected TLB entries leftover by firmware
When we set up the TLB for ourselves on Book3E, we need to flush out any
old mappings established by the firmware or bootloader.  At present we
attempt this with a tlbilx to flush everything, but this will leave behind
any entries with the IPROT bit set.

There are several good reason firmware might establish mappings with IPROT,
and in fact ePAPR compliant firmwares are required to establish their
initial mapped area with IPROT.

This patch, therefore adds more complex code to scan through the TLB upon
entry and flush away any entries that are not our own.

Signed-off-by: Jack Miller <jack@codezen.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-04-27 13:02:16 +10:00
..
boot powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
configs powerpc/pseries: Enable Chelsio network and iWARP drivers 2011-03-30 10:44:22 +11:00
include/asm powerpc/book3e: Flush IPROT protected TLB entries leftover by firmware 2011-04-27 13:02:16 +10:00
kernel powerpc/book3e: Flush IPROT protected TLB entries leftover by firmware 2011-04-27 13:02:16 +10:00
kvm powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode 2011-04-20 11:03:23 +10:00
lib powerpc: Ensure the else case of feature sections will fit 2011-01-21 14:08:33 +11:00
math-emu powerpc/85xx: Fix SPE float to integer conversion failure 2011-03-15 13:48:15 -05:00
mm powerpc: Add TLB size detection for TYPE_3E MMUs 2011-04-27 13:02:10 +10:00
oprofile Fix common misspellings 2011-03-31 11:26:23 -03:00
platforms powerpc: Add A2 cpu support 2011-04-27 13:02:02 +10:00
sysdev powerpc/nvram: Search for nvram using compatible 2011-04-20 17:01:20 +10:00
xmon lib, arch: add filter argument to show_mem and fix private implementations 2011-03-24 17:49:37 -07:00
Kconfig powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
Kconfig.debug powerpc: Unconditionally enabled irq stacks 2010-06-15 15:02:37 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-24 15:26:32 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00