Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp355213pxb; Fri, 15 Oct 2021 06:55:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf5VCLI/36iXP7ltiDBI7gEvmZ09EXWon1LE6C03nIJ364GUJnGtoFgnObqWzhbaQhoyST X-Received: by 2002:a17:90b:1c8e:: with SMTP id oo14mr27885484pjb.224.1634306128010; Fri, 15 Oct 2021 06:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634306128; cv=none; d=google.com; s=arc-20160816; b=DzvydhsXg50VickUkmNFnHgqUMwYSlMQ6zzTPew3NbhbuSvPE99obcAP551mbyemwx 8EJwTrAlUo2J2Zp2UDuJ7mwr3SgMkMOLUAD28FLFkmS9lN0PA7+9by4nhg+B/8mZmtAe 0WV64rKLlEdrj5bcibEDp3oxJtoQdIl+A4vWiOhDI3UsAk9CGvjFg+1Ld9b1cefvnKUq 03t2hz2BmOTR++jYVsNESZ0u60rcfQZI8w/8P2vpPqQz5l396Zprspv7oJmuS1gQt8aP M0nEnSx5A2Ly7qNjW6WB2YYlR8QWzgPvwKEPz2TrONVnOLXichsod2fh+TBoeXFFZAVk IAow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=ssFsYeZj+IJa2r1jZj09i0yRlK7lTt7BeVuGV38j7l4=; b=ZFgN0W8Fd3IWNZcoPKaSKoU6Q1NL+50iQN3TfeCf3uv6zF5gYj2nIhmS5i/D94s3Of nhY5gjDwG0JxQcoGM5iTTRozHeR2D0q+tiW0o1T3iPNdnmlDGWjwp5dhIUkHuIgp8411 EIuoKHMWz/TnkA7i14RYZTiKtWMovbBDMVVZA0cIVnHKjo+SIsTXcoDRyhR+aEsZsXRD CTEHkYJaaih3j9LwVEdxHWn9rFgYsKzHp+ZSqSC+dNW1Aqruqz7MSzvSErCkdEFo8bcU 8rOfdMZNreP45LmXc672aHTAhbL68KwnPZ7Ft6H7eIKVAqQbdgfMJNlOGxwhoDE8/ae3 NU8A== 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 oa6si19224316pjb.121.2021.10.15.06.55.15; Fri, 15 Oct 2021 06:55:27 -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 S235010AbhJOIHu (ORCPT + 99 others); Fri, 15 Oct 2021 04:07:50 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:53719 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232537AbhJOIHu (ORCPT ); Fri, 15 Oct 2021 04:07:50 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MRC7g-1mPEyg3cJw-00NBOg; Fri, 15 Oct 2021 10:05:42 +0200 Received: by mail-wr1-f50.google.com with SMTP id g25so24882325wrb.2; Fri, 15 Oct 2021 01:05:42 -0700 (PDT) X-Gm-Message-State: AOAM530YmS25Po28wfQMHJPNpkAcV5x3RrfefKyrR3mJ/NCRwI6Zmv2r vbN52gTe3yT6NzIys6TSorRupaY7w/+beRg5w4g= X-Received: by 2002:adf:a3da:: with SMTP id m26mr12221525wrb.336.1634285142440; Fri, 15 Oct 2021 01:05:42 -0700 (PDT) MIME-Version: 1.0 References: <20211015005634.2658470-1-alistair.francis@opensource.wdc.com> <20211015005634.2658470-2-alistair.francis@opensource.wdc.com> In-Reply-To: <20211015005634.2658470-2-alistair.francis@opensource.wdc.com> From: Arnd Bergmann Date: Fri, 15 Oct 2021 10:05:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] selftests: futex: Use a 64-bit time_t To: Alistair Francis Cc: linux-riscv , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List , Alistair Francis , Namhyung Kim , Jiri Olsa , Alexander Shishkin , Mark Rutland , Arnaldo Carvalho de Melo , Davidlohr Bueso , Darren Hart , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Atish Patra , Arnd Bergmann , Alistair Francis Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:2QiHaZmcgG8KdrovqerTOtmxT24fe5r0TFvFfk2Cgy8jFVSFk+a 4WdYRe0tpdckk5vWAU0osFNfVYGCaxBwYUjXaLHIsMvi59cFOCF2Hj5Ec/EafZtFZMa0bcS pGzrIHoTRPX/nWBJLQMi8/UuCsS5Np4wp0ApcqKu94uiB5WLpz4lC2njx9++IqHvfmx6b+6 32OX+T7GQ93BLBIH002DQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nnqrw5WsQIg=:QqwMh28coBxY3LSIG6y9Fq BB0CQyD3YaWUU1IPR57TfBsrEFbdHIa3gcnZgmrMXjibuzJ1m6j5L8vUHoLfaB1sN5GSD9/R9 pf8BbjNbR1Wh6qI8r+58ujuhJe1MdH5mqatvy4l6C4yWyqSXrn9da40kiCNFfu7tKeDRZm/+h Ajpx3DBuv0fsSbz6kUUl6UNAwIZaBUXmVcoZ29m3QcJDusp4rk5trmn4Y/1TXgf1hBXw8zjZw gnQeFe8d/m2/jtQmlvrTXGH+CRWTvLJ99AJ9ZBbujQBVw7NrmDrl+EZrnMDE9pdXVPbdC4Pdu 3oiTbZzF+dTxygVh53Qi4WFBoOTGnUy95CmZ74+NGqxicggQvmY1HBFCtezjvtMQsINtLCdKF kcsopx7wdhPZSfSmMHfSXCXpecMvLsJ0iqAbhEnVenNRWdxjSnZ3Ai2FdDgkq3LdPiTslXUyo 7GT0XE0RjCrpJvjTEA14jlNRVZ4hOdsDyubu6D580Hy9JcmFeEBrPy//cbMKtdFqKlDaKkLTu IpzCWNaI3cWS78c46PTaiw2piANJPX0mdS5ra2rgh/9D61XkeS2eW0b4B+Ua6EGgAcqeQ5ptj SEFWViX0iQZtKEh3qNEFnEsXlAoLuHdHSvP4Z7in2EDww/xiEn6pLRiatOaPjRJmz1e2qU5h2 kriBK0EZJNoJrsfR74J7DT4ZSz5S9S6sAGSza0F3EzLa3YIPBWfnMbVZ3ENyaQsNxfwH31osc J4kGAuZieWcrPVsptYBshh6u/ldR/gsmRI4Z4C8/p0slYkHX3XvtwoJWS2mEh/SOCaqycSXq3 yada+h+S/KhqQRDNoueJNf1ka5ZaYJuet0YmdpOoj0r5oY30WIH5dX9+pf5eHR8iLg3eRipmw 8mTNHksQK0HvivmBnlzw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 15, 2021 at 2:56 AM Alistair Francis wrote: > > From: Alistair Francis > > Convert the futex selftests to only use a 64-bit time_t. On 64-bit > architectures this isn't a functional change. On 32-bit architectures > we now only perform 64-bit time_t syscalls (__NR_futex_time64) and > use a struct timespec64. > > This won't work on kernels before 5.1, but as perf is tied to the kernel > that's ok. > > This allows the tests to run and pass on RISC-V 32-bit. > > Signed-off-by: Alistair Francis Reviewed-by: Arnd Bergmann