diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-11-25 07:10:50 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-04 01:01:31 +1100 |
| commit | c4a22611bf6ced73d86bdfc0604d7db8982a24a4 (patch) | |
| tree | 87bb78422e73f936682f384ec28a53c9aaea8f12 /tools/perf/scripts/python/stackcollapse.py | |
| parent | powerpc/32s: Don't use SPRN_SPRG_PGDIR in hash_page (diff) | |
| download | linux-c4a22611bf6ced73d86bdfc0604d7db8982a24a4.tar.gz linux-c4a22611bf6ced73d86bdfc0604d7db8982a24a4.zip | |
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 <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/7370574b49d8476878ce5480726197993cb76108.1606285014.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
