Commit 39610a68 authored by Kristina Martsenko's avatar Kristina Martsenko Committed by Catalin Marinas

arm64: fix comment above tcr_compute_pa_size

The 'pos' argument is used to select where in TCR to write the value:
the IPS or PS bitfield.

Fixes: 787fd1d0 ("arm64: limit PA size to supported range")
Signed-off-by: default avatarKristina Martsenko <kristina.martsenko@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 98732d1b
...@@ -360,7 +360,7 @@ alternative_endif ...@@ -360,7 +360,7 @@ alternative_endif
* ID_AA64MMFR0_EL1.PARange value * ID_AA64MMFR0_EL1.PARange value
* *
* tcr: register with the TCR_ELx value to be updated * tcr: register with the TCR_ELx value to be updated
* pos: PARange bitfield position * pos: IPS or PS bitfield position
* tmp{0,1}: temporary registers * tmp{0,1}: temporary registers
*/ */
.macro tcr_compute_pa_size, tcr, pos, tmp0, tmp1 .macro tcr_compute_pa_size, tcr, pos, tmp0, tmp1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment