diff options
| author | Paul Burton <[email protected]> | 2016-04-19 09:25:07 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-13 15:30:25 +0200 |
| commit | bbeeffec6f14a04454906032e9322538535030dc (patch) | |
| tree | f00818c6cb788ed8b643ca6f255c39ae7a6112f8 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f383219674b72f390911c60e1d8ae95e32622398 (diff) | |
MIPS: mm: Pass scratch register through to iPTE_SW
Rather than hardcode a scratch register for the XPA case in iPTE_SW,
pass one through from the work registers allocated by the caller. This
allows for the XPA path to function correctly regardless of the work
registers in use.
Without doing this there are cases (where KScratch registers are
unavailable) in which iPTE_SW will incorrectly clobber $1 despite it
already being in use for the PTE or PTE pointer.
Signed-off-by: Paul Burton <[email protected]>
Reviewed-by: James Hogan <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13121/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions