From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE6EFC2BD09 for ; Wed, 4 Dec 2019 13:55:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C24B32073B for ; Wed, 4 Dec 2019 13:55:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727935AbfLDNz7 (ORCPT ); Wed, 4 Dec 2019 08:55:59 -0500 Received: from foss.arm.com ([217.140.110.172]:56142 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbfLDNz6 (ORCPT ); Wed, 4 Dec 2019 08:55:58 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D5E0A1FB; Wed, 4 Dec 2019 05:55:57 -0800 (PST) Received: from [192.168.1.18] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9EB5A3F68E; Wed, 4 Dec 2019 05:55:53 -0800 (PST) Subject: Re: [PATCH v7 16/25] arm: Add support for generic vDSO (causing crash) To: Guenter Roeck Cc: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-kselftest@vger.kernel.org, Catalin Marinas , Will Deacon , Arnd Bergmann , Russell King , Ralf Baechle , Paul Burton , Daniel Lezcano , Thomas Gleixner , Mark Salyzyn , Peter Collingbourne , Shuah Khan , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , Huw Davies , Shijith Thotton , Andre Przywara References: <20190621095252.32307-1-vincenzo.frascino@arm.com> <20190621095252.32307-17-vincenzo.frascino@arm.com> <20191204135159.GA7210@roeck-us.net> From: Vincenzo Frascino Message-ID: <6cdf4734-4065-09c1-8623-1bf523b38c1b@arm.com> Date: Wed, 4 Dec 2019 13:58:25 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191204135159.GA7210@roeck-us.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> Signed-off-by: Vincenzo Frascino > > 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