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=-9.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 CC56DC433C1 for ; Fri, 26 Mar 2021 18:55:00 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 38456619F7 for ; Fri, 26 Mar 2021 18:55:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 38456619F7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4F6WPG2LQTz3c8S for ; Sat, 27 Mar 2021 05:54:58 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=joIbwIM2; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::32a; helo=mail-wm1-x32a.google.com; envelope-from=0x7f454c46@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=joIbwIM2; dkim-atps=neutral Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4F6WNm4BQ4z2xg6 for ; Sat, 27 Mar 2021 05:54:31 +1100 (AEDT) Received: by mail-wm1-x32a.google.com with SMTP id r10-20020a05600c35cab029010c946c95easo3501751wmq.4 for ; Fri, 26 Mar 2021 11:54:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=clGoW4et5bZn4mVDlkWFq54mP7/EgB1s6WZYv8qiD3A=; b=joIbwIM2vo1IxaB6u2EQoKPON9rs08UNtIXeyOn+toOgoHIwnAMZw3zs5qkBvJnkit TdW0dOJJSFFfqmpzJbuG2wCulbNms4ellWGFUYOBnR+Q3YEwfYOnxGFICxcDYRLVDKjl jK30gt0+acfB+QZh5jcGhDhce/HyGa3c7LGlk//HJus6Jwgq4zVgsO2W5kpkL1wVtNhw IaR0v5dRIAKjP1DniKvCxErCsUMoMya8cPnOnSO6ru7GE8pVcGKC6rTUJ+MIra0ptI5+ kOf+1xFwnhwz4p4HI5UERKQGxcz6nLcrN+dgV7mmc8QWirgUj51aRO6eS+76s/TiT2TH wbZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=clGoW4et5bZn4mVDlkWFq54mP7/EgB1s6WZYv8qiD3A=; b=Vjc45AAkQiCq5yGkANqYfLBVtx0mdTbq/5zMuQ/VBDwh2Qa+1SM/2BTbQ4ImdE63yG 3WgLfi8S7McnNak0/7wUBhA1BL/QvIZ4FkwLVhJ7oT3xFG4gn9Hp1TtdeiZ7ayJaruE0 R3cxXN5SPTdS9TSY4/ZppUTPfA1LpRRlpN6794j4u10XOLPFq53pWBACs45rOFBQmGIY 5UjZgUMEPFPl9HRf1bouNEJ8sr9WXJ90uOa07Ky9hNgGxa5QXvPEswPxR0/nwukEAzqe jrqhFp9qyi9rjk+uDg1gmDDq4d03nyFMf6teyZWQQqspClB+7VCLl3+HrL12CzV5XEk7 2Xpg== X-Gm-Message-State: AOAM5335R0wE4gajQqFrWsBr0/9N/Vj5OREvo2FG+D+Va6560MreKU4B Or+GDzwOb4cOn762mfgmCnA= X-Google-Smtp-Source: ABdhPJw9Pru2Ih3wnElYfS1sF95Bml5rXYqqLFmrrFel2UtntOS/XCrZjh15EDdMiJNSmIdGzyrUig== X-Received: by 2002:a1c:e084:: with SMTP id x126mr14257427wmg.37.1616784865408; Fri, 26 Mar 2021 11:54:25 -0700 (PDT) Received: from ?IPv6:2a02:8084:e84:2480:228:f8ff:fe6f:83a8? ([2a02:8084:e84:2480:228:f8ff:fe6f:83a8]) by smtp.gmail.com with ESMTPSA id z66sm12881333wmc.4.2021.03.26.11.54.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Mar 2021 11:54:24 -0700 (PDT) Subject: Re: VDSO ELF header To: Christophe Leroy , Michael Ellerman , Laurent Dufour References: <9366c258-127f-f105-abd1-6baa9a6745c5@csgroup.eu> <5b03e966-2cfd-5f0c-c48d-dea5e0001833@linux.ibm.com> <30c51951-332b-7aa8-13ba-44a0b6ae3498@linux.ibm.com> <87blb6gpkj.fsf@mpe.ellerman.id.au> <3ce8811a-9216-6164-cdf2-974b13e400d3@csgroup.eu> <4904769a-be42-cdd2-1d97-8b1889f7f723@csgroup.eu> <46e49770-04ee-2455-f2f7-b3915ceea38a@gmail.com> From: Dmitry Safonov <0x7f454c46@gmail.com> Message-ID: Date: Fri, 26 Mar 2021 18:54:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 3/26/21 6:40 PM, Christophe Leroy wrote: > > > Le 26/03/2021 à 18:11, Dmitry Safonov a écrit : >> On 3/26/21 5:07 PM, Christophe Leroy wrote: >>> No, the problem is that user access has to be allowed for the flush() >>> >>> A hacky solution would be to call user_access_begin() , will test that >>> later >> >> Yeah, cool. >> >> Will it be fine if I send the vvar patch with your Tested-by? >> > > Tested-by: Christophe Leroy Thank you! I'll properly submit it shortly.. > With the user access fixed on the flush, it sigreturn_vdso selftest is a > success. I'll send a patch for it in the coming days. Nice! > What is the status of your series which adds generic vdso_base tracking ? Yeah, I was doing a new version of patches and I always was unsatisfied by the result and stuck between "good" and "best" (more code rewriting). And then had some other work to finish. I'll try to finish and send it next week, thanks for pinging :-) -- Dmitry