diff options
| author | Huacai Chen <[email protected]> | 2016-03-03 09:45:11 +0800 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-13 14:02:14 +0200 |
| commit | 06e4814eec988f7ee01c29762f945b3ff59355fb (patch) | |
| tree | d23c5f9cf1b096b3bc67f458a6b0984b664d7cbf /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 37fbe8faa94fa8cae889a3a793fd7b32508b26ab (diff) | |
MIPS: Loongson: Invalidate special TLBs when needed
Loongson-2 has a 4 entry itlb which is a subset of jtlb, Loongson-3 has
a 4 entry itlb and a 4 entry dtlb which are subsets of jtlb. We should
write diag register to invalidate itlb/dtlb when flushing jtlb because
itlb/dtlb are not totally transparent to software.
For Loongson-3A R2 (and newer), we should invalidate ITLB, DTLB, VTLB
and FTLB before we enable/disable FTLB.
Signed-off-by: Huacai Chen <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: Steven J . Hill <[email protected]>
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12753/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions