[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191204161641.GA28130@roeck-us.net>
Date: Wed, 4 Dec 2019 08:16:41 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Vincenzo Frascino <vincenzo.frascino@....com>
Cc: linux-arch@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mips@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Arnd Bergmann <arnd@...db.de>,
Russell King <linux@...linux.org.uk>,
Ralf Baechle <ralf@...ux-mips.org>,
Paul Burton <paul.burton@...s.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Mark Salyzyn <salyzyn@...roid.com>,
Peter Collingbourne <pcc@...gle.com>,
Shuah Khan <shuah@...nel.org>,
Dmitry Safonov <0x7f454c46@...il.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Huw Davies <huw@...eweavers.com>,
Shijith Thotton <sthotton@...vell.com>,
Andre Przywara <andre.przywara@....com>
Subject: Re: [PATCH v7 16/25] arm: Add support for generic vDSO (causing
crash)
On Wed, Dec 04, 2019 at 01:58:25PM +0000, Vincenzo Frascino wrote:
> 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@...linux.org.uk>
> >> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@....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?
>
- Build imx_v6_v7_defconfig
- Get root file system or initrd, for example from
https://github.com/groeck/linux-build-test/tree/master/rootfs/arm
- Run image. Example, with initrd:
qemu-system-arm -M mcimx6ul-evk -kernel arch/arm/boot/zImage \
-no-reboot -initrd rootfs-armv7a.cpio \
-m 256 -display none -serial null \
--append 'rdinit=/sbin/init earlycon=ec_imx6q,mmio,0x21e8000,115200n8 console=ttymxc1,115200'
-dtb arch/arm/boot/dts/imx6ul-14x14-evk.dtb \
-nographic -monitor null -serial stdio
qemu has to be v3.1 or later to support the machine.
Hope this helps,
Guenter
Powered by blists - more mailing lists