diff options
| author | Paul Burton <[email protected]> | 2015-09-22 11:42:52 -0700 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2015-11-11 08:35:36 +0100 |
| commit | 00bf1c691d082c1945fdba032c03a9a82e9e7e61 (patch) | |
| tree | a4cb2be39aa6202eda8a0a97df2fe7eb24439ce0 /tools/perf/scripts/python | |
| parent | c6956728c76d35f2314dd54a74680360760cc2fd (diff) | |
MIPS: tlbex: Avoid placing software PTE bits in Entry* PFN fields
Commit 748e787eb6de ("MIPS: Optimize TLB refill for RI/XI
configurations.") stopped explicitly clearing the bits used by software
in PTEs by making use of a rotate instruction that rotates them into the
fill bits of the Entry{Lo,Hi} register. This can only work if there are
actually enough fill bits in the register to cover the software
maintained bits, otherwise we end up writing those bits into the upper
bits of the PFN or PFNX field of the Entry{Lo,Hi} register.
Fix this by detecting the number of fill bits present in the
Entry{Lo,Hi} registers & explicitly clearing the software bits where
necessary.
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: Steven J. Hill <[email protected]>
Cc: Leonid Yegoshin <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: [email protected]
Cc: James Hogan <[email protected]>
Cc: Markos Chandras <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/11218/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions