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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3B82C433EF for ; Mon, 14 Mar 2022 10:48:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238683AbiCNKtu (ORCPT ); Mon, 14 Mar 2022 06:49:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbiCNKtt (ORCPT ); Mon, 14 Mar 2022 06:49:49 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7546B1E3CF; Mon, 14 Mar 2022 03:48:39 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0B7E3106F; Mon, 14 Mar 2022 03:48:39 -0700 (PDT) Received: from [10.163.33.185] (unknown [10.163.33.185]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 80CDB3F99C; Mon, 14 Mar 2022 03:48:32 -0700 (PDT) Message-ID: <29ab721c-10bd-68e7-a1e0-8564e60f7584@arm.com> Date: Mon, 14 Mar 2022 16:18:35 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH V3 05/10] perf: Add PERF_BR_NEW_ARCH_[N] map for BRBE on arm64 platform Content-Language: en-US To: kernel test robot , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, peterz@infradead.org, acme@kernel.org Cc: kbuild-all@lists.01.org, Suzuki Poulose , James Clark , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Will Deacon , linux-arm-kernel@lists.infradead.org References: <20220314055857.125421-6-anshuman.khandual@arm.com> <202203141608.b9LFCtgv-lkp@intel.com> From: Anshuman Khandual In-Reply-To: <202203141608.b9LFCtgv-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/14/22 14:07, kernel test robot wrote: >>> error: include/uapi/linux/perf_event.h: leak CONFIG_ARM64 to user-space > make[2]: *** [scripts/Makefile.headersinst:63: usr/include/linux/perf_event.h] Error 1 > make[2]: Target '__headers' not remade because of errors. > make[1]: *** [Makefile:1277: headers] Error 2 > make[1]: Target 'prepare' not remade because of errors. > make: *** [Makefile:219: __sub-make] Error 2 > make: Target 'prepare' not remade because of errors. I should have avoided CONFIG_ARM64 in the the header file which gets duplicated for tools/include/.. Looking at this once again, platform build wrappers are not really required for these arch overrides. These arm64 branch types can co-exist with any other platform overrides when they get added later on. Just that the branch type nomenclature should include the platform name some where. Something like .. PERF_BR__ #define PERF_BR_ARM64_FIQ PERF_BR_NEW_ARCH_1 #define PERF_BR_ARM64_DEBUG_HALT PERF_BR_NEW_ARCH_2 #define PERF_BR_ARM64_DEBUG_EXIT PERF_BR_NEW_ARCH_3 #define PERF_BR_ARM64_DEBUG_INST PERF_BR_NEW_ARCH_4 #define PERF_BR_ARM64_DEBUG_DATA PERF_BR_NEW_ARCH_5 Will do this change next time around. - Anshuman 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 6E1D4C433EF for ; Mon, 14 Mar 2022 10:49:50 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nszgqER9NkAzMf+a0PmXU6fiI2255HBdYyHK1OlLBN0=; b=NrvmZawby3QpqV WoInJ/IRj7ZpKKj/jr2tRpV1G+V7Dsc7nqr20PqOTkB1bG8frs9jOiySunqWMGXB6X63mtq3SYz/y UGQM/uG82OUvRBYB2ZRDgAyST7Z1OWXbRbabLFvp1Lmsds9qYYmpMTu3oaTwYJ5PfBuOlyKDLvdF2 5CxzwTJXwt1prHanF+OTJxWZpoZzYrMcu4UbFZPqqzwNV6TGxRe0qhr5od25gmlKNReSEo1aXiIOQ x/uY8MoVr8gZafvzk0EREQoGo8hHThV1iIxqROgoRDIXO7WQoBZ1eA6uN84qpMIfynHqJb5KbgU6L FzdQA/+bZkS1/IXMD3hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTiFq-00527K-HW; Mon, 14 Mar 2022 10:48:46 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTiFk-00525O-MJ for linux-arm-kernel@lists.infradead.org; Mon, 14 Mar 2022 10:48:44 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0B7E3106F; Mon, 14 Mar 2022 03:48:39 -0700 (PDT) Received: from [10.163.33.185] (unknown [10.163.33.185]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 80CDB3F99C; Mon, 14 Mar 2022 03:48:32 -0700 (PDT) Message-ID: <29ab721c-10bd-68e7-a1e0-8564e60f7584@arm.com> Date: Mon, 14 Mar 2022 16:18:35 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH V3 05/10] perf: Add PERF_BR_NEW_ARCH_[N] map for BRBE on arm64 platform Content-Language: en-US To: kernel test robot , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, peterz@infradead.org, acme@kernel.org Cc: kbuild-all@lists.01.org, Suzuki Poulose , James Clark , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Will Deacon , linux-arm-kernel@lists.infradead.org References: <20220314055857.125421-6-anshuman.khandual@arm.com> <202203141608.b9LFCtgv-lkp@intel.com> From: Anshuman Khandual In-Reply-To: <202203141608.b9LFCtgv-lkp@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220314_034840_846283_AFF1DB30 X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. 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 3/14/22 14:07, kernel test robot wrote: >>> error: include/uapi/linux/perf_event.h: leak CONFIG_ARM64 to user-space > make[2]: *** [scripts/Makefile.headersinst:63: usr/include/linux/perf_event.h] Error 1 > make[2]: Target '__headers' not remade because of errors. > make[1]: *** [Makefile:1277: headers] Error 2 > make[1]: Target 'prepare' not remade because of errors. > make: *** [Makefile:219: __sub-make] Error 2 > make: Target 'prepare' not remade because of errors. I should have avoided CONFIG_ARM64 in the the header file which gets duplicated for tools/include/.. Looking at this once again, platform build wrappers are not really required for these arch overrides. These arm64 branch types can co-exist with any other platform overrides when they get added later on. Just that the branch type nomenclature should include the platform name some where. Something like .. PERF_BR__ #define PERF_BR_ARM64_FIQ PERF_BR_NEW_ARCH_1 #define PERF_BR_ARM64_DEBUG_HALT PERF_BR_NEW_ARCH_2 #define PERF_BR_ARM64_DEBUG_EXIT PERF_BR_NEW_ARCH_3 #define PERF_BR_ARM64_DEBUG_INST PERF_BR_NEW_ARCH_4 #define PERF_BR_ARM64_DEBUG_DATA PERF_BR_NEW_ARCH_5 Will do this change next time around. - Anshuman _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2376905983144454100==" MIME-Version: 1.0 From: Anshuman Khandual To: kbuild-all@lists.01.org Subject: Re: [PATCH V3 05/10] perf: Add PERF_BR_NEW_ARCH_[N] map for BRBE on arm64 platform Date: Mon, 14 Mar 2022 16:18:35 +0530 Message-ID: <29ab721c-10bd-68e7-a1e0-8564e60f7584@arm.com> In-Reply-To: <202203141608.b9LFCtgv-lkp@intel.com> List-Id: --===============2376905983144454100== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 3/14/22 14:07, kernel test robot wrote: >>> error: include/uapi/linux/perf_event.h: leak CONFIG_ARM64 to user-space > make[2]: *** [scripts/Makefile.headersinst:63: usr/include/linux/perf_= event.h] Error 1 > make[2]: Target '__headers' not remade because of errors. > make[1]: *** [Makefile:1277: headers] Error 2 > make[1]: Target 'prepare' not remade because of errors. > make: *** [Makefile:219: __sub-make] Error 2 > make: Target 'prepare' not remade because of errors. I should have avoided CONFIG_ARM64 in the the header file which gets duplicated for tools/include/.. Looking at this once again, platform build wrappers are not really required for these arch overrides. These arm64 branch types can co-exist with any other platform overrides when they get added later on. Just that the branch type nomenclature should include the platform name some where. Something like .. PERF_BR__ #define PERF_BR_ARM64_FIQ PERF_BR_NEW_ARCH_1 #define PERF_BR_ARM64_DEBUG_HALT PERF_BR_NEW_ARCH_2 #define PERF_BR_ARM64_DEBUG_EXIT PERF_BR_NEW_ARCH_3 #define PERF_BR_ARM64_DEBUG_INST PERF_BR_NEW_ARCH_4 #define PERF_BR_ARM64_DEBUG_DATA PERF_BR_NEW_ARCH_5 Will do this change next time around. - Anshuman --===============2376905983144454100==--