arm64: fix comment above tcr_compute_pa_size
authorKristina Martsenko <kristina.martsenko@arm.com>
Mon, 15 Jan 2018 15:23:50 +0000 (15:23 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 15 Jan 2018 18:20:41 +0000 (18:20 +0000)
The 'pos' argument is used to select where in TCR to write the value:
the IPS or PS bitfield.

Fixes: 787fd1d019b2 ("arm64: limit PA size to supported range")
Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/assembler.h

index 5dc4856..1645e0d 100644 (file)
@@ -360,7 +360,7 @@ alternative_endif
  * ID_AA64MMFR0_EL1.PARange value
  *
  *     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
  */
        .macro  tcr_compute_pa_size, tcr, pos, tmp0, tmp1