Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp493153ybk; Sat, 9 May 2020 08:56:43 -0700 (PDT) X-Google-Smtp-Source: APiQypLOdpAco3LOC/0TyA6007gSrzzzAG5PSIdIcdvR5A6sihKaxPYF3czhgr9ug5r6XkPwCjPv X-Received: by 2002:aa7:dcd7:: with SMTP id w23mr6839750edu.300.1589039803250; Sat, 09 May 2020 08:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589039803; cv=none; d=google.com; s=arc-20160816; b=vFehy60jK4z6DA58Oyr79KRiC129x1e0+658RlJaq+MCrJfzYd40TxI6qlHHRpUYo5 Nx0VZC11zlNbUZPNjc8U9g3vEIjXnoH2xj/w3cPPyRqQshafooRfOW2YpQ5MeI+TKp// 6cEi1xNossTmu+pnxB3ZazJfhWVNF+mK0J3lh9WsADiO44gz3p6ZuPEzQHHkPL4HXwT8 5bz6ylMtYKhlE2zMA6Ab3eY2bzrVuZXG+eNEdmdWmjBtnlnY9Y1g4fLvENRUiEu+3/Up Vleb96374t9x/qQAfMag0ZfL6jYlYGViBakdPm8vSqi5VbpAh5CLLa5b94nCgPAJ32jl tgfA== 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=f7UNShKk5myfU4xCRZcsIbue8JglVUHsqFMKaHUHwZM=; b=0kblhwLogL6mOh2mNpz7kcRpHell99k8NquTS7ySxtG4jC8w41iEZpnmAz2jIF/dJb qFNzSMwYNOgdkW4ynUW11iyLbitVoDtR8BhEPEVLuL3AlHE3bhZnteVcQARJ1YAIp5tO n4fjgV8DhPQxS/fJwia4bzv2G0BT0ouo6aBQJg/ApVArvjMYIGi4WU/UthEWE29LuHr1 7C/rupb6HzYDMmthXIrMklNjaNxqq7lHs/L/AxdSC5LtNZH4t4445ad6ZLY2rR5e5pNW 9oWd8wCAYFx8ElVidPwSJlSu3bBOQdfZIK+OLpAE8yHMWOTQj1EqNZnC8xss8+Km8sSv Ve9A== 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 ec9si2376354ejb.160.2020.05.09.08.56.19; Sat, 09 May 2020 08:56:43 -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 S1728104AbgEIPyb (ORCPT + 99 others); Sat, 9 May 2020 11:54:31 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:38197 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727105AbgEIPyb (ORCPT ); Sat, 9 May 2020 11:54:31 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 49KBb73l86z9v0Zm; Sat, 9 May 2020 17:54:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id hhT93JtYMSPR; Sat, 9 May 2020 17:54:27 +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 49KBb72sdxz9v2CW; Sat, 9 May 2020 17:54:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 91C698B775; Sat, 9 May 2020 17:54:29 +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 QdzKxSQXGUVx; Sat, 9 May 2020 17:54:29 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6232E8B75F; Sat, 9 May 2020 17:54:28 +0200 (CEST) Subject: Re: [PATCH v8 8/8] powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32 To: Arnd Bergmann Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Nathan Lynch , "linux-kernel@vger.kernel.org" , linuxppc-dev , Thomas Gleixner , Vincenzo Frascino , Andy Lutomirski , linux-arch References: From: Christophe Leroy Message-ID: Date: Sat, 9 May 2020 17:54:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 28/04/2020 à 18:05, Arnd Bergmann a écrit : > On Tue, Apr 28, 2020 at 3:16 PM Christophe Leroy > wrote: >> >> Provides __kernel_clock_gettime64() on vdso32. This is the >> 64 bits version of __kernel_clock_gettime() which is >> y2038 compliant. >> >> Signed-off-by: Christophe Leroy > > Looks good to me > > Reviewed-by: Arnd Bergmann > > There was a bug on ARM for the corresponding function, so far it is unclear > if this was a problem related to particular hardware, the 32-bit kernel code, > or the common implementation of clock_gettime64 in the vdso library, > see https://github.com/richfelker/musl-cross-make/issues/96 > > Just to be sure that powerpc is not affected by the same issue, can you > confirm that repeatedly calling clock_gettime64 on powerpc32, alternating > between vdso and syscall, results in monotically increasing times? > I think that's one of the things vdsotest checks, so yes that's ok I think. Christophe