Patch "ARM: OMAP2+: drop unnecessary adrl" has been added to the 4.19-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

    ARM: OMAP2+: drop unnecessary adrl

to the 4.19-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:
     arm-omap2-drop-unnecessary-adrl.patch
and it can be found in the queue-4.19 subdirectory.

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



commit b3a738560ac9caf0819092127b18b452067fe50e
Author: Stefan Agner <stefan@xxxxxxxx>
Date:   Sun Mar 29 22:33:14 2020 +0200

    ARM: OMAP2+: drop unnecessary adrl
    
    commit d85d5247885ef2e8192287b895c2e381fa931b0b upstream.
    
    The adrl instruction has been introduced with commit dd31394779aa ("ARM:
    omap3: Thumb-2 compatibility for sleep34xx.S"), back when this assembly
    file was considerably longer. Today adr seems to have enough reach, even
    when inserting about 60 instructions between the use site and the label.
    Replace adrl with conventional adr instruction.
    
    This allows to build this file using Clang's integrated assembler (which
    does not support the adrl pseudo instruction).
    
    Link: https://github.com/ClangBuiltLinux/linux/issues/430
    Signed-off-by: Stefan Agner <stefan@xxxxxxxx>
    Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
    Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S
index 4927304b5902..64f6f85bc613 100644
--- a/arch/arm/mach-omap2/sleep34xx.S
+++ b/arch/arm/mach-omap2/sleep34xx.S
@@ -86,7 +86,7 @@ ENTRY(enable_omap3630_toggle_l2_on_restore)
 	stmfd	sp!, {lr}	@ save registers on stack
 	/* Setup so that we will disable and enable l2 */
 	mov	r1, #0x1
-	adrl	r3, l2dis_3630_offset	@ may be too distant for plain adr
+	adr	r3, l2dis_3630_offset
 	ldr	r2, [r3]		@ value for offset
 	str	r1, [r2, r3]		@ write to l2dis_3630
 	ldmfd	sp!, {pc}	@ restore regs and return



[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