From patchwork Wed Jul 19 19:55:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= X-Patchwork-Id: 42849 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp1427963pzb; Wed, 19 Jul 2023 12:56:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlEq0cLGP5kwEs3VJgNSmeKLBoNvC1DDmTI/DeOhYOv2UAXhjqIf823IVJ/CFLXGpIf3Fuif X-Received: by 2002:aa7:d384:0:b0:51e:309:2e11 with SMTP id x4-20020aa7d384000000b0051e03092e11mr3480676edq.36.1689796592256; Wed, 19 Jul 2023 12:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689796592; cv=none; d=google.com; s=arc-20160816; b=j/ariH1jcTY74MsHfDFpSRdZzRv12Acm0luecv7dpva1xbUKY+cLo76Bx7/l3JZmAM u+jvr1IkWYG4hqGvvwOOUq+skiQ3jZc/IIaZcRUDaYO8WHSvNyOctJoiDWPy4skBMnFf vhFcndBjDuiz5bpuryy37X/CXHQ/7EEVgeMXALC7yhdsm7gArh+OPHAKd45/5fluzqw4 z/X7XKTyBglIvxGvBxKH3jUo4uLeMaZLMxltpi24H5AjKCJiOYtvAOQvlxFFuxmEc+7Y wsC/1wfExyUvuEaVSGHEgtWcFiUendFvujPk4cMtQzHWWklzoYV/cnLyHU00r4ZgeiBs 0uSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=VmvbO684zDytNL2QKHGM9BMQPgHCdj6C4G689xam7+0=; fh=hQcp50obTJ8bXC1it5NuEN23RGKfx0/zZ3s2gmreL+A=; b=bClEfC6H4P/sX3+Q2/ZVnAHf0fOPjnVcRQzZ6f2EYfbCdlWakD9g9toRRV4xXuVz7R zO8JXSLPi6J58qpn2rhy3rex69oQEgn3hO9F9WKRdjqsDIYyEjSeQLuR5aSp/XjNTSd+ gVc72O70fT6Ha3L6c9jIfLsmuTpFKWNDRRpX7XIZNUn66d0+1AppIPq181Y/ilrQA9TV 1vfKlH+H6LxifmYqXMsCmadpy6qYSTmK4Ad1Hv7huFlRNGn6doyWuboPQBahkmBidTtB ZUo7cx02ig2r8q3zf1fVOGfzl4gZ+449sg9X8yRQc8Q8q1Du1dzXd1YLwYb//w79Bcl6 W1xQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id v15-20020aa7d9cf000000b0051e43d9948dsi3387856eds.389.2023.07.19.12.56.31; Wed, 19 Jul 2023 12:56:32 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DA98F68C663; Wed, 19 Jul 2023 22:55:52 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from ursule.remlab.net (vps-a2bccee9.vps.ovh.net [51.75.19.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B242868C641 for ; Wed, 19 Jul 2023 22:55:46 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id C723FC021C for ; Wed, 19 Jul 2023 22:55:41 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Wed, 19 Jul 2023 22:55:40 +0300 Message-Id: <20230719195540.46961-6-remi@remlab.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: <2113654.OBFZWjSADL@basile.remlab.net> References: <2113654.OBFZWjSADL@basile.remlab.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 6/6] configure: enable Linux perf on RISC-V by default X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: JE9uVH6B7kNY Now that checkasm can automatically fall back to RDCYCLE, it is safe to enable this for forward compatibility with kernel versions mitigating the "Cycle Drift" side channel attack. Where available, this should also reduce measurement noise, since kernel and hypervisor cycles should no longer be counted. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index b018abf139..c60e8d3438 100755 --- a/configure +++ b/configure @@ -5753,7 +5753,7 @@ case $target_os in ;; linux) enable section_data_rel_ro - enabled_any arm aarch64 && enable_weak linux_perf + enabled_any arm aarch64 riscv && enable_weak linux_perf ;; irix*) target_os=irix