diff options
| author | Christophe Leroy <[email protected]> | 2020-11-25 07:10:50 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-12-04 01:01:31 +1100 |
| commit | c4a22611bf6ced73d86bdfc0604d7db8982a24a4 (patch) | |
| tree | 87bb78422e73f936682f384ec28a53c9aaea8f12 /tools/perf/scripts/python/flamegraph.py | |
| parent | 03d701c2d9b0091cf8e96cb49ab7d2a6a9f19937 (diff) | |
powerpc/603: Use SPRN_SDR1 to store the pgdir phys address
On the 603, SDR1 is not used.
In order to free SPRN_SPRG2, use SPRN_SDR1 to store the pgdir
phys addr.
But only some bits of SDR1 can be used (0xffff01ff).
As the pgdir is 4k aligned, rotate it by 4 bits to the left.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/7370574b49d8476878ce5480726197993cb76108.1606285014.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions