ut. This will
>> allow for further cleanups in the non-XIP linker script.
>>
>> Signed-off-by: Nicolas Pitre <n...@linaro.org>
>> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
>
> This is now commit 9520b1a1b5f7a348 ("ARM: head-common.S: speed
On 14 August 2017 at 17:19, Tony Lindgren <t...@atomide.com> wrote:
> * Ard Biesheuvel <ard.biesheu...@linaro.org> [170811 12:37]:
>> On 11 August 2017 at 16:13, Tony Lindgren <t...@atomide.com> wrote:
>> > * Ard Biesheuvel <ard.biesheu...@linaro.org> [1
On 11 August 2017 at 21:06, Nicolas Pitre <nicolas.pi...@linaro.org> wrote:
> On Fri, 11 Aug 2017, Ard Biesheuvel wrote:
>
>> On 11 August 2017 at 20:58, Nicolas Pitre <nicolas.pi...@linaro.org> wrote:
>> > On Fri, 11 Aug 2017, Ard Biesheuvel wrote:
>> &
On 11 August 2017 at 20:58, Nicolas Pitre <nicolas.pi...@linaro.org> wrote:
> On Fri, 11 Aug 2017, Ard Biesheuvel wrote:
>
>> On 11 August 2017 at 16:13, Tony Lindgren <t...@atomide.com> wrote:
>> > * Ard Biesheuvel <ard.biesheu...@linaro.org> [170805
On 11 August 2017 at 16:13, Tony Lindgren <t...@atomide.com> wrote:
> * Ard Biesheuvel <ard.biesheu...@linaro.org> [170805 13:54]:
>> Replace the open coded PC relative offset calculations with a pair
>> of adr_l invocations.
>>
>> Signed-off-by: Ar
On 10 August 2017 at 15:03, Tony Lindgren <t...@atomide.com> wrote:
> * Ard Biesheuvel <ard.biesheu...@linaro.org> [170810 02:23]:
>> On 9 August 2017 at 22:05, Tony Lindgren <t...@atomide.com> wrote:
>> > * Ard Biesheuvel <ard.biesheu...@linaro.org> [1708
On 9 August 2017 at 22:05, Tony Lindgren <t...@atomide.com> wrote:
> * Ard Biesheuvel <ard.biesheu...@linaro.org> [170809 12:24]:
>> On 9 August 2017 at 20:05, Tony Lindgren <t...@atomide.com> wrote:
>> > * Ard Biesheuvel <ard.biesheu...@linaro.org> [1
On 8 August 2017 at 16:10, Nicolas Pitre <nicolas.pi...@linaro.org> wrote:
> On Sat, 5 Aug 2017, Ard Biesheuvel wrote:
>
>> Like arm64, ARM supports position independent code sequences that
>> produce symbol references with a greater reach than the ordinary
>> adr/ldr
This replaces a couple of open coded calculations to obtain the
physical address of a far symbol with calls to the new adr_l etc
macros.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/mach-exynos/headsmp.S | 9 +--
arch/arm/mach-exynos/sleep.S
This replaces an open coded calculation to obtain the physical
address of a far symbol with a call to the new adr_l macro.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/mm/l2c-l2x0-resume.S | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git
This replaces a couple of open coded calculations to obtain the
physical address of a far symbol with calls to the new adr_l etc
macros.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/mach-shmobile/headsmp.S | 14 --
1 file changed, 4 insertions(
This replaces a few copies of the open coded calculations of the
physical address of 'pen_release' in the secondary startup code
of a couple of platforms.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/mach-prima2/headsmp.S| 11 +++
arch/arm/mach
This replaces a couple of open coded calculations to obtain the
physical address of a far symbol with calls to the new adr_l etc
macros.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/mach-omap2/sleep34xx.S | 21
arch/arm/mach-omap2/sleep44xx.
Replace the open coded arithmetic with a simple adr_l/sub pair.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/kernel/head.S | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 939543
This replaces an open coded calculation to obtain the physical
address of a far symbol with a call to the new ldr_l etc macro.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/mach-mvebu/coherency_ll.S | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff
Replace the open coded calculations of the actual physical address
of the KVM stub vector table with a single adr_l invocation.
Cc: Marc Zyngier <marc.zyng...@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/boot/compressed/head.S | 15 ++---
arc
Replace the open coded PC relative offset calculations with adr_l
and mov_l invocations.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/kernel/head.S | 27 ++--
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/arch/arm/kernel/head.S
Replace the open coded PC relative offset calculations with adr_l
and ldr_l invocations.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/kernel/head.S | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/arch/arm/kernel/head.S b/ar
Replace the open coded PC relative offset calculations with a pair
of adr_l invocations.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/kernel/head.S | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/
Replace the open coded PC relative offset calculations with adr_l and
ldr_l invocations.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/kernel/sleep.S | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/arch/arm/kernel/sleep.S b/ar
Replace the open coded PC relative offset calculations with a pair
of adr_l invocations.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/kernel/head-common.S | 22 ++--
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/arch/arm/kerne
Replace the open coded PC relative offset calculations with a pair
of adr_l invocations.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/kernel/head.S | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/
on the
first one. I understand there may be concerns about churn, but some of
these cleanups are really quite nice so please don't dismiss the series
wholesale for that reason.
Ard Biesheuvel (15):
ARM: assembler: introduce adr_l, ldr_l and str_l macros
ARM: head-common.S: use PC-relative insn
rs on v7 and later CPUs, and use PC-relative literals
otherwise.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm/include/asm/assembler.h | 70
1 file changed, 70 insertions(+)
diff --git a/arch/arm/include/asm/assembler.h b/arch/arm/include/a
24 matches
Mail list logo