From patchwork Sat Jul 15 15:23:39 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: 42742 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:6da1:b0:131:a7d0:bc6d with SMTP id gl33csp4376461pzb; Sat, 15 Jul 2023 08:24:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHtqyUdaeLgYBzx2Ds+DE9KIRN5aZetBplSiWQ/+z+jvkb3qkQ0/zWh/jCsmzuDYlJeG3hM X-Received: by 2002:a17:906:7a53:b0:994:3207:cde3 with SMTP id i19-20020a1709067a5300b009943207cde3mr7433686ejo.49.1689434662744; Sat, 15 Jul 2023 08:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689434662; cv=none; d=google.com; s=arc-20160816; b=j1CK26JsZs1IDDZJiYczN7cEw6khIlqIxFderW0CS4GWr5JJ40vC9Ksu65ZRM+vL1X YwFPMD+GeyH13iU6D4E+hV4+UbD3anH+r7vrJzoS7iEKI13q9cnhradz4kpPxqUn6FJ+ EjAP16/LpZ3QLU2+B2ai3XOGz86Pnze5xTVS0b5L2GPrfE4WO1IDFodqLZFkK4gbOUTj +OxCMkk/hzw4ze5P2BMqfiZjtRRkQ3RdBV56qJQvsHukq8d8garKxd7c2JrAFBjTacoz j0HLpV++d32vvm4v+Czb0pe9Q0Id3VpkINEPABfwQlw6/1jLZInCUHWftUUCMVVzqteY e8mw== 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=HPQ24dS0ZCyrftpS1rve03+nLXjSs+0U91CjBifKcE4=; fh=hQcp50obTJ8bXC1it5NuEN23RGKfx0/zZ3s2gmreL+A=; b=qIJ1+eyKH0UAltC15TNWXLb5LemGxqIYivvYMPYjmgoG16s+q+EsmwwOAHzdPnaxVC 5wOTJwrz4EG7fw1BYe0ffAzQ4RTmpq/5nX3YILQdGIZFowEvZWmtijsGIbtwOAcJ/dbR w2RZt84blPAegTOYB7qWMzcHaS+LVEGcTSkKo4yhZfDu2z3hfrUSU3lJVY4J9BqnSyHG stPxHUwvxB8ISpWsv/xCnTmPpWss9ZfyJYfYy36/Dr0Hcoy3iHsfkb00eeKpH6cjNpQs q191bURiX7HNDKUDoiOp+gE8l0YCQmrNUcQrWpADEaKJO/mjJ1ULdyisXzA4hTFbLaV3 wEQQ== 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 um15-20020a170906cf8f00b009937e7c4e4fsi11295365ejb.80.2023.07.15.08.24.22; Sat, 15 Jul 2023 08:24:22 -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 835B268C294; Sat, 15 Jul 2023 18:23:50 +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 3D1AB68C648 for ; Sat, 15 Jul 2023 18:23:46 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id 39ECBC021B for ; Sat, 15 Jul 2023 18:23:41 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Sat, 15 Jul 2023 18:23:39 +0300 Message-Id: <20230715152339.13234-7-remi@remlab.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: <2708777.0sFzvF9Jai@basile.remlab.net> References: <2708777.0sFzvF9Jai@basile.remlab.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 7/7] 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: 4edXIN7tLGpy 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 0ab0761011..3be074e15b 100755 --- a/configure +++ b/configure @@ -5754,7 +5754,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