Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp355019pxb; Fri, 15 Oct 2021 06:55:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrDqCMSRoLo6C9JtQOmx+xf2Lz9DHYOYJE1qKl7k88IVcg5wSAkD4A63GGYt4sCN6ZAZDm X-Received: by 2002:a63:1b23:: with SMTP id b35mr9200462pgb.262.1634306113879; Fri, 15 Oct 2021 06:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634306113; cv=none; d=google.com; s=arc-20160816; b=P59Yp374n54xbIWlWOy2DlFGAJTRbHXbdWlK+5QwuhkUCLI5kXao9a2HULrr2aOdnB 6Lr/drOnM4uIwaXkYqoEOcRta43HtS7wMlqVUXYvpDnZH3moSIGI8DWFr1nHNE/pfhgM hh935jwSlWjfT2kal1IqLYEKzKbYddNXiqlRPOUQeI54TECqV0/VgYdNGWyasgjyM1Ym yHghJ5skhU0IAwQt/RwCTJW0+RJku0FOpDbHEzUVNQ1E4ved+wDQ0921y+IaYqa/aY7l Ro+FHM7XD6YePBBnRV744eOP4Ev24QxiAQgeGuhvzbeY71NcaYbY2tOAs3hFv7PlPKtu F4XA== 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=fMZESOHXJNVS84Gt/YXcDugUEmNjRUs1Da783MOUnbU=; b=E6zCgoeEzEbAdov4/eb/NbR+q+l7URyC06kL6VrnteFezHOmol4rqEeGXn6Kj6wUqM cXh9HWu60QbcmwZPC9vuKKS/pE9DLhKYIVAWdu98W6H/1nLxxCnwpfCEdG4Dzfr+quJR Bk/hZv7FtbkL3lwRZc42tL8PO2d61cwANsmzPiCCJ3W0TXc3P0Ww+87U9C0byQInKCGK LAq+XLincBE202KoG8cQJm4ksKB6Cjhzzr0p/NkpA4O48D6KsAJ+QDe9MJMcMj01ebI/ 5QRkpkOcUJmn6fxeswBN5bbNop0CO8fO8hpKNOSzlr5dewTvizBbuUU8k9H1GaQTCfqL kLUw== 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 x11si8360651plg.205.2021.10.15.06.55.00; Fri, 15 Oct 2021 06:55:13 -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 S236621AbhJOIHX (ORCPT + 99 others); Fri, 15 Oct 2021 04:07:23 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:46279 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236629AbhJOIHJ (ORCPT ); Fri, 15 Oct 2021 04:07:09 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MS1G7-1m90m913tL-00TUQ2; Fri, 15 Oct 2021 10:04:58 +0200 Received: by mail-wr1-f41.google.com with SMTP id t2so25008771wrb.8; Fri, 15 Oct 2021 01:04:57 -0700 (PDT) X-Gm-Message-State: AOAM530FHdl4QLXhJTqD7jHFvLYo8WwDJ8c22vApkju4E6AB45xJwbpY EaJbNWP0GXaTz3rVG/EXJJL8no6bZYgWMliTaH0= X-Received: by 2002:adf:f481:: with SMTP id l1mr12016275wro.411.1634285097750; Fri, 15 Oct 2021 01:04:57 -0700 (PDT) MIME-Version: 1.0 References: <20211015005634.2658470-1-alistair.francis@opensource.wdc.com> In-Reply-To: <20211015005634.2658470-1-alistair.francis@opensource.wdc.com> From: Arnd Bergmann Date: Fri, 15 Oct 2021 10:04:41 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] perf bench 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:svj4o8UDMApwuFcuNXj7pxpjFVchrJM1P6yD6ye98s3GpluP7I1 i5j3G+TKfv7DebTKtAn1BWAQhkjw8hWe7ePMxxNniwZPIUqFc/gAwyo6tOd8Bo+LY7QpONE vYa/o/fEhPSzTEVeOJUfdNIhxAPtSFe+IwvJ0bPy3b5YZKA2uFIYUpfVO+HQwM1SuJBDXhO u1RtYw8ejJI1ts2C8hJqw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:UtxibgzrXDc=:kaJU0WtF7yMJGGqC4gavvP kFbd6TFVczCNzYvaKSXy2ul4uUDDT987wwM1JL2sjTCNdHGQzmOOI9YB/pMxtkxxSQ0nUs+6P TwaNJd4u4HV+YJ2qM7ho6RYI+Dn+0u1fqPzxR4Xa/blTDbKRqxd3Bx4tWTi+X2h48xrUaDHNz GIfYg+uevWUujvou3+zB3pTIGs5eVKVjWdspq2KkVHhvsPuLQXXQIPH9o7h11mPHhcWzHtRa3 1VYwUUO3MEIxkU0BX8uLaU/MJf+EHcdpGJs4+zZN/lwQ5XFN9X6h6ra0+8FjqnD+W7XGAdpi9 y1ais6Jxz2+95Vsz8O/ai1ZQHJN+TpRIJArK8kRJ0StUFGc60znYu8rjuNDzojjPKWVyRR3sw 7MEP+cxgZRF9ctL5c6klSkYkY8ZM1gHN1NgZ24fj+Z61iRKEVygJiQ5FE6/R5SWBUsDhVFaW8 HS8fxhmFPkxWSY+cd0k29k3pUgshOiH6gTSfrfSlFd5tdsuky2wq9JohkTewQDpFFKFSTRYm9 gaNym5Nf7U/nReJbYmQ46dFn2MdcZ6/lI/RZZqvwQ0QxYDHqUUPPK6GJNqyxCZ3vBZHMxZAZ3 EeMOOY5M/lkLFbJOkfrdj9whtCwkrpJpeWJ3c1HuWGlGHvMhQrdzqvHVyjnVsLVoLkU5SNAeK NegUgBurcBvBRdxXYdG3JaCSEarYlX/J8tDm07NVBxHqHuc/GLgNNX3hVKqin4YqUmAVpptk1 l9ivL4luwONEc2j2Y4hIr+XHdCBPZWaZb4pBxg== 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 tools/perf 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 us to build perf for 32-bit architectures with 64-bit time_t > like RISC-V 32-bit. > > Signed-off-by: Alistair Francis Reviewed-by: Arnd Bergmann