All of lore.kernel.org
 help / color / mirror / Atom feed
* ARM: warning: relocation out of range on Exynos XU4 and U3+
@ 2020-06-11  5:43 ` Anand Moon
  0 siblings, 0 replies; 10+ messages in thread
From: Anand Moon @ 2020-06-11  5:43 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Marek Szyprowski, linux-arm-kernel,
	linux-samsung-soc, Bartlomiej Zolnierkiewicz, Chanwoo Choi

Hi All,

I would like to report some warnings I observed on pre-compiled kernel
image (5.7.1-1-ARCH) from Archlinux.
Sometimes ethernet would not come up and get connected, so in order to
investigate.
I found below warnings, So I am sharing the logs at my end.

Are these warnings related to in-consistency in locking, How can we
Investigate more to fix this issue.

On XU4 - HCI

[alarm@archl-hc1d ~]$ uname -a
Linux archl-hc1d 5.7.1-1-ARCH #1 SMP PREEMPT Tue Jun 9 01:24:41 UTC
2020 armv7l GNU/Linux
[alarm@archl-hc1d ~]$ dmesg | grep relocation
[    6.188003] x_tables: section 4 reloc 2 sym 'mutex_lock':
relocation 28 out of range (0xbf0000bc -> 0xc101c154)
[    7.452559] sch_fq_codel: section 4 reloc 34 sym
'_raw_spin_lock_bh': relocation 28 out of range (0xbf000a44 ->
0xc101e9dc)
[    8.452434] uio: section 4 reloc 33 sym 'mutex_lock': relocation 28
out of range (0xbf009210 -> 0xc101c154)
[    8.576134] exynos5422_dmc: section 4 reloc 14 sym 'mutex_lock':
relocation 28 out of range (0xbf000188 -> 0xc101c154)
[    8.578422] exynos_rng: section 4 reloc 35 sym 'mutex_lock':
relocation 28 out of range (0xbf00a330 -> 0xc101c154)
[    8.585860] rng_core: section 4 reloc 15 sym
'mutex_lock_interruptible': relocation 28 out of range (0xbf0120b8 ->
0xc101c108)
[    8.818463] videobuf2_v4l2: section 4 reloc 62 sym 'mutex_lock':
relocation 29 out of range (0xbf0009b8 -> 0xc101c154)
[    8.938475] exynos_gsc: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf000014 ->
0xc101e370)
[    8.996208] exynos_gsc: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf00f014 ->
0xc101e370)
[    9.375951] r8152: section 4 reloc 4 sym 'mutex_lock': relocation
28 out of range (0xbf007130 -> 0xc101c154)

Share the console logs on Odroid XU4 HC1
[0] https://pastebin.com/5ZnEfyEM

On U3+

Linux archl-u3et 5.7.1-1-ARCH #1 SMP PREEMPT Tue Jun 9 01:24:41 UTC
2020 armv7l GNU/Linux
[alarm@archl-u3et ~]$ dmesg | grep relocation
[    5.324703] x_tables: section 4 reloc 2 sym 'mutex_lock':
relocation 28 out of range (0xbf0000bc -> 0xc101c154)
[    6.580612] sch_fq_codel: section 4 reloc 34 sym
'_raw_spin_lock_bh': relocation 28 out of range (0xbf000a44 ->
0xc101e9dc)
[    8.054852] uio: section 4 reloc 33 sym 'mutex_lock': relocation 28
out of range (0xbf009210 -> 0xc101c154)
[    8.168492] evdev: section 4 reloc 0 sym 'mutex_lock': relocation
28 out of range (0xbf018088 -> 0xc101c154)
[    8.435888] videobuf2_common: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf005130 ->
0xc101e370)
[    8.656151] videobuf2_common: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf005130 ->
0xc101e370)
[    8.671966] gpu_sched: section 4 reloc 0 sym '_raw_spin_lock':
relocation 28 out of range (0xbf016044 -> 0xc101e98c)
[    8.794059] exynos_bus: section 4 reloc 11 sym 'mutex_lock':
relocation 28 out of range (0xbf00514c -> 0xc101c154)
[    8.824699] exynos_bus: section 4 reloc 11 sym 'mutex_lock':
relocation 28 out of range (0xbf00d14c -> 0xc101c154)
[    8.824791] snd_timer: section 4 reloc 2 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf0150d0 ->
0xc101e370)
[    9.002896] exynos_bus: section 4 reloc 11 sym 'mutex_lock':
relocation 28 out of range (0xbf01914c -> 0xc101c154)
[    9.139199] s5p_csis: section 4 reloc 2 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf019050 ->
0xc101e370)
[    9.417648] snd_soc_hdmi_codec: section 4 reloc 24 sym
'mutex_lock': relocation 28 out of range (0xbf0053e0 -> 0xc101c154)

Share the console log for Odroid U3+
[1] https://pastebin.com/sm8qCHdV

Best Regards
-Anand

^ permalink raw reply	[flat|nested] 10+ messages in thread

* ARM: warning: relocation out of range on Exynos XU4 and U3+
@ 2020-06-11  5:43 ` Anand Moon
  0 siblings, 0 replies; 10+ messages in thread
From: Anand Moon @ 2020-06-11  5:43 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Marek Szyprowski, linux-arm-kernel,
	linux-samsung-soc, Bartlomiej Zolnierkiewicz, Chanwoo Choi

Hi All,

I would like to report some warnings I observed on pre-compiled kernel
image (5.7.1-1-ARCH) from Archlinux.
Sometimes ethernet would not come up and get connected, so in order to
investigate.
I found below warnings, So I am sharing the logs at my end.

Are these warnings related to in-consistency in locking, How can we
Investigate more to fix this issue.

On XU4 - HCI

[alarm@archl-hc1d ~]$ uname -a
Linux archl-hc1d 5.7.1-1-ARCH #1 SMP PREEMPT Tue Jun 9 01:24:41 UTC
2020 armv7l GNU/Linux
[alarm@archl-hc1d ~]$ dmesg | grep relocation
[    6.188003] x_tables: section 4 reloc 2 sym 'mutex_lock':
relocation 28 out of range (0xbf0000bc -> 0xc101c154)
[    7.452559] sch_fq_codel: section 4 reloc 34 sym
'_raw_spin_lock_bh': relocation 28 out of range (0xbf000a44 ->
0xc101e9dc)
[    8.452434] uio: section 4 reloc 33 sym 'mutex_lock': relocation 28
out of range (0xbf009210 -> 0xc101c154)
[    8.576134] exynos5422_dmc: section 4 reloc 14 sym 'mutex_lock':
relocation 28 out of range (0xbf000188 -> 0xc101c154)
[    8.578422] exynos_rng: section 4 reloc 35 sym 'mutex_lock':
relocation 28 out of range (0xbf00a330 -> 0xc101c154)
[    8.585860] rng_core: section 4 reloc 15 sym
'mutex_lock_interruptible': relocation 28 out of range (0xbf0120b8 ->
0xc101c108)
[    8.818463] videobuf2_v4l2: section 4 reloc 62 sym 'mutex_lock':
relocation 29 out of range (0xbf0009b8 -> 0xc101c154)
[    8.938475] exynos_gsc: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf000014 ->
0xc101e370)
[    8.996208] exynos_gsc: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf00f014 ->
0xc101e370)
[    9.375951] r8152: section 4 reloc 4 sym 'mutex_lock': relocation
28 out of range (0xbf007130 -> 0xc101c154)

Share the console logs on Odroid XU4 HC1
[0] https://pastebin.com/5ZnEfyEM

On U3+

Linux archl-u3et 5.7.1-1-ARCH #1 SMP PREEMPT Tue Jun 9 01:24:41 UTC
2020 armv7l GNU/Linux
[alarm@archl-u3et ~]$ dmesg | grep relocation
[    5.324703] x_tables: section 4 reloc 2 sym 'mutex_lock':
relocation 28 out of range (0xbf0000bc -> 0xc101c154)
[    6.580612] sch_fq_codel: section 4 reloc 34 sym
'_raw_spin_lock_bh': relocation 28 out of range (0xbf000a44 ->
0xc101e9dc)
[    8.054852] uio: section 4 reloc 33 sym 'mutex_lock': relocation 28
out of range (0xbf009210 -> 0xc101c154)
[    8.168492] evdev: section 4 reloc 0 sym 'mutex_lock': relocation
28 out of range (0xbf018088 -> 0xc101c154)
[    8.435888] videobuf2_common: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf005130 ->
0xc101e370)
[    8.656151] videobuf2_common: section 4 reloc 0 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf005130 ->
0xc101e370)
[    8.671966] gpu_sched: section 4 reloc 0 sym '_raw_spin_lock':
relocation 28 out of range (0xbf016044 -> 0xc101e98c)
[    8.794059] exynos_bus: section 4 reloc 11 sym 'mutex_lock':
relocation 28 out of range (0xbf00514c -> 0xc101c154)
[    8.824699] exynos_bus: section 4 reloc 11 sym 'mutex_lock':
relocation 28 out of range (0xbf00d14c -> 0xc101c154)
[    8.824791] snd_timer: section 4 reloc 2 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf0150d0 ->
0xc101e370)
[    9.002896] exynos_bus: section 4 reloc 11 sym 'mutex_lock':
relocation 28 out of range (0xbf01914c -> 0xc101c154)
[    9.139199] s5p_csis: section 4 reloc 2 sym
'_raw_spin_lock_irqsave': relocation 28 out of range (0xbf019050 ->
0xc101e370)
[    9.417648] snd_soc_hdmi_codec: section 4 reloc 24 sym
'mutex_lock': relocation 28 out of range (0xbf0053e0 -> 0xc101c154)

Share the console log for Odroid U3+
[1] https://pastebin.com/sm8qCHdV

Best Regards
-Anand

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
  2020-06-11  5:43 ` Anand Moon
@ 2020-06-11  6:45   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2020-06-11  6:45 UTC (permalink / raw)
  To: Anand Moon
  Cc: Marek Szyprowski, linux-arm-kernel, linux-samsung-soc,
	Bartlomiej Zolnierkiewicz, Chanwoo Choi

On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
> Hi All,
> 
> I would like to report some warnings I observed on pre-compiled kernel
> image (5.7.1-1-ARCH) from Archlinux.
> Sometimes ethernet would not come up and get connected, so in order to
> investigate.
> I found below warnings, So I am sharing the logs at my end.
> 
> Are these warnings related to in-consistency in locking, How can we
> Investigate more to fix this issue.

These rather look like some address space randomization or some compiler
(LLVM?) feature. Not Exynos-specific anyway.

You should report it to Arch folks because they know how they compiled
the kernel and what config they used (althogh config you can find in
/proc/config.gz).

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
@ 2020-06-11  6:45   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2020-06-11  6:45 UTC (permalink / raw)
  To: Anand Moon
  Cc: Chanwoo Choi, Bartlomiej Zolnierkiewicz, linux-samsung-soc,
	linux-arm-kernel, Marek Szyprowski

On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
> Hi All,
> 
> I would like to report some warnings I observed on pre-compiled kernel
> image (5.7.1-1-ARCH) from Archlinux.
> Sometimes ethernet would not come up and get connected, so in order to
> investigate.
> I found below warnings, So I am sharing the logs at my end.
> 
> Are these warnings related to in-consistency in locking, How can we
> Investigate more to fix this issue.

These rather look like some address space randomization or some compiler
(LLVM?) feature. Not Exynos-specific anyway.

You should report it to Arch folks because they know how they compiled
the kernel and what config they used (althogh config you can find in
/proc/config.gz).

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
  2020-06-11  6:45   ` Krzysztof Kozlowski
@ 2020-06-11  7:51     ` Anand Moon
  -1 siblings, 0 replies; 10+ messages in thread
From: Anand Moon @ 2020-06-11  7:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Marek Szyprowski, linux-arm-kernel, linux-samsung-soc,
	Bartlomiej Zolnierkiewicz, Chanwoo Choi

Hi Krzysztof,

On Thu, 11 Jun 2020 at 12:15, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
> > Hi All,
> >
> > I would like to report some warnings I observed on pre-compiled kernel
> > image (5.7.1-1-ARCH) from Archlinux.
> > Sometimes ethernet would not come up and get connected, so in order to
> > investigate.
> > I found below warnings, So I am sharing the logs at my end.
> >
> > Are these warnings related to in-consistency in locking, How can we
> > Investigate more to fix this issue.
>
> These rather look like some address space randomization or some compiler
> (LLVM?) feature. Not Exynos-specific anyway.
>
> You should report it to Arch folks because they know how they compiled
> the kernel and what config they used (althogh config you can find in
> /proc/config.gz).

Thanks for your inputs.
Ok I will do more checks at my end, before reporting further to Archlinux.

>
> Best regards,
> Krzysztof
>

Best Regards
-Anand

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
@ 2020-06-11  7:51     ` Anand Moon
  0 siblings, 0 replies; 10+ messages in thread
From: Anand Moon @ 2020-06-11  7:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Chanwoo Choi, Bartlomiej Zolnierkiewicz, linux-samsung-soc,
	linux-arm-kernel, Marek Szyprowski

Hi Krzysztof,

On Thu, 11 Jun 2020 at 12:15, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
> > Hi All,
> >
> > I would like to report some warnings I observed on pre-compiled kernel
> > image (5.7.1-1-ARCH) from Archlinux.
> > Sometimes ethernet would not come up and get connected, so in order to
> > investigate.
> > I found below warnings, So I am sharing the logs at my end.
> >
> > Are these warnings related to in-consistency in locking, How can we
> > Investigate more to fix this issue.
>
> These rather look like some address space randomization or some compiler
> (LLVM?) feature. Not Exynos-specific anyway.
>
> You should report it to Arch folks because they know how they compiled
> the kernel and what config they used (althogh config you can find in
> /proc/config.gz).

Thanks for your inputs.
Ok I will do more checks at my end, before reporting further to Archlinux.

>
> Best regards,
> Krzysztof
>

Best Regards
-Anand

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
  2020-06-11  7:51     ` Anand Moon
@ 2020-06-11 10:59       ` Robin Murphy
  -1 siblings, 0 replies; 10+ messages in thread
From: Robin Murphy @ 2020-06-11 10:59 UTC (permalink / raw)
  To: Anand Moon, Krzysztof Kozlowski
  Cc: Chanwoo Choi, Bartlomiej Zolnierkiewicz, linux-samsung-soc,
	linux-arm-kernel, Marek Szyprowski

On 2020-06-11 08:51, Anand Moon wrote:
> Hi Krzysztof,
> 
> On Thu, 11 Jun 2020 at 12:15, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
>>> Hi All,
>>>
>>> I would like to report some warnings I observed on pre-compiled kernel
>>> image (5.7.1-1-ARCH) from Archlinux.
>>> Sometimes ethernet would not come up and get connected, so in order to
>>> investigate.
>>> I found below warnings, So I am sharing the logs at my end.
>>>
>>> Are these warnings related to in-consistency in locking, How can we
>>> Investigate more to fix this issue.
>>
>> These rather look like some address space randomization or some compiler
>> (LLVM?) feature. Not Exynos-specific anyway.
>>
>> You should report it to Arch folks because they know how they compiled
>> the kernel and what config they used (althogh config you can find in
>> /proc/config.gz).
> 
> Thanks for your inputs.
> Ok I will do more checks at my end, before reporting further to Archlinux.

Looks like the relocations fail when loading modules, and PLTs are not 
enbabled[1], so chances are the kernel image has simply grown too big to 
keep everything within direct branch range of everything else.

Robin.

[1] 
https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-odroid-xu3/config#L619

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
@ 2020-06-11 10:59       ` Robin Murphy
  0 siblings, 0 replies; 10+ messages in thread
From: Robin Murphy @ 2020-06-11 10:59 UTC (permalink / raw)
  To: Anand Moon, Krzysztof Kozlowski
  Cc: Marek Szyprowski, Chanwoo Choi, linux-samsung-soc,
	linux-arm-kernel, Bartlomiej Zolnierkiewicz

On 2020-06-11 08:51, Anand Moon wrote:
> Hi Krzysztof,
> 
> On Thu, 11 Jun 2020 at 12:15, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
>>> Hi All,
>>>
>>> I would like to report some warnings I observed on pre-compiled kernel
>>> image (5.7.1-1-ARCH) from Archlinux.
>>> Sometimes ethernet would not come up and get connected, so in order to
>>> investigate.
>>> I found below warnings, So I am sharing the logs at my end.
>>>
>>> Are these warnings related to in-consistency in locking, How can we
>>> Investigate more to fix this issue.
>>
>> These rather look like some address space randomization or some compiler
>> (LLVM?) feature. Not Exynos-specific anyway.
>>
>> You should report it to Arch folks because they know how they compiled
>> the kernel and what config they used (althogh config you can find in
>> /proc/config.gz).
> 
> Thanks for your inputs.
> Ok I will do more checks at my end, before reporting further to Archlinux.

Looks like the relocations fail when loading modules, and PLTs are not 
enbabled[1], so chances are the kernel image has simply grown too big to 
keep everything within direct branch range of everything else.

Robin.

[1] 
https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-odroid-xu3/config#L619

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
  2020-06-11 10:59       ` Robin Murphy
@ 2020-06-12  2:53         ` Anand Moon
  -1 siblings, 0 replies; 10+ messages in thread
From: Anand Moon @ 2020-06-12  2:53 UTC (permalink / raw)
  To: Robin Murphy
  Cc: Krzysztof Kozlowski, Chanwoo Choi, Bartlomiej Zolnierkiewicz,
	linux-samsung-soc, linux-arm-kernel, Marek Szyprowski

Hi Robin,

On Thu, 11 Jun 2020 at 16:29, Robin Murphy <robin.murphy@arm.com> wrote:
>
> On 2020-06-11 08:51, Anand Moon wrote:
> > Hi Krzysztof,
> >
> > On Thu, 11 Jun 2020 at 12:15, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >>
> >> On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
> >>> Hi All,
> >>>
> >>> I would like to report some warnings I observed on pre-compiled kernel
> >>> image (5.7.1-1-ARCH) from Archlinux.
> >>> Sometimes ethernet would not come up and get connected, so in order to
> >>> investigate.
> >>> I found below warnings, So I am sharing the logs at my end.
> >>>
> >>> Are these warnings related to in-consistency in locking, How can we
> >>> Investigate more to fix this issue.
> >>
> >> These rather look like some address space randomization or some compiler
> >> (LLVM?) feature. Not Exynos-specific anyway.
> >>
> >> You should report it to Arch folks because they know how they compiled
> >> the kernel and what config they used (althogh config you can find in
> >> /proc/config.gz).
> >
> > Thanks for your inputs.
> > Ok I will do more checks at my end, before reporting further to Archlinux.
>
> Looks like the relocations fail when loading modules, and PLTs are not
> enbabled[1], so chances are the kernel image has simply grown too big to
> keep everything within direct branch range of everything else.
>
> Robin.
>
> [1]
> https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-odroid-xu3/config#L619

Thanks for your input CONFIG_ARM_MODULE_PLTS is being enable on
(5.7.2-1-ARCH) config
and this issue seems to have resolved.

Best Regards
-Anand

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ARM: warning: relocation out of range on Exynos XU4 and U3+
@ 2020-06-12  2:53         ` Anand Moon
  0 siblings, 0 replies; 10+ messages in thread
From: Anand Moon @ 2020-06-12  2:53 UTC (permalink / raw)
  To: Robin Murphy
  Cc: linux-samsung-soc, Bartlomiej Zolnierkiewicz,
	Krzysztof Kozlowski, Chanwoo Choi, linux-arm-kernel,
	Marek Szyprowski

Hi Robin,

On Thu, 11 Jun 2020 at 16:29, Robin Murphy <robin.murphy@arm.com> wrote:
>
> On 2020-06-11 08:51, Anand Moon wrote:
> > Hi Krzysztof,
> >
> > On Thu, 11 Jun 2020 at 12:15, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >>
> >> On Thu, Jun 11, 2020 at 11:13:57AM +0530, Anand Moon wrote:
> >>> Hi All,
> >>>
> >>> I would like to report some warnings I observed on pre-compiled kernel
> >>> image (5.7.1-1-ARCH) from Archlinux.
> >>> Sometimes ethernet would not come up and get connected, so in order to
> >>> investigate.
> >>> I found below warnings, So I am sharing the logs at my end.
> >>>
> >>> Are these warnings related to in-consistency in locking, How can we
> >>> Investigate more to fix this issue.
> >>
> >> These rather look like some address space randomization or some compiler
> >> (LLVM?) feature. Not Exynos-specific anyway.
> >>
> >> You should report it to Arch folks because they know how they compiled
> >> the kernel and what config they used (althogh config you can find in
> >> /proc/config.gz).
> >
> > Thanks for your inputs.
> > Ok I will do more checks at my end, before reporting further to Archlinux.
>
> Looks like the relocations fail when loading modules, and PLTs are not
> enbabled[1], so chances are the kernel image has simply grown too big to
> keep everything within direct branch range of everything else.
>
> Robin.
>
> [1]
> https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-odroid-xu3/config#L619

Thanks for your input CONFIG_ARM_MODULE_PLTS is being enable on
(5.7.2-1-ARCH) config
and this issue seems to have resolved.

Best Regards
-Anand

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-06-12  2:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11  5:43 ARM: warning: relocation out of range on Exynos XU4 and U3+ Anand Moon
2020-06-11  5:43 ` Anand Moon
2020-06-11  6:45 ` Krzysztof Kozlowski
2020-06-11  6:45   ` Krzysztof Kozlowski
2020-06-11  7:51   ` Anand Moon
2020-06-11  7:51     ` Anand Moon
2020-06-11 10:59     ` Robin Murphy
2020-06-11 10:59       ` Robin Murphy
2020-06-12  2:53       ` Anand Moon
2020-06-12  2:53         ` Anand Moon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.