* [PATCH] arm64: put __boot_cpu_mode label after alignment instead of before
@ 2015-03-13 15:21 Ard Biesheuvel
2015-03-16 10:52 ` Mark Rutland
0 siblings, 1 reply; 3+ messages in thread
From: Ard Biesheuvel @ 2015-03-13 15:21 UTC (permalink / raw)
To: linux-arm-kernel
Another one for the big head.S spring cleaning: the label should
be after the .align or it may point to the padding.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
arch/arm64/kernel/head.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
index 3e300bfb0089..9c856f2aa7a5 100644
--- a/arch/arm64/kernel/head.S
+++ b/arch/arm64/kernel/head.S
@@ -557,8 +557,8 @@ ENDPROC(set_cpu_boot_mode_flag)
* zeroing of .bss would clobber it.
*/
.pushsection .data..cacheline_aligned
-ENTRY(__boot_cpu_mode)
.align L1_CACHE_SHIFT
+ENTRY(__boot_cpu_mode)
.long BOOT_CPU_MODE_EL2
.long 0
.popsection
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] arm64: put __boot_cpu_mode label after alignment instead of before
2015-03-13 15:21 [PATCH] arm64: put __boot_cpu_mode label after alignment instead of before Ard Biesheuvel
@ 2015-03-16 10:52 ` Mark Rutland
2015-03-16 10:58 ` Mark Rutland
0 siblings, 1 reply; 3+ messages in thread
From: Mark Rutland @ 2015-03-16 10:52 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 13, 2015 at 03:21:18PM +0000, Ard Biesheuvel wrote:
> Another one for the big head.S spring cleaning: the label should
> be after the .align or it may point to the padding.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Given I managed to produce the exact same patch, this obviously looks
good to me:
Acked-by: Mark Rutland <mark.rutland@arm.com>
Mark.
> ---
> arch/arm64/kernel/head.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
> index 3e300bfb0089..9c856f2aa7a5 100644
> --- a/arch/arm64/kernel/head.S
> +++ b/arch/arm64/kernel/head.S
> @@ -557,8 +557,8 @@ ENDPROC(set_cpu_boot_mode_flag)
> * zeroing of .bss would clobber it.
> */
> .pushsection .data..cacheline_aligned
> -ENTRY(__boot_cpu_mode)
> .align L1_CACHE_SHIFT
> +ENTRY(__boot_cpu_mode)
> .long BOOT_CPU_MODE_EL2
> .long 0
> .popsection
> --
> 1.8.3.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] arm64: put __boot_cpu_mode label after alignment instead of before
2015-03-16 10:52 ` Mark Rutland
@ 2015-03-16 10:58 ` Mark Rutland
0 siblings, 0 replies; 3+ messages in thread
From: Mark Rutland @ 2015-03-16 10:58 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 16, 2015 at 10:52:07AM +0000, Mark Rutland wrote:
> On Fri, Mar 13, 2015 at 03:21:18PM +0000, Ard Biesheuvel wrote:
> > Another one for the big head.S spring cleaning: the label should
> > be after the .align or it may point to the padding.
> >
> > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>
> Given I managed to produce the exact same patch, this obviously looks
> good to me:
>
> Acked-by: Mark Rutland <mark.rutland@arm.com>
... and now I disocver this is already in v4.0-rc4.
Never mind :)
Mark.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-16 10:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-13 15:21 [PATCH] arm64: put __boot_cpu_mode label after alignment instead of before Ard Biesheuvel
2015-03-16 10:52 ` Mark Rutland
2015-03-16 10:58 ` Mark Rutland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).