From patchwork Thu Sep 22 14:24:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Clark X-Patchwork-Id: 12985236 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 D5AC6C54EE9 for ; Thu, 22 Sep 2022 14:25:36 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qq46+X4L1P4ikyojJiAB44+PIBtv7SMwQZ7OCKbxbSA=; b=NLUjhCuGENNxN9 UMugFA/n51+6gOyTcWKvNPfh0EVsbZt2dFS2+WKvXxP6L0VuVKOO5wFFk2PgBdsbUhrghjo5IBIn4 OZOS4C6EXyf60MBkR+eG8TGcdm6AbpnCSpues9E1W4Nk8H5/hhafprSkDwBy+COk2ufsZbPrkCFon mHqFKGYwqINyuvl9T7M4A0sQeExbHGn5BdM1wHxhZLuxr28/+opFLOhTsvJDZ0Ol0Y/oZd3vdpMc4 6KVm6xEGMxzT66nw9ilX+lbVRWnLzP6SXWy41CyKWidm0UZpsAQPdcZPep7CVa1d+BQQ769BYF6m9 Z2qdhtyh6U58q7p2nWyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1obN7w-00FzRt-9l; Thu, 22 Sep 2022 14:24:32 +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 1obN7f-00FzLX-Vb for linux-arm-kernel@lists.infradead.org; Thu, 22 Sep 2022 14:24:17 +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 3E21716F8; Thu, 22 Sep 2022 07:24:21 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.1.91]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7D00A3F73B; Thu, 22 Sep 2022 07:24:12 -0700 (PDT) From: James Clark To: coresight@lists.linaro.org, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org Cc: suzuki.poulose@arm.com, mathieu.poirier@linaro.org, mike.leach@linaro.org, leo.yan@linaro.org, broonie@kernel.org, linux-kernel@vger.kernel.org, James Clark , Will Deacon Subject: [PATCH v2 1/1] arm64: defconfig: Add Coresight as module Date: Thu, 22 Sep 2022 15:24:00 +0100 Message-Id: <20220922142400.478815-2-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220922142400.478815-1-james.clark@arm.com> References: <20220922142400.478815-1-james.clark@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220922_072416_093551_6D282220 X-CRM114-Status: UNSURE ( 9.18 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add Coresight to defconfig so that build errors are caught. CONFIG_CORESIGHT_SOURCE_ETM4X is excluded because it depends on CONFIG_PID_IN_CONTEXTIDR which has a performance cost. Signed-off-by: James Clark --- arch/arm64/configs/defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ef3467092ded..d699933cab45 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1340,4 +1340,12 @@ CONFIG_DEBUG_FS=y # CONFIG_SCHED_DEBUG is not set # CONFIG_DEBUG_PREEMPT is not set # CONFIG_FTRACE is not set +CONFIG_CORESIGHT=m +CONFIG_CORESIGHT_LINK_AND_SINK_TMC=m +CONFIG_CORESIGHT_CATU=m +CONFIG_CORESIGHT_SINK_TPIU=m +CONFIG_CORESIGHT_SINK_ETBV10=m +CONFIG_CORESIGHT_STM=m +CONFIG_CORESIGHT_CPU_DEBUG=m +CONFIG_CORESIGHT_CTI=m CONFIG_MEMTEST=y