Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1144166pxv; Fri, 23 Jul 2021 00:25:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypfOiUUxEf2sAsKDqmpeF+zT2d7ybgCUAfsbQwtlhIMNs8tPKOVhxcr4Q+m4ZNp9tB51yg X-Received: by 2002:a05:6402:2023:: with SMTP id ay3mr3859945edb.383.1627025150520; Fri, 23 Jul 2021 00:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627025150; cv=none; d=google.com; s=arc-20160816; b=rbKBH8PDHV31fHKMq7ejeX9jhUMSTVgNPWPEHv2JvvosKY2RTiglGckwvleb2sZH0X QGdJXleqhWX5EkgrtFYG/cRMQWRI2Dr4W7/7Pbx0gVox/O8SjYeJ1ZMpsNtAKUTw1Wmb QwNYUWMK9dwwaDOMI7IH/HwrdhHo1q+XV4yBD6Dbs2oVTfy40Vy6fdf+3n0zR8UIwK+k OlWKH9jDINfZvkOP54/PmRw1KU6y1wQdqLfMDa9La270pNtx1z7COEmrh+Lh+GjFdBmR G7heT1W/OjOZ4rQ4NPbXuwQPPcrwV23CXwk6PewkR+iPx/h9VatV+wipwyZ4vlndxCpT rlWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dccwzm0JUzZfAJpe+VU8zCtj99qVQ/WnWSS+WqLNfXc=; b=C4Ugc7e2olH9rb4M0RWhCKFtFMTl3s0IPN0mrcLQdkqn04pT/3dlmF1qXLw4C8VV+A aO93XcIqJk6l4v6mybxbfx/aPtK84iLu2HIx2JA0Yihi7acPE5I3w0KSpFoCo2pjc2XW 5TxdYzJQNPtFzKZ5rO5xBqlJvF29NGplI2A4d9jMZk+2VwFaf2Q2FZObY0NkMgalp+0R ZNx6uDbnBDFjZL4Y0NLV3EG5ACZBG9yVOa2PoGIgC5Y08Q2t5o+T1AXDb2Xx3Ujx2FrC P1LNVkPlIF6zYmVLQ10aCJIfThYl4SSdewLScW0x6Z5SLvXBBr/ZRPxb3Y0zdQ0x4o/Q YtCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cJCXGMp8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si31897631edr.453.2021.07.23.00.25.27; Fri, 23 Jul 2021 00:25:50 -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; dkim=pass header.i=@linaro.org header.s=google header.b=cJCXGMp8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229813AbhGWGm6 (ORCPT + 99 others); Fri, 23 Jul 2021 02:42:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbhGWGm5 (ORCPT ); Fri, 23 Jul 2021 02:42:57 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6140EC061575 for ; Fri, 23 Jul 2021 00:23:30 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id m1so986196pjv.2 for ; Fri, 23 Jul 2021 00:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dccwzm0JUzZfAJpe+VU8zCtj99qVQ/WnWSS+WqLNfXc=; b=cJCXGMp8MI+6mMbvnEnN7tpaXHLuE5vChILj5btQ3jW/cK0Zpgduooa5G13HjLtbmC ehUUr7sBMeXBIV2NdtIGfXLn8G2munVGIT+CKukcHagjnB8pAE8Jo0lYqjThD9jwaziN moSL5g86ag5nAublBJb8iVC7YvfFB+Ig9U5uxRB/OWCe4sN4Ux01X0RLyXS9iKsOyw4z /uvEJ2q///1dY6Q8L+fbDAy+6aveoLMLZIM697/bJ1RaN75OjLfYtGYXJg5xFiLXWdMH E4lkJffCLsyxS2ecp8UsskwUTnl9tgqGEwdQb5Thr3JoJYuIzs4tzPmo9+1YRsHMpib0 34Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dccwzm0JUzZfAJpe+VU8zCtj99qVQ/WnWSS+WqLNfXc=; b=e6+JZwUqFH31FIwV6qQbyQ7mwWZHI9VATKQMQSt5U+qfDXC68YqCYC2YBsJ/l5y0FW yZ8frBge06EZxnCdA5yWIMFIk4Y8rRabguyM1r8+ho8AmVYo4Tx9pOHCgLI9OBj+vVy0 5cen5duh/0zT2Y3up0eWb7IYObqu+3RWWJwTYiCNaSdCZ21Q6/rlAQ3Y3HUuhrDaxf63 OC0QVE5/AcUTCCQDq+jsuW2E9Iqfto/gghMFNXlMn0Ngm5OAaHrBKxrBR+N5yxYurvob NsiUWZLyg9FO1R1o7Mn2tNzazg9HGPc2PqTkFusX71PYvei/kWZcKyAv47t0MaUW/Mth fMFg== X-Gm-Message-State: AOAM5322eLOBgEBahxl65ltiw7QSu8g8c+DXGggo8nATbuUjRwnBLuPt Kfi9jKAd0ix0Zbv7K2iU3A9usw== X-Received: by 2002:a63:78d:: with SMTP id 135mr3678920pgh.116.1627025009837; Fri, 23 Jul 2021 00:23:29 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([202.155.204.36]) by smtp.gmail.com with ESMTPSA id x26sm33678743pfj.71.2021.07.23.00.23.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 00:23:29 -0700 (PDT) Date: Fri, 23 Jul 2021 15:23:22 +0800 From: Leo Yan To: "Russell King (Oracle)" Cc: Catalin Marinas , Will Deacon , Arnaldo Carvalho de Melo , Adrian Hunter , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Mathieu Poirier , Suzuki K Poulose , Mike Leach , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 11/11] perf auxtrace: Add compat_auxtrace_mmap__{read_head|write_tail} Message-ID: <20210723072322.GG179035@leoy-ThinkPad-X240s> References: <20210711104105.505728-1-leo.yan@linaro.org> <20210711104105.505728-12-leo.yan@linaro.org> <20210712144410.GE22278@shell.armlinux.org.uk> <20210713154602.GD748506@leoy-ThinkPad-X240s> <20210713161441.GK22278@shell.armlinux.org.uk> <20210713181301.GE13181@arm.com> <20210714084015.GM22278@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210714084015.GM22278@shell.armlinux.org.uk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 09:40:15AM +0100, Russell King (Oracle) wrote: > On Tue, Jul 13, 2021 at 07:13:02PM +0100, Catalin Marinas wrote: > > We could try to clarify E2.2.1 to simply state that naturally aligned > > LDRD/STRD are single-copy atomic without any subsequent statement on the > > translation table. > > I think that clarification would be most helpful. Thanks. Thanks for the suggestion and confirmation, Russell & Catalin. If so, I will implement the weak functions for compat_auxtrace_mmap__{read_head|write_tail}; and write the arm/arm64 specific functions with using LDRD/STRD instructions. For better patches organization, I will use a separate patch set for enabling the compat functions (in particular patches 10, 11/11) in the next spin. Thanks, Leo