Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5335470ybi; Tue, 4 Jun 2019 05:13:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyM0P124EVIxjOMFOzosJUes13OO4HrNGkZMA4aO7uKhxdq/yhatuwLV5syPVwgCtR0LT+t X-Received: by 2002:a17:902:9f93:: with SMTP id g19mr21201474plq.223.1559650433695; Tue, 04 Jun 2019 05:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559650433; cv=none; d=google.com; s=arc-20160816; b=Cv8b1sq/wjzK8Q8527dXgF948wQJADZkl3OZ+RGq3yFmrwOoWZTHGnP+hM5zxssqZl nFCS+dogQPjXvBrJxsxaoksk4XlyJXvDC4f3anXJdQ7mxcKEt0+JYJ+OoLCdJTMS2nfP uHqIfq9OSYAdFktVcUl4/l2gOKZ18uMQR7jyTtbtgEmZUTITt2rLTUqVZ1SW9cOESoYH hm09KXbHetCcIygdOwdznBhGgiYNKqzj0xqZBVZ+SobB3B+d24M93YWp07PM11zmugHM gfI5esLIE2wHpE1DY4QIVdX1JTZ/0Huy/dnlPqhEcVTQlWY340Cb4wecVgvcaj86Qia/ zo7g== 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=fle/+gARCrjHmw/9Up4ApOwxxgjCrY/o73MHGG3hVn4=; b=QBGV98cAO7+CHYmGe/xfekcNVr25aMXwVRYKihL4d+kWPAU7210vdyNxEGOEXrZpxP McpPJDVzKwIKXaw77z1KkUZ4ETIwBI69hXZ4OH0st3KXvRoY6qgYKV7d5CnS4FOWkOEc nsvcAKvZ73W/gyvWP3Z9JPQYWMJDGaUi0T0bklsF5/g0KWwDp2TkAxBTm6/LNqsQP9zo 21gNtffPVWYsSQkXkjwcIwKBrVj8q+mPFUABi0zyEi8yDC5fPLSe+mIbpmwfNwSUQsjq EGr2374KylSmEE9Q8BU56TEWBTPKKpO7yH0x1t9oOg3x7ARZryBB7H1hM3uS0xByoEUs E5QA== 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 t4si3067487pjo.24.2019.06.04.05.13.35; Tue, 04 Jun 2019 05:13:53 -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 S1727667AbfFDMKh (ORCPT + 99 others); Tue, 4 Jun 2019 08:10:37 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:41634 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfFDMKg (ORCPT ); Tue, 4 Jun 2019 08:10:36 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D48EF80D; Tue, 4 Jun 2019 05:10:35 -0700 (PDT) Received: from [10.1.196.72] (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BB3B43F690; Tue, 4 Jun 2019 05:10:32 -0700 (PDT) Subject: Re: [PATCH v6 15/19] arm64: Add vDSO compat support To: Catalin Marinas 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, 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 References: <20190530141531.43462-1-vincenzo.frascino@arm.com> <20190530141531.43462-16-vincenzo.frascino@arm.com> <20190601093830.GA13589@arrakis.emea.arm.com> From: Vincenzo Frascino Message-ID: <2027e092-2d76-9350-6c5b-7d3debc6a93f@arm.com> Date: Tue, 4 Jun 2019 13:10:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190601093830.GA13589@arrakis.emea.arm.com> 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 Catalin, thank you for testing my patches and providing the scripts you used to reproduce the issue. On 01/06/2019 10:38, Catalin Marinas wrote: > On Thu, May 30, 2019 at 03:15:27PM +0100, Vincenzo Frascino wrote: >> Add vDSO compat support to the arm64 building system. >> >> Cc: Catalin Marinas >> Cc: Will Deacon >> Signed-off-by: Vincenzo Frascino >> --- >> arch/arm64/Kconfig | 1 + >> arch/arm64/Makefile | 23 +++++++++++++++++++++-- >> arch/arm64/kernel/Makefile | 6 +++++- >> 3 files changed, 27 insertions(+), 3 deletions(-) >> >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig >> index 952c9f8cf3b8..3e1d4f8347f4 100644 >> --- a/arch/arm64/Kconfig >> +++ b/arch/arm64/Kconfig >> @@ -108,6 +108,7 @@ config ARM64 >> select GENERIC_STRNLEN_USER >> select GENERIC_TIME_VSYSCALL >> select GENERIC_GETTIMEOFDAY >> + select GENERIC_COMPAT_VDSO if !CPU_BIG_ENDIAN > > This select needs to also depend on COMPAT (or rather be selected from > the COMPAT menuconfig), otherwise, trying to build this series with 64K > pages where COMPAT is disabled, I get: > This is a very good catch, my bad, will definitely fix in v7. ... -- Regards, Vincenzo