diff options
| author | Jack Miller <[email protected]> | 2011-04-14 22:32:05 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2011-04-27 13:02:16 +1000 |
| commit | f0aae3238fc1c28b543cbaaa0e7c5d57685f5f89 (patch) | |
| tree | 7d2f01cebc6ac4079fc069b96ea823a235cfbe7e /tools/perf/scripts/python | |
| parent | 1a51dde139d5305b2592c716c50c005d6ab9624b (diff) | |
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 <[email protected]>
Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions