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 82A40C4708F for ; Wed, 2 Jun 2021 11:18:58 +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 52D0C613AE for ; Wed, 2 Jun 2021 11:18:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 52D0C613AE 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=NLtLAWb8CuxNhw/+c2PpBAApRoWBn5dUxi9VlVlV0x8=; b=mI1efb8G7Tgopq it1pTvDtYRuxNE9jXGzDt0hl2I2FRNnTxKvqE9jnua3cmwvqonhsD1JVZXGeOVfxqF38uryMWm4P9 fTaSunwE0CGM+Knt9F6xDL1LZ2Jy2TLyF+Pj0MFdWaD3D6QiS6hOirDgn6vMVS+IhibCgXuJYfC10 znohF5eYAa9bPwPJWXbuBvU28T1wZpKTXfQIkSrvEUb/qbrugbgzIoFFwqAXkYsoM9jr2sjitLj9W QER3ZB/xZvbe8LkErRpZ073Vue+4Rj6LIG6RK0ebmt5Ge6EYAMoZJCZVwSpF3OW+d/aOMKKkdU0ne jck4/SvyRH2FBRrlMetQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1loOrY-003fJt-65; Wed, 02 Jun 2021 11:16:40 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1loOrM-003fGS-4e for linux-arm-kernel@lists.infradead.org; Wed, 02 Jun 2021 11:16:32 +0000 Received: by mail-pj1-x1036.google.com with SMTP id b15-20020a17090a550fb029015dad75163dso1602451pji.0 for ; Wed, 02 Jun 2021 04:16:27 -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=18E7l9n3/2stmaDhvza08Z8aYCwKaZRCkX4V4crhdXw=; b=y6twmAWdJTjdmPxpLmTp294UtjfXzJYnpB8RDPSH21aX46NXnwoxlvH44KeZFtcBGO IWiceGOyUuo+m5p0NgX8chRntshxWusWQNji5+5xX1HvDbSE+Ep3FEx6IP7OsX59Wztw MDOGsu2/805OTcAihbYoFhCojDdLulmiU0IoDesc464WNVkBmuxUyCm0kmENHfG7epHW MjfNtkGky6FDw2tdfnRDdRwilyW9B3v3yIAtVtuk4ToJE+hjrXFExafTjdEwmoqa9Txx cY+a9cg0meqnt0hn6NsYjMoWlPHGsqzDubHhKlvSVPbsKV0Vw7dYk0Vd9zKH/UIKEbao pnTw== 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=18E7l9n3/2stmaDhvza08Z8aYCwKaZRCkX4V4crhdXw=; b=Iby9rIMtMDtsycqPro6CHHtVeMTd/mfx/ZVDTpTNFTKbHmIy0NVMs+b2Qw2s5s2ab8 f3D3V+vZvIBNgcZjfaU3lS4v9mcf5Fzn3h4muLcI7sM2wSIPwN4vp43oRD3XQt1qv+N7 tRVsmriY+RuDZ1N/Blw7V+Apbmi0bwLo5+IJ5UVCzWtxGR2gSeEveBQR5DV3ll76Cjko bAyUhViZ8djKeNxhfGZNbPqipixsbigrLmetlHjTOCbHRWOps68rg20bM06zx/b0QD9u T2X8jLaTnVR1gR8WY0S8SM+v1LAGYXh6317W5+J6fMYf6jBbSplirM1WlyspzTh3B+ly ngYg== X-Gm-Message-State: AOAM532Nl7NWyHzpYm4rVtIA4dmf7OT5KTKkWNH3PuQmp54Yx8WrOmqM LSNiHNgiLtS6RK8hBxsSdEfqkqMS8smPgQ2C X-Google-Smtp-Source: ABdhPJzzLMSfh/Db9hXIj11hpUVqsljuLS0xNGe/pYUhx4I+UvUBfYqiSfeNLvJEAKdYlcV/fdlMgg== X-Received: by 2002:a17:902:6902:b029:106:50e3:b2db with SMTP id j2-20020a1709026902b029010650e3b2dbmr11793672plk.35.1622632586608; Wed, 02 Jun 2021 04:16:26 -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 c19sm15689706pfo.150.2021.06.02.04.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 04:16:26 -0700 (PDT) Date: Wed, 2 Jun 2021 19:16:20 +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: <20210602111620.GD10272@leoy-ThinkPad-X240s> References: <20210602103007.184993-1-leo.yan@linaro.org> <20210602103007.184993-7-leo.yan@linaro.org> 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_041628_241305_AD599770 X-CRM114-Status: GOOD ( 15.40 ) 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 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). Thanks for review, Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel