Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp471984ybl; Wed, 4 Dec 2019 05:57:02 -0800 (PST) X-Google-Smtp-Source: APXvYqz9r1SstlgBEaZbe6ZWcX59MkFJPiGafRTREDWPXn5TVHbgoaEK78fG/+j0pbzAo5jrW4sL X-Received: by 2002:a9d:24a6:: with SMTP id z35mr2342273ota.343.1575467822836; Wed, 04 Dec 2019 05:57:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575467822; cv=none; d=google.com; s=arc-20160816; b=sNUAZJObdIexvoEWnqjbroU/9O/E2WJFGmrt6xGlt2w8KzoPQy2rcjcgCCK712FRoA SimebZGaf8sWa7ync37V7wBPUoz53THKVromZxIUdj2ymNdznKoFvnRw4OUWkp3tP2gz 2/S2SLm22IPolXUgtgRiXLHuE/INs+wMXPcofkjDZ/2iVxo9iQ0f8A8fHWN8dczL2ri2 YtbDyb3Coc70hJooyLynBKaHTM3Ky9hZG2Z8h351Ck+XjNzv9tBE7c3caTwTnmbf9F9H y0fl6z4sm8uastQXUmr9+f7Fk/b9is0ZtGr5oaDvBmTza4tfxJiK3IdvqLHaR+SwsOYL wOaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=IL82XeHKErcb5rdc4cWBwhBmTzLSkq1rHujKHUH9MlE=; b=b6WLwLSzjATf49fT7nSm1Zrin9SphJnBMDxdQ3BpSFrwWaf1O90tDu3VgOkZpo3n92 uykQ3ibiz2wtVZ1K07RqGwdsGExFQMz3ofDaXAumJoExwRSUCkklK4hAPmMAqbR4p5b/ mf6g0ae3HutLl3j1UdQDfgl2oKmdMbbuNU8XAeVkCtu+Gq5o0TqxSkM9lA5q3A5UmMrL MEj03/ECqywrCjtYvmszTU2Rn9Ynm3CD/sv+jXv7nnnLYDC5F7R1c+JAd5xnHDDoQWh5 SZ0eoHF1rpKbkBxCAd7xatU4DrLffZVYY1jCDGrWz1Ua1zB1f+/5yOtRD6MK36MYyyjF cU3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c66si3209014oig.265.2019.12.04.05.56.49; Wed, 04 Dec 2019 05:57:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727912AbfLDNz7 (ORCPT + 99 others); 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