On Mon, 10 Dec 2018 at 22:03, Wolfram Sang
wrote:
>
> This flag was defined and checked but never set a value. Remove it.
>
> Signed-off-by: Wolfram Sang
Acked-by: Ard Biesheuvel
> ---
> drivers/i2c/busses/i2c-synquacer.c | 5 -
> 1 file changed, 5 deletions(-)
>
rs on v7 and later CPUs, and use PC-relative literals
otherwise.
Signed-off-by: Ard Biesheuvel
---
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/asm/assembler.h
index ad30
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
Replace the open coded PC relative offset calculations with a pair
of adr_l invocations.
Signed-off-by: Ard Biesheuvel
---
arch/arm/kernel/head-common.S | 22 ++--
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/arch/arm/kernel/head-common.S b/arch/arm/kernel/head
Replace the open coded PC relative offset calculations with adr_l and
ldr_l invocations.
Signed-off-by: Ard Biesheuvel
---
arch/arm/kernel/sleep.S | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/arch/arm/kernel/sleep.S b/arch/arm/kernel/sleep.S
index
Replace the open coded PC relative offset calculations with a pair
of adr_l invocations.
Signed-off-by: Ard Biesheuvel
---
arch/arm/kernel/head.S | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 04286fd9e09c
Replace the open coded PC relative offset calculations with a pair
of adr_l invocations.
Signed-off-by: Ard Biesheuvel
---
arch/arm/kernel/head.S | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 6e9df3663a57
Replace the open coded PC relative offset calculations with adr_l
and mov_l invocations.
Signed-off-by: Ard Biesheuvel
---
arch/arm/kernel/head.S | 27 ++--
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index
Replace the open coded PC relative offset calculations with adr_l
and ldr_l invocations.
Signed-off-by: Ard Biesheuvel
---
arch/arm/kernel/head.S | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index
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
Signed-off-by: Ard Biesheuvel
---
arch/arm/boot/compressed/head.S | 15 ++---
arch/arm/kernel/hyp-stub.S | 33 +++-
arch/arm
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
---
arch/arm/mach-mvebu/coherency_ll.S | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arm/mach-mvebu
Replace the open coded arithmetic with a simple adr_l/sub pair.
Signed-off-by: Ard Biesheuvel
---
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 939543e73874..e08a4623a980 100644
--- a
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
---
arch/arm/mach-omap2/sleep34xx.S | 21
arch/arm/mach-omap2/sleep44xx.S | 12 ++-
2 files changed
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
---
arch/arm/mm/l2c-l2x0-resume.S | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/arm/mm/l2c-l2x0-resume.S b
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
---
arch/arm/mach-shmobile/headsmp.S | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/arch
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
---
arch/arm/mach-prima2/headsmp.S| 11 +++
arch/arm/mach-spear/headsmp.
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
---
arch/arm/mach-exynos/headsmp.S | 9 +--
arch/arm/mach-exynos/sleep.S | 26
2 files changed, 6
On 8 August 2017 at 16:10, Nicolas Pitre 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 instructions.
>>
&
On 9 August 2017 at 20:05, Tony Lindgren wrote:
> * Ard Biesheuvel [170805 13:54]:
>> 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.
>
> I gave this series a quick test a
On 9 August 2017 at 22:05, Tony Lindgren wrote:
> * Ard Biesheuvel [170809 12:24]:
>> On 9 August 2017 at 20:05, Tony Lindgren wrote:
>> > * Ard Biesheuvel [170805 13:54]:
>> >> This replaces a couple of open coded calculations to obtain the
>> >> phys
On 10 August 2017 at 15:03, Tony Lindgren wrote:
> * Ard Biesheuvel [170810 02:23]:
>> On 9 August 2017 at 22:05, Tony Lindgren wrote:
>> > * Ard Biesheuvel [170809 12:24]:
>> >> On 9 August 2017 at 20:05, Tony Lindgren wrote:
>> >> > * Ard Biesheu
On 11 August 2017 at 16:13, Tony Lindgren wrote:
> * Ard Biesheuvel [170805 13:54]:
>> Replace the open coded PC relative offset calculations with a pair
>> of adr_l invocations.
>>
>> Signed-off-by: Ard Biesheuvel
>> ---
>> arch/arm/kernel/head.S
On 11 August 2017 at 20:58, Nicolas Pitre wrote:
> On Fri, 11 Aug 2017, Ard Biesheuvel wrote:
>
>> On 11 August 2017 at 16:13, Tony Lindgren wrote:
>> > * Ard Biesheuvel [170805 13:54]:
>> >> Replace the open coded PC relative offset calculations with
On 11 August 2017 at 21:06, Nicolas Pitre wrote:
> On Fri, 11 Aug 2017, Ard Biesheuvel wrote:
>
>> On 11 August 2017 at 20:58, Nicolas Pitre wrote:
>> > On Fri, 11 Aug 2017, Ard Biesheuvel wrote:
>> >
>> >> On 11 August 2017 at 16:13, Tony Lindgren wrot
On 14 August 2017 at 17:19, Tony Lindgren wrote:
> * Ard Biesheuvel [170811 12:37]:
>> On 11 August 2017 at 16:13, Tony Lindgren wrote:
>> > * Ard Biesheuvel [170805 13:54]:
>> >> Replace the open coded PC relative offset calculations with a pair
>> >>
hin the copied data area. The
>> XIP kernel linker script ensures a 8 byte alignment for that purpose.
>>
>> Finally, make the .data copy and related pointers surrounded by
>> CONFIG_XIP_KERNEL to make it obvious what it is all about. This will
>> allow for further cleanu
26 matches
Mail list logo