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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 2D51EC47082 for ; Mon, 7 Jun 2021 15:32:30 +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 0529D61164 for ; Mon, 7 Jun 2021 15:32:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0529D61164 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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=RQk6s2IrxlKT76WNh3MDSkNee5N217uNoJ9P+BQfBLI=; b=zQ8DcnS30TcIy6 nZnNLFcKxeinc1Nmt+23+/bhbzUpCLcXOT8TBUOk5VK5i4O7QSyZcrONtfEvRxlEGQqaRIoMPLwnj r/djEkIsLAWdMaO16i43NjwVnODR2JvqJCKE5DKfXBx5peTAXKtmAZu/e4Kv1KUHgcveMl9BwaSvy QEczuEkJ5zjlJ/U8d/tj15ROD19fMGpwOsoAbCmzMGTdSSIC9EuagWPIKxwGvJZ7ohHOJUcusGBwy cK4iMLr1DjbbcTteWpQ0MZCPyem7SWc855Kg58eY5AcVZwvD/jfxt4YG3hkNQnM/SAG0sTMBKAa/4 k7340incEskSd4rWSvEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqHD2-004FPt-Pi; Mon, 07 Jun 2021 15:30:36 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqHCv-004FNS-MQ for linux-arm-kernel@bombadil.infradead.org; Mon, 07 Jun 2021 15:30:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Ur7ovxkpT6WgTOE/FPrwgd7n8NhtA8XJRJmI2FHX9v8=; b=Woe6gtrZI4BuLKjZlX/CDSZFT6 0OXBzbGI16tD+IXpas52LDmmcFcHMatOZpIAe0y31Q+yPO9IXT1VkskPdo71aO7PBR8irTraDP/Cu MAfqJZgCh50585BjS3jZz7EoeZ/T3fptlJOmDO+fm8wKJBz8V5EzCt11JTAqHODN7Sro55+qj9FiG vwmP/BNn6u8xROeI/lZji66nl9/iyrtPM7VCQHrEr45lIitZC47UOtDyqcvCUbRLPyWdhvBzT3dj3 VkbCH3MUVSf8uMxXltwLQAZVd+8you0HVpyekVJyYvtJeH5mDn9k870Ex0xdafGgVx90+1t3h/JNX vnq/eXOA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lqHCO-00Fwab-7k; Mon, 07 Jun 2021 15:30:06 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id DD0E530018A; Mon, 7 Jun 2021 17:29:55 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CC4512D6A7343; Mon, 7 Jun 2021 17:29:55 +0200 (CEST) Date: Mon, 7 Jun 2021 17:29:55 +0200 From: Peter Zijlstra To: Leo Yan Cc: Arnaldo Carvalho de Melo , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , x86@kernel.org, "H. Peter Anvin" , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Adrian Hunter , Andi Kleen , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 5/8] perf auxtrace: Change to use SMP memory barriers Message-ID: References: <20210602103007.184993-1-leo.yan@linaro.org> <20210602103007.184993-6-leo.yan@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210602103007.184993-6-leo.yan@linaro.org> 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, Jun 02, 2021 at 06:30:04PM +0800, Leo Yan wrote: > The kernel and the userspace tool can access the AUX ring buffer head > and tail from different CPUs, thus SMP class of barriers are required > on SMP system. > > This patch changes to use SMP barriers to replace mb() and rmb() > barriers. > > Signed-off-by: Leo Yan Acked-by: Peter Zijlstra (Intel) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel