Re: [PATCH v7 16/25] arm: Add support for generic vDSO (causing crash)

Vincenzo Frascino
2019-12-04T13:55:59Z

Hi Guenter,

On 12/4/19 1:51 PM, Guenter Roeck wrote:
> On Fri, Jun 21, 2019 at 10:52:43AM +0100, Vincenzo Frascino wrote:
>> The arm vDSO library requires some adaptations to use to take advantage
>> of the newly introduced generic vDSO library.
>>
>> Introduce the following changes:
>> - Modification vdso.c to be compliant with the common vdso datapage
>> - Use of lib/vdso for gettimeofday
>> - Implementation of elf note
>>
>> Cc: Russell King <linux@armlinux.org.uk>
>> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
>
> This patch causes a crash with qemu's mcimx6ul-evk emulation while running
> imx_v6_v7_defconfig.
>

Thank you for reporting this. Could you please provide some details on how I can
reproduce the scenario you are describing?

> [ 19.976852] Run /sbin/init as init process
> [ 20.044931] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
>
> There is nothing else useful in the log, unfortunately.
>
> Reverting the following three patches fixes the problem.
>
> 74d06efb9c2f ARM: 8932/1: Add clock_gettime64 entry point
> 052e76a31b4a ARM: 8931/1: Add clock_getres entry point
> 20e2fc42312f ARM: 8930/1: Add support for generic vDSO
>
> Guenter
>

--
Regards,
Vincenzo