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.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,URIBL_BLOCKED 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 82163C4708F for ; Wed, 2 Jun 2021 13:08:08 +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 3C93161263 for ; Wed, 2 Jun 2021 13:08:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C93161263 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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=/KQDT7K+bY/MsDJSGah89yCbZMU8RE99nwV3ZTd6Ssk=; b=cQcwBhPAmJHBdr o8A285wjiOZP9UDK0Wf87cQU2tNQ0xETqq3glL8irwiVCb9eqC4DhUt3vkCtQoj6dxzhNS6qPgjtU eZ9D18TQ63ukGPnBx8kGFa+wUhzA0Ge7psM2MuXg+LJe0xv10VLe3a0xvWX2ItUSUoWoEVZmZu82I PrIDL63Ua35sj4W2k0/M6Obv0lgx+YD0a7f22nEN+iAfvYQWI7EG+hGlN/T6JKqQgLygskNSuGDUB kMDxcCDf9vx1mdXTOEI5dm3xfoMipit3RF6eRPVCP2ErpIN19RxJmGrF0pTvX6svmJuUQMHBLQ/Ep MgKbagy7HaBdLvSWTX8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1loQZJ-004FXW-39; Wed, 02 Jun 2021 13:05:58 +0000 Received: from mail-pf1-f172.google.com ([209.85.210.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1loQW9-004Dzw-46 for linux-arm-kernel@lists.infradead.org; Wed, 02 Jun 2021 13:02:44 +0000 Received: by mail-pf1-f172.google.com with SMTP id d16so2092420pfn.12 for ; Wed, 02 Jun 2021 06:02:40 -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=YI37M6WTB9tOz3HBK6mip6CCX60bhaIRlELFRiHmBo8=; b=WPntc7Kz0gCfuC7el9Vy999j5F05xUwLTaT76ZzqgCUhdhbALv1Fh8zus1SEofEzDn gVUwQN3efdDCF8Ekt2wDxM+L0oZAWBwZ96YaYFmFKwxVA+hpWkd3bxiypQgfSjAoVV/Z 9SSKEuuvAublQXCeAyg0+QLtxoIQBBzQ+s5ZjJdpYdoP5ZOGg6i64ilxFsqQdP4fHjrE tmGx/oZjGny/ayR/SoYqLGLflzs6apQk2vO8kmaYYlrQpSJyQEh0s83LCgWNUjCDqIy/ c7/yrojLy+4smIAEz+4j5FmCz9nIgqAZHREzOhVD+ySv9d2kMEjzFpReAfSUIpc9Ask2 CR7A== 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=YI37M6WTB9tOz3HBK6mip6CCX60bhaIRlELFRiHmBo8=; b=auAe5L99lJFGvweqU7Qjn2ux1QfCOvQjbGls5FgL8kHBmbWcMf3gYk5j/Kb99t8Ixd /AXz71/ghj6PWet387SaSHYkeLtu+mhZnUaRzF8X0KhrDpu/29z0EwTe7OmkGs5FMfnf U2tnHdhGVzyVgOv+Saee6MwD4uQET643RUGo3vigK6Jp5KNuWhXOXhLXjeM1yedI9+p2 UmnKsWDLWinkL3bhZzRb86zO1m6Q6lToRqLEqVkpiFzuMd+U6KRgHrknS892F1oM1BvY da4oiT5EgERcrqXnyKrN2qaqz2NDKhYkmofAD9z552z+Ul5PRFbWSZW3ikCSOmKWkK80 Clcw== X-Gm-Message-State: AOAM533BhrmsIm1XzpZFko57j7FwIDaA5t+jO1rb2zCpAj+pXgkTWRzQ gwpbaIC9z0RJknTpFASd8TPxgw== X-Google-Smtp-Source: ABdhPJxNI77ZxyMoAz4JSba4wJsZgj88a5H7K2T0ZSPsUpwuJZZDEBhk50O02tQ/AXokHZ1pjXXqYQ== X-Received: by 2002:a63:ff22:: with SMTP id k34mr33546970pgi.336.1622638899656; Wed, 02 Jun 2021 06:01:39 -0700 (PDT) Received: from leoy-ThinkPad-X240s (ec2-18-167-84-74.ap-east-1.compute.amazonaws.com. [18.167.84.74]) by smtp.gmail.com with ESMTPSA id h13sm10991973pfv.213.2021.06.02.06.01.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 06:01:38 -0700 (PDT) Date: Wed, 2 Jun 2021 21:01:32 +0800 From: Leo Yan To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , 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 , 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 6/8] perf auxtrace: Drop legacy __sync functions Message-ID: <20210602130132.GF10272@leoy-ThinkPad-X240s> References: <20210602103007.184993-1-leo.yan@linaro.org> <20210602103007.184993-7-leo.yan@linaro.org> <20210602111620.GD10272@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210602_060241_195832_31501312 X-CRM114-Status: GOOD ( 20.71 ) 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 02:21:05PM +0300, Adrian Hunter wrote: > On 2/06/21 2:16 pm, Leo Yan wrote: > > Hi Adrian, > > > > On Wed, Jun 02, 2021 at 01:47:42PM +0300, Adrian Hunter wrote: > > > > [...] > > > >>> @@ -451,11 +445,7 @@ static inline u64 auxtrace_mmap__read_snapshot_head(struct auxtrace_mmap *mm) > >>> static inline u64 auxtrace_mmap__read_head(struct auxtrace_mmap *mm) > >>> { > >>> struct perf_event_mmap_page *pc = mm->userpg; > >>> -#if BITS_PER_LONG == 64 || !defined(HAVE_SYNC_COMPARE_AND_SWAP_SUPPORT) > >> > >> The test and setup for HAVE_SYNC_COMPARE_AND_SWAP_SUPPORT is not needed anymore either. > > > > Yes, I think there have two files should be cleaned: > > > > Makefile.config > > util/auxtrace.c > > > > If still miss anything, please let me know (I remembered there have a > > test case for __sync_xxx_compare_and_swap, but I cannot find it now, > > so this is why I am concern if I miss anything not). > > tools/build/feature/test-sync-compare-and-swap.c Thanks a lot! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel