From patchwork Sun Aug 29 10:22:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 12463861 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6ED3C432BE for ; Sun, 29 Aug 2021 10:26:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 722A960E90 for ; Sun, 29 Aug 2021 10:26:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 722A960E90 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=99zFD0uNWAXtO8fxVQdQO4G5IN61CYYKijn+MhPDD5M=; b=sD06wtG2SqsubT 1Bfm6wiUVpzSWiwi1kPDLy5e83yoaJJvgb81U1SHks80LMJW8huxA7+c1EUHY7avxPz/q5VSKJXe1 gQzEhF8W+YBM/7OuFuhiN2VtVdUPxRW9SHbuRv1kQjiteTwHn7+6SnG78usPViQ2ljZcvWLE2WLnm D6rQivgXD37kE8fFbe0aos90yO5g119rileT0GL/oM+hsiD8HhVk3FVktSqMr+UGpL0JnKrfCgSaB AgiE5CMSyULpGdIeR4zpirV/D3j7L05sTrMffxrQNqKvCWnK4Thq1s42/G9LBuEG5ujiTxJ6dhgMb LbdH5V7Gh/drsvk8AG0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mKHy5-00FNEG-2z; Sun, 29 Aug 2021 10:23:13 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mKHxm-00FND2-Eu for linux-arm-kernel@lists.infradead.org; Sun, 29 Aug 2021 10:22:58 +0000 Received: by mail-pj1-x102a.google.com with SMTP id 28-20020a17090a031cb0290178dcd8a4d1so10438249pje.0 for ; Sun, 29 Aug 2021 03:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4MRRIZZkt9tye/aSkZ8szLuchNWkKPYUS23tJYjGKbc=; b=Bozq91IDxk7Z01Rw3IsWHeNB0Ai4ky7kqsxkGsX2x1LTxD4gyYzmDjc7emz8Ccho7g x27elPh8eWqS0zowODCSOrEWFRcp7M41di1oClbW2G3684QOZ7MTyQiuovnKFe+tq/jX iazOs2jNkC+TWWKgFJeXcho57BLx2c4fcPfgIVJJyczimEp2smlh42oDGoKEQkf56eaG sEznFfLfJpUukTrBKS5nTaMYf8yAm3ax9ZJGmT4LHVkzi0qk3+YZUlbVkRIo1Yd0KV9S y8naOYYArX8NGOtKcvQLYyEsHIPDbndbLdUNgqAeWzv28TfMbP4qS2yrqkxqdC+czZbr fxuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4MRRIZZkt9tye/aSkZ8szLuchNWkKPYUS23tJYjGKbc=; b=Xcm2dpgx7mokawGyVbxjf3NZnPJuLJzuFSCBs4pLMQF/1sKERPw4/fn6OOEwVjADnF U4CCMtUd80rurISxHjGZ8SgCw0D04c4zqDcTf4ODMsc9RdtF+12I2YozSVdMD0E8tdFb 47Ia5ezzlHDqWDbTJrMbhGn6yHwMdIbucFd4aDXGw9eX01e7f82yAYWgdITx15eAJRs6 RD7Kcqm2P/Yhd+O5V1LR65VWCnLorYu86WayV96OSZTp1XVQ0eL2qQqBouJEtWGBgDG+ Ph0EUdPzsuODSgR+K4VMNxh6WfflWVBHQgaUnLUlECnbRb9owSNlWRDcvF+hqhzfy/fH q8Fw== X-Gm-Message-State: AOAM530wtC7Jsp3xne7ybYr0Sr6ymxwgRPNmLsDEr15cHXrMgE9WA4Zs IkYzjr5StHd8ANiwQ1g3y0E6kA== X-Google-Smtp-Source: ABdhPJxcZxrA6s2WVeX4pV8eRNY68Q1x+RiDSEGh0KxfPSlVQ//9mmT6h7HDnrp3yZpG56gOktEJdA== X-Received: by 2002:a17:902:a407:b0:138:849b:56f6 with SMTP id p7-20020a170902a40700b00138849b56f6mr15340746plq.0.1630232572666; Sun, 29 Aug 2021 03:22:52 -0700 (PDT) Received: from localhost ([134.195.101.46]) by smtp.gmail.com with ESMTPSA id b17sm13438812pgl.61.2021.08.29.03.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 03:22:52 -0700 (PDT) From: Leo Yan To: Arnaldo Carvalho de Melo , Adrian Hunter , James Clark , Mathieu Poirier , Suzuki K Poulose , Mike Leach , John Garry , Will Deacon , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Andi Kleen , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, "Russell King (Oracle)" Cc: Leo Yan Subject: [PATCH v2 0/2] perf: Support compat mode for AUX ring buffer Date: Sun, 29 Aug 2021 18:22:36 +0800 Message-Id: <20210829102238.19693-1-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210829_032254_551273_31C4E78A X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch set is to address the comments in the patch set v1 [1] and updates the patches. Changes from v1: - Added Adrian's review tag for patch 01; - Refined comment in patch 01 (James); - Added James' review and test tag for patch 02. [1] https://lore.kernel.org/patchwork/cover/1473936/ Leo Yan (2): perf auxtrace: Add compat_auxtrace_mmap__{read_head|write_tail} perf auxtrace arm: Support compat_auxtrace_mmap__{read_head|write_tail} tools/perf/arch/arm/util/auxtrace.c | 32 +++++++++++ tools/perf/util/auxtrace.c | 88 +++++++++++++++++++++++++++-- tools/perf/util/auxtrace.h | 22 +++++++- 3 files changed, 135 insertions(+), 7 deletions(-)