diff options
author | Seongsu Park <sgsu.park@samsung.com> | 2024-05-23 21:21:46 +0900 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2024-06-24 19:05:01 +0100 |
commit | cf938f91784f5b35d16fa9fc746a3bb03659ab50 (patch) | |
tree | dc2455f193e99d868a44328056d6969c11002c5f /scripts/gdb/linux/vfs.py | |
parent | 573611145fcb6325a28c462aca3753e257a0b2a6 (diff) |
arm64: Cleanup __cpu_set_tcr_t0sz()
The T0SZ field of TCR_EL1 occupies bits 0-5 of the register and encode
the virtual address space translated by TTBR0_EL1. When updating the
field, for example because we are switching to/from the idmap page-table,
__cpu_set_tcr_t0sz() erroneously treats its 't0sz' argument as unshifted,
resulting in harmless but confusing double shifts by 0 in the code.
Co-developed-by: Leem ChaeHoon <infinite.run@gmail.com>
Signed-off-by: Leem ChaeHoon <infinite.run@gmail.com>
Signed-off-by: Seongsu Park <sgsu.park@samsung.com>
Link: https://lore.kernel.org/r/20240523122146.144483-1-sgsu.park@samsung.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions