]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 7 Mar 2022 10:44:09 +0000 (11:44 +0100)
commit766641247e97af6cfda93d7901f90907c1cc1810
treec27ec92be9028711959e7e76c523f2927d402f9c
parentb5ec5e91c650fe00ad99dd31a7978df66e363970
arm64: Correct wrong label in macro __init_el2_gicv3

BugLink: https://bugs.launchpad.net/bugs/1963890
commit 4f6de676d94ee8ddfc2e7e7cd935fc7cb2feff3a upstream.

In commit:

  114945d84a30a5fe ("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: 114945d84a30 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/arm64/include/asm/el2_setup.h