]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Correct wrong label in macro __init_el2_gicv3
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>
Mon, 14 Feb 2022 17:56:43 +0000 (18:56 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 14 Feb 2022 18:37:07 +0000 (18:37 +0000)
commit64253b1592248590717b8916b46bf9e8e7a15723
tree49bc539368f055b377eeaa3b0714ed605fac30cd
parent512a3df470fc25c2b8d666f06fb6a50f44d1773b
arm64: Correct wrong label in macro __init_el2_gicv3

In commit:

  e3289966ed2fbc2a ("arm64: Fix labels in el2_setup macros")

We renamed a label from '1' to '.Lskip_gicv3_\@', but failed to update
a branch to it, which now targets a later label also called '1'.

The branch is taken rarely, when GICv3 is present but SRE is disabled
at EL3, causing a boot-time crash.

Update the caller to the new label name.

Fixes: e3289966ed2f ("arm64: Fix labels in el2_setup macros")
Cc: <stable@vger.kernel.org> # 5.12.x
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Link: https://lore.kernel.org/r/20220214175643.21931-1-joakim.tjernlund@infinera.com
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/el2_setup.h