From patchwork Wed Sep 21 14:05:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Clark X-Patchwork-Id: 12983774 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 C5ED6C32771 for ; Wed, 21 Sep 2022 14:07:08 +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=sORKs3QRtlRO/6L/syBmpji9nIMvs5PYKYGsv4H6w+M=; b=2mbvGq3sHPp9PB uKRr9Id9cTWW9q6av3WOsQesXSVH3Z0/r+lEzCSGZ2iVe5Skfq/tfpo1xsdwEY9bundWAi0Uranyy EUld2PXb/gicUNnpo2ikOQK+cJUBsY7x66T5TJAe5jwrPaspJisLCDvbl7JnL6ibpc8KOYtFbFnGr 78WWxenFPrdPwLj+92LL6KMuzykVYWn2WSyJlb7a/KRlsEcIkQd5R5czFlh91BQuwmiChspG4eozn YjJ17l+NqrvfRO8bEi4azB3eMAgLdROMVCPZlkuH1aiuQnVSfcBK/sBz238Z5DfhuoEm5v4fhlDgm aM56d7TPPv6Yj7usw5XQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ob0Ma-00BW1L-EM; Wed, 21 Sep 2022 14:06:08 +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 1ob0MJ-00BVuo-DH for linux-arm-kernel@lists.infradead.org; Wed, 21 Sep 2022 14:05:53 +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 2F3D81F02; Wed, 21 Sep 2022 07:05:56 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.15.63]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C764F3F73B; Wed, 21 Sep 2022 07:05:47 -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 1/1] arm64: defconfig: Add Coresight as module Date: Wed, 21 Sep 2022 15:05:35 +0100 Message-Id: <20220921140535.152627-2-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220921140535.152627-1-james.clark@arm.com> References: <20220921140535.152627-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-20220921_070551_551925_E319D589 X-CRM114-Status: UNSURE ( 9.20 ) 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ef3467092ded..c183914ab999 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1340,4 +1340,13 @@ 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_CORESIGHT_CTI_INTEGRATION_REGS=y CONFIG_MEMTEST=y