Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8811736ybi; Tue, 9 Jul 2019 23:40:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqykhhAPPugOg/seuzKGv8usBtdigr3o6mI+/4F857c0pvXgH0W6ADeNicho9IWXMBursJJC X-Received: by 2002:a63:6155:: with SMTP id v82mr34848887pgb.304.1562740827326; Tue, 09 Jul 2019 23:40:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562740827; cv=none; d=google.com; s=arc-20160816; b=S3+Gjws/8fc08S7E6bjKVjXcL7PUuhGeY/uck2FQ6Qajk6pQ1OqUSj19e8McrPD7Pe H3w5zK8SBEGvXb7+AkOnFuKhxK0mT/VB6vaQuMG/qvfgyzxg/LwE0AqpA4ilNa09te6T 1ZW8/MWrLwvKl2tkRXW1qO2FU5HBjp7naULM3/3LnE6s1ewm9epjbn0Vj3ZYFpefdA96 1gq4E2MvYJJOMS/svihd0RDQKyXpzQ/yVJsj2GOxEtWKJz+GgyfXQUk8rSF9qblUM1wH No/yD1Mvq1fSatwHWAZbdcCpoBpg9yIor7rOt1pqx3ql5MyAfVVuPCKst4HqB2sRxXw5 DjVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=AV43UmuT3Jow2c9GD2NIP7ZRJdGrvE4iOP52QX2j8f0=; b=CHe0MGng/oVRllJPIW7XNPH7YHaOGoafghF0xkBzGSBSW3EsceeBtUdc1a/tjDM+oa LcHfMKwIXO9KqbKue6CSfABk2FjqtxoCiOhaLc6Fd5Nwzt/o8LKXKpoWnPXkRLwo7MGq fVpS66fwd+hgOJp/mCZ/zGfVFf8tL3kl6sZx9g75lYKI3JQEb1MrnZs8lyFn2yle/Uk+ hjrJmYf/8jDtKxU3aIyN3vYTEWbbs2IUrn0Y7kn3s/BZrsS6ozdSbWHW7Ruw8XIh41hj NkGP0IYf3SoQ0gica2itqpO8fL2qjSJRZ4741FzRYL4NFsl+1rGjlVYY+N1v/WvbIAPC XyRA== 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 w2si1415410pfi.183.2019.07.09.23.40.11; Tue, 09 Jul 2019 23:40:27 -0700 (PDT) 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 S1726341AbfGJGM3 (ORCPT + 99 others); Wed, 10 Jul 2019 02:12:29 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:46788 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725839AbfGJGM3 (ORCPT ); Wed, 10 Jul 2019 02:12:29 -0400 Received: from pd9ef1cb8.dip0.t-ipconnect.de ([217.239.28.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hl5q2-0004k5-M0; Wed, 10 Jul 2019 08:12:22 +0200 Date: Wed, 10 Jul 2019 08:12:21 +0200 (CEST) From: Thomas Gleixner To: John Stultz cc: Vincenzo Frascino , linux-arch@vger.kernel.org, linux-arm-kernel , lkml , linux-mips@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan , Andre Przywara , Arnd Bergmann , Huw Davies , Catalin Marinas , Daniel Lezcano , Will Deacon , Russell King , Ralf Baechle , Mark Salyzyn , Paul Burton , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , Shijith Thotton , Peter Collingbourne Subject: Re: [PATCH v7 10/25] arm64: compat: Add vDSO In-Reply-To: Message-ID: References: <20190621095252.32307-1-vincenzo.frascino@arm.com> <20190621095252.32307-11-vincenzo.frascino@arm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Jul 2019, John Stultz wrote: > Though unfortunately, it seems the arm64 vdso code that just landed is > breaking AOSP for me. > > I see a lot of the following errors: > 01-01 01:22:14.097 755 755 F libc : Fatal signal 11 (SIGSEGV), > code 1 (SEGV_MAPERR), fault addr 0x3cf2c96c in tid 755 (cameraserver), > pid 755 (cameraserver) > 01-01 01:22:14.112 759 759 F libc : Fatal signal 11 (SIGSEGV), > code 1 (SEGV_MAPERR), fault addr 0x3cf2c96c in tid 759 > (android.hardwar), pid 759 (android.hardwar) > 01-01 01:22:14.120 756 756 F libc : Fatal signal 11 (SIGSEGV), > code 1 (SEGV_MAPERR), fault addr 0x3cf2c96c in tid 756 (drmserver), > pid 756 (drmserver) > > Which go away if I revert the vdso merge that went in via tip/timers. > > I tried to bisect things down a bit, but as some later fixes are > required (at one point, date was returning the start epoch and never > increasing), this hasn't worked too well. But I'm guessing since I > see: "CROSS_COMPILE_COMPAT not defined or empty, the compat vDSO will > not be built", and the system is half working, I'm guessing this is an > issue with just the 32bit code failing. While I can try to sort out > the proper CROSS_COMPILE_COMPAT in my build environment, I assume > userland shouldn't be crashing if that value isn't set. The obvious question is whether the VDSO is mapped to the 32bit process in that case. It shouldn't... Thanks, tglx