From patchwork Mon Oct 21 09:03:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 13843739 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 0B35FD0E6D3 for ; Mon, 21 Oct 2024 09:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=idjSNcB2qQ5J14nefQeUT+GG3fTiDOIcmLy7nCwHmW0=; b=pLBvn+FWkTvJaVgtw1+J94bEzP oriAIDiABT/SAAp0wC6UD9qHfF8cJar2VOrg+UXQR3kuBRkdcWyP/mz04TqG93GP0GocTJpkv8pHs 1OAZICwm5mQx0ibfvqRXvV5wMmsKYUVfcZHipcNfcHE3sCHl6WcgirjH/Ts/5t974IZhBVfJLqdgC /Zrh55l5poSVukXrwcBI0v/IO8kMoU4RyU+8OBU3N5AbNArYT56yFNVmJnxm2MNtnM4PLtZyinGLL zWF6hrI3CfBu1NogCzlFWpV1vTdP3OcAPRWVxw77EBVGR8e21nKdhMGxn67F8kDtQuSrphGsPI4/e dVGqcuyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2oLt-00000006eOY-13uX; Mon, 21 Oct 2024 09:05:25 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2oKP-00000006eIa-4BxM for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 09:03:55 +0000 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49KMi8K4019347; Mon, 21 Oct 2024 09:03:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:message-id:mime-version:subject:to; s= qcppdkim1; bh=idjSNcB2qQ5J14nefQeUT+GG3fTiDOIcmLy7nCwHmW0=; b=Hu 8i5kkKFnQpMv/7Y2+ywUvRY54a2e3qA6BN0pYErKkdKT59sWgiRVVbVZlixKGgMI XvykQFnKjIk+soZNzMcdDBdEHAPGnE1nzfVmRaTI9zuKfBpEKckdjkiCtFvGwYAK s6q9Yzi5YPF38dwBg2rkAz8a8Qh121C78qe1CxkbwS1zy0PmNLknFUve9Y/+kTY+ NJtucG62TFO1FRs69JBhG+1sRnxmQoEr+IrIpCQkZiXc1R+9+d/FQI2Ahydma6ab NlivZoKOBgK4H3GVShTGur3m76CTO2jRGr8Xpb/WifAeJ6h9dq+ZiYeo491IqxLs WG1AkTgTZShaINlyY8tw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42c6vc40xq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 09:03:40 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49L93do2018074 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 09:03:39 GMT Received: from jinlmao-gv.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 21 Oct 2024 02:03:35 -0700 From: Mao Jinlong To: Catalin Marinas , Will Deacon , Bjorn Andersson , Geert Uytterhoeven , Dmitry Baryshkov , Krzysztof Kozlowski , Neil Armstrong , Arnd Bergmann CC: Mao Jinlong , , Subject: [PATCH v4] arm64: defconfig: Enable STM protocol and source configs Date: Mon, 21 Oct 2024 17:03:17 +0800 Message-ID: <20241021090317.5934-1-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: VFeqTwtGTy5m45-5cGyexubN-m4BTpEw X-Proofpoint-ORIG-GUID: VFeqTwtGTy5m45-5cGyexubN-m4BTpEw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1011 priorityscore=1501 impostorscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 phishscore=0 bulkscore=0 mlxscore=0 adultscore=0 mlxlogscore=557 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410210063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_020354_061743_B48AB43F X-CRM114-Status: GOOD ( 11.49 ) 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 COERSIGHT_STM config is enabled. Refer to Documentation/trace/stm.rst, to make software trace sources go through STM(System Trace Module), need to enable STP (System Trace Protocol) protocols and stm sources configs. With COERSIGHT_STM config, protocol configs and stm source configs, STM function will be fully functional. Signed-off-by: Mao Jinlong --- Changes in v4: - Remove Ftrace config. Changes in v3: - update commit message. Changes in v2: - select ftrace config explicitly. arch/arm64/configs/defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 5506dfaf1b5c..2079544f1b5b 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1564,6 +1564,11 @@ CONFIG_NVMEM_SNVS_LPGPR=y CONFIG_NVMEM_SPMI_SDAM=m CONFIG_NVMEM_SUNXI_SID=y CONFIG_NVMEM_UNIPHIER_EFUSE=y +CONFIG_STM_PROTO_BASIC=m +CONFIG_STM_PROTO_SYS_T=m +CONFIG_STM_DUMMY=m +CONFIG_STM_SOURCE_CONSOLE=m +CONFIG_STM_SOURCE_HEARTBEAT=m CONFIG_FPGA=y CONFIG_FPGA_MGR_ALTERA_CVP=m CONFIG_FPGA_MGR_STRATIX10_SOC=m