diff options
| author | Laurentiu Tudor <[email protected]> | 2020-01-23 11:19:25 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-03-17 23:40:35 +1100 |
| commit | aa4113340ae6c2811e046f08c2bc21011d20a072 (patch) | |
| tree | 0c2c3f49bcd30617bacb3aead1e0e76208c30b71 /tools/perf/scripts/python/netdev-times.py | |
| parent | 3670664b5da555a2a481449b3baafff113b0ac35 (diff) | |
powerpc/fsl_booke: Avoid creating duplicate tlb1 entry
In the current implementation, the call to loadcam_multi() is wrapped
between switch_to_as1() and restore_to_as0() calls so, when it tries
to create its own temporary AS=1 TLB1 entry, it ends up duplicating
the existing one created by switch_to_as1(). Add a check to skip
creating the temporary entry if already running in AS=1.
Fixes: d9e1831a4202 ("powerpc/85xx: Load all early TLB entries at once")
Cc: [email protected] # v4.4+
Signed-off-by: Laurentiu Tudor <[email protected]>
Acked-by: Scott Wood <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions