From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 B68F3C4338F for ; Fri, 23 Jul 2021 07:23:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 98DBE60E90 for ; Fri, 23 Jul 2021 07:23:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232892AbhGWGm6 (ORCPT ); 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-Google-Smtp-Source: ABdhPJzNtFnnoe4/UhTqBiAsl2EgKRySlzbbMT3VPGBJcvrUM/u8D8/ITGSWh9WufLdYvuhu0nrlHw== 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 76836C4338F for ; Fri, 23 Jul 2021 07:25: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 3978660E90 for ; Fri, 23 Jul 2021 07:25:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3978660E90 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dlFLD9BC+M3ZfAqX+URuuFZ1SLTRwhowIpe57AGCr4Y=; b=RXeBGQGFWRVgV9 82E/YlvRdR5ovmYCKGD8qmrMNlKBStgbXCbO9Zrf3stjnhID8IMy9zgsAcZs2p30UeMiojiDb8Oj+ 6VnN6YF51iiGK+EXi3txNGLe6igkrRQEJMjkDOD9pcO53qRzkivD7SfenLAjWtWTi3uIRXfNPTiJQ 0PCbtwMf8ekk93MazekAMfQUP5P4Hbk+4l0IJX+q31cDZaAxofbOL3I+q4UriRyoIBXfLyGVN87qa tC6ILj4SVAaT8ptE/WBHN+Mv37AQVuwPDhiSgmyuU92/BHO+Sb0+/6XECRsKSvqdabEcSDcBFR/hu UeGpDnNxf9T6aaVZMbYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6pWx-003gVt-CS; Fri, 23 Jul 2021 07:23:35 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6pWt-003gUl-6m for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 07:23:33 +0000 Received: by mail-pj1-x1032.google.com with SMTP id l19so1079167pjz.0 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=byW2TO+3DpHnxIR46F7FR8z+pAUorI5QB9+gFk/zUYKL/ayEJeHj/oRUn5uihiFihr egNQHW/1c2NO12CEu3efcHIL6qqTqWX3zjsHyckvStxGbtR9rnRLiWa42g5fIGbuwgoe EKjFUX2H/qEaRa8wD5AR8V3OTGpTle1kkbXFlJWOwJ7DGLkan+0KBcTHplSeB8MnH4fg z5xPYyFYUJmEbKELW27+Pj/Ta+t9IxAUR2vcdG5a3KPQBDfYS5HafBBv+UJEJFuHJMwH ms/s42OSx4OYujU5NKZ2HUjlDWgEqGW+AUQrl+ZKUwDEuUAbMQhwQgfvl3QN1CdkP2PU tUMw== X-Gm-Message-State: AOAM531MKHLA3S4eu4rXuRzoHzdK+va9hhUNiEPpOPnnguzbkkYjt7B0 ujqme4dATgF9v0G5o2RMh8KflQ== X-Google-Smtp-Source: ABdhPJzNtFnnoe4/UhTqBiAsl2EgKRySlzbbMT3VPGBJcvrUM/u8D8/ITGSWh9WufLdYvuhu0nrlHw== 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-Disposition: inline In-Reply-To: <20210714084015.GM22278@shell.armlinux.org.uk> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_002331_283716_74442901 X-CRM114-Status: GOOD ( 15.27 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel