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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 72609C433EF for ; Sat, 26 Mar 2022 05:51:59 +0000 (UTC) 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=a8ymR7kBKpajil/gPHKKF0QElCWRUU3HfMSekJ74bp0=; b=JCBvrjKR9go8M8 xZEdvYs81EWezqw8mYJXvH1S2T2c5Kk13uC2Uoh2XPcs+Yu7G2Nkis36+paMlF4eDN6i5hXL0KiGx lBm7jHbjM6g50K0sgaXfOqahIfPdANZtNv5h0q/4p5CMn5nfWeRY2qEUxRekq5Ik4nrTRLic3GzOH biJ4mLXHkSyXEMsoAPVwSV8ufeoRJeFIGaC2jNB/xLxShPUtQbCMsvSl8bWCtz8ATaoycS8okKocb kguNqBHFZ9FPmLtUYShcAs71A9tr51pR5xwDDccijCu5/N2gUv9N9qxD4TiMbI1V1oVK0DN7TRZZ1 hPNsURy9gDeGrr0emozQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXzJT-003lVs-22; Sat, 26 Mar 2022 05:50:11 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXzJP-003lUt-1L for linux-arm-kernel@lists.infradead.org; Sat, 26 Mar 2022 05:50:08 +0000 Received: by mail-ej1-x62f.google.com with SMTP id r13so19032834ejd.5 for ; Fri, 25 Mar 2022 22:50:05 -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=2O4yXpqsURvfM5TB1UAWHWz+8FkEHYO0gCz767gxti8=; b=Sod/FcT9Ks5jijNGSYWpQqzd2JM5VDQVU8LgvK+b5kJXeLJ7QA0CZcDCF05sYHAjYm BVFzuU76IglUwI8JQsnzAKI3cuQXLirS7G9bp1t/al+3dw/TGAiv9wUpyabRDndtCgEP eO4epxHuxmxlplL3zY2SC1wstRqM9gJiP1CpDnIP+s1YVx7Ynhpdr/E2brjy0fnY2Zii 4lBi4HZmW3pg92GjJuMNzCZagWrEPEWU2emY2IFElEotn5Mrat+h2gwXe9X00yEoNYJx TKH0Se9JgX02mX7U7XEDoLLw6GUbFpSFdYFrw1wEbFV1onAQsWXAQD/ud+LGaASHvSeV YQYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2O4yXpqsURvfM5TB1UAWHWz+8FkEHYO0gCz767gxti8=; b=nlMMumfDnR8DgAYDPwokmXtJLzcbyPbigUCfGpfS+YE5S8yyRn2F4tptCF4pUBg4I/ KQaZ48shjF3A3fl+fSpwZRvf9NmIpI4NLCPlvLTqsqnTEVUf+bxNZJ+kVr42kEf6a7qB OgLtwaYZ8QceyPlVzt2r0H251JAct20zz1z3gYZd2mXCJKSjJL///H9M4iZ1S557r286 sGte5CsgoD+SSTJ5u+cNApdQJ00FCl1jl+KDWQS3whNeTmnS6LYZ4vKeSjdCknhcF7+h A7JXsqzal+TF3odj1AJct41bwxrJ+2etUxE4Ma7fHRvei3d+qv0186MCxUoZgFL+28uS LP+w== X-Gm-Message-State: AOAM533GTT3EMMKp92W2iL2aCHEswUiMCOP+1s0bIp2VmK0iSt7Ca61I WN8UU/pDFCBrHAUQ/NF/Be4mKw== X-Google-Smtp-Source: ABdhPJz2DiccS9xVih0qkcsHHv/ejttJp0IsCc3Xakcv/Utb1G9VsI1XMGaRvbMGOYF83H//hNnB7g== X-Received: by 2002:a17:906:9751:b0:6e0:5cdd:cabf with SMTP id o17-20020a170906975100b006e05cddcabfmr15961766ejy.38.1648273803777; Fri, 25 Mar 2022 22:50:03 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([104.245.96.34]) by smtp.gmail.com with ESMTPSA id c5-20020a170906d18500b006ce371f09d4sm3064171ejz.57.2022.03.25.22.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 22:50:03 -0700 (PDT) Date: Sat, 26 Mar 2022 13:49:56 +0800 From: Leo Yan To: Arnaldo Carvalho de Melo Cc: Ali Saidi , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org, german.gomez@arm.com, benh@kernel.crashing.org, Nick.Forrington@arm.com, alexander.shishkin@linux.intel.com, andrew.kilroy@arm.com, james.clark@arm.com, john.garry@huawei.com, jolsa@kernel.org, kjain@linux.ibm.com, lihuafei1@huawei.com, mark.rutland@arm.com, mathieu.poirier@linaro.org, mingo@redhat.com, namhyung@kernel.org, peterz@infradead.org, will@kernel.org Subject: Re: [PATCH v4 1/4] tools: arm64: Import cputype.h Message-ID: <20220326054956.GB20556@leoy-ThinkPad-X240s> References: <20220324183323.31414-1-alisaidi@amazon.com> <20220324183323.31414-2-alisaidi@amazon.com> 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-20220325_225007_161136_95C8562F X-CRM114-Status: GOOD ( 17.59 ) 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 Arnaldo, Ali, On Fri, Mar 25, 2022 at 04:42:32PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 25, 2022 at 03:39:44PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Mar 24, 2022 at 06:33:20PM +0000, Ali Saidi escreveu: > > > Bring-in the kernel's arch/arm64/include/asm/cputype.h into tools/ > > > for arm64 to make use of all the core-type definitions in perf. > > > > Replace sysreg.h with the version already imported into tools/. > > > You forgot to add it to tools/perf/check-headers.sh so that we get > > notificed when the original file in the kernel sources gets updated, so > > that we can check if this needs any tooling adjustments. > > > I'll add the entry together with the waiver for this specific > > difference. > > This: > > diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh > index 30ecf3a0f68b6830..6ee44b18c6b57cf1 100755 > --- a/tools/perf/check-headers.sh > +++ b/tools/perf/check-headers.sh > @@ -146,6 +146,7 @@ done > check arch/x86/lib/memcpy_64.S '-I "^EXPORT_SYMBOL" -I "^#include " -I"^SYM_FUNC_START\(_LOCAL\)*(memcpy_\(erms\|orig\))"' > check arch/x86/lib/memset_64.S '-I "^EXPORT_SYMBOL" -I "^#include " -I"^SYM_FUNC_START\(_LOCAL\)*(memset_\(erms\|orig\))"' > check arch/x86/include/asm/amd-ibs.h '-I "^#include [<\"]\(asm/\)*msr-index.h"' > +check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"' > check include/uapi/asm-generic/mman.h '-I "^#include <\(uapi/\)*asm-generic/mman-common\(-tools\)*.h>"' > check include/uapi/linux/mman.h '-I "^#include <\(uapi/\)*asm/mman.h>"' > check include/linux/build_bug.h '-I "^#\(ifndef\|endif\)\( \/\/\)* static_assert$"' LGTM. I did the testing on both my x86 and Arm64 platforms, thanks for the fixing up. Thanks, Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel