Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp291924pxj; Thu, 17 Jun 2021 02:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpiuk+p6lJAPujbh6yxdV9lguQH0x0vV23oSb6oEQ22hdymEkXVTMWEQJNM7A59Fb21dhO X-Received: by 2002:a02:a41a:: with SMTP id c26mr3731051jal.87.1623923541623; Thu, 17 Jun 2021 02:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623923541; cv=none; d=google.com; s=arc-20160816; b=THgg+pkFC0dDdpkTQkZm4T1wkycf3/yQd3t3qRuuaQ/FBkyq2PLFlGfZN+l+vdykhe 7jdK2b+VqmXt2V3F7bZYJRTROWS1qgSt1Oiv+3hIeGjAAeYqc+NeZv6Pk/97Bg4gBZRg mRhwDTSmlI5lWvOLzMH7a0jhHIyBW3YnpCHH59SgfFIGsxvCS3PDgSNu1bX4h3JCCsQk 5kLfejN0jCqsv+kdJjhLikda09htllzqk+EzhD+uEf+T2VQPfBeCzU1LbWVpA1UaZuz4 4XA/qf5nxkfYJjbJmrLYZY/AUx6HDTF/k7C7vJKS5R3im4hcDqlE696tf2YdSqLt76Tl YeYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Chbr2kAX8w2UPyCSBGh8nbtjuN8ldy75+wo11qc+xzA=; b=ZkTqAYgoVtZH0JE/6k1YXBXNk0/FcZ7dAJlH3Ug1SRWaUF4RkH7QGRWqAvhgp7dylX CUM90fL8S5QTqAHL/JX5jEeQb/Crezxh6sDPk79/oRZSGGBCCX3Eti+t1N68xQJTEHAk 1Uaw05D/yGrJw2LYX4JKgNfYsHYrcaIDvJQHq1cEdTllMSkXA64MwH8P+YMfZOvFmEoR C0mmd4U16XuoIH3YbhhqwORoALjF7KJlMk892cNM6qZLfypfVkFvW+IKO2BtTsFeddgW +PorOL+JyXvfcviHIvksI9SnRFp8KeOt2x/yq/kpkT6flbMQC4YKXRCRHvi7cXt5Cccs 5Gew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si5986972ily.21.2021.06.17.02.52.09; Thu, 17 Jun 2021 02:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbhFQJP5 (ORCPT + 99 others); Thu, 17 Jun 2021 05:15:57 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:1789 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231390AbhFQJP5 (ORCPT ); Thu, 17 Jun 2021 05:15:57 -0400 Received: from localhost (mailhub3.si.c-s.fr [192.168.12.233]) by localhost (Postfix) with ESMTP id 4G5GZN2HqvzB1V5; Thu, 17 Jun 2021 11:13:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fPAq3z6Fi_8g; Thu, 17 Jun 2021 11:13:48 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4G5GZN1H1qz9ss4; Thu, 17 Jun 2021 11:13:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id F3BB78B807; Thu, 17 Jun 2021 11:13:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id w7U1uPE8ElHy; Thu, 17 Jun 2021 11:13:47 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 014858B804; Thu, 17 Jun 2021 11:13:46 +0200 (CEST) Subject: Re: [PATCH v3 00/23] Add generic vdso_base tracking To: Dmitry Safonov , linux-kernel@vger.kernel.org Cc: Dmitry Safonov <0x7f454c46@gmail.com>, Alexander Viro , Andrew Morton , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Guo Ren , "H. Peter Anvin" , Ingo Molnar , Oleg Nesterov , Russell King , Thomas Bogendoerfer , Thomas Gleixner , Vincenzo Frascino , Will Deacon , x86@kernel.org References: <20210611180242.711399-1-dima@arista.com> From: Christophe Leroy Message-ID: Date: Thu, 17 Jun 2021 11:13:44 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210611180242.711399-1-dima@arista.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 11/06/2021 à 20:02, Dmitry Safonov a écrit : > v3 Changes: > - Migrated arch/powerpc to vdso_base > - Added x86/selftest for unmapped vdso & no landing on fast syscall > - Review comments from Andy & Christophe (thanks!) > - Amended s/born process/execed process/ everywhere I noticed > - Build robot warning on cast from __user pointer > > I've tested it on x86, I would appreciate any help with > Tested-by on arm/arm64/mips/powerpc/s390/... platforms. I tried it on powerpc, normal use still works. What tests can be done exactly ? We have a selftest in powerpc (https://github.com/linuxppc/linux/blob/master/tools/testing/selftests/powerpc/signal/sigreturn_vdso.c) but it doesn't work anymore since the split of VDSO into VDSO+VVAR. Christophe