Patch "arm64: Fix label placement in record_mmu_state()" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: Fix label placement in record_mmu_state()

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-fix-label-placement-in-record_mmu_state.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit d75419b0f1c660499cd48d451a7643d7c522051c
Author: Neeraj Upadhyay <quic_neeraju@xxxxxxxxxxx>
Date:   Tue Apr 25 15:27:00 2023 +0530

    arm64: Fix label placement in record_mmu_state()
    
    [ Upstream commit 4e8f6e44bce8da3b0e2df37b12839f4bc9c9cabe ]
    
    Fix label so that pre_disable_mmu_workaround() is called
    before clearing sctlr_el1.M.
    
    Fixes: 2ced0f30a426 ("arm64: head: Switch endianness before populating the ID map")
    Signed-off-by: Neeraj Upadhyay <quic_neeraju@xxxxxxxxxxx>
    Acked-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230425095700.22005-1-quic_neeraju@xxxxxxxxxxx
    Signed-off-by: Will Deacon <will@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
index b98970907226b..e92caebff46a0 100644
--- a/arch/arm64/kernel/head.S
+++ b/arch/arm64/kernel/head.S
@@ -150,8 +150,8 @@ CPU_BE( tbz	x19, #SCTLR_ELx_EE_SHIFT, 1f	)
 	pre_disable_mmu_workaround
 	msr	sctlr_el2, x19
 	b	3f
-	pre_disable_mmu_workaround
-2:	msr	sctlr_el1, x19
+2:	pre_disable_mmu_workaround
+	msr	sctlr_el1, x19
 3:	isb
 	mov	x19, xzr
 	ret



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux