From nobody Fri Nov 29 11:50:54 2024 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 230A41C69D for ; Fri, 20 Sep 2024 07:59:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726819181; cv=none; b=WrAVkGYHWK/9kiub/a5emBkssVF2wj5AKrxZYjmTCxJ3i4WUJoOVTKpGPvMlBqXkv5PT7S6/7QYlHt0iWcLMRP4se4zURrjY8sDlEPJy0Gs84kMOIQRFbS6DqstLeI+Xh+yQg5j4JUFxDirDw0BQdznYn+Xr9Gem/NdLwo/jtEs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726819181; c=relaxed/simple; bh=w5G1Ij17lPfi/hJo1VP7d1tAYF0lUuqiaXscYX+oGdE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Oy7UGK+dvpYiLdDUwpFsHsZw65KZet0R8ke2pzxxmDw+lNXJhWjZSGSvoxRBuD+++HSi9SujmUYRzOVo0Y84Ffy5A470jDtaQin8Xu8cPBZ0Cxe1VHi1BQ0EKSzcDwcm4nYItolv69vGnY5fMixrSbAK9Qn+ExPmIHvJQRVj5Hs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=HDNu5Q3+; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="HDNu5Q3+" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48JJ401R003647; Fri, 20 Sep 2024 07:59:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=DfTs2mGlvWQtriez7XKGqw RwsAlEuvGslLCdZozCd8o=; b=HDNu5Q3+Itk32JGUum8lVXn9dBKc7mj6UKw7vV rEQ+h50KXfH1j8Uy3bXv3WFUCdSZaq9pUe2JDLpFUF5apq+NauZ8ALqIwXLDE63o Zm3ZrsSuXPZVsfHCrGGHSBBs24qRgrBKlwyKAoJUpBPx/yfmoWgMOYubBGWOtIWZ rDwYb7fJ7QvUUH6ACIEA7wbSUrZvlysl8R5zftfn2DQBlKz3FYC4DFs6p0CaN99S 46agEofa8RVDpxJ0RS0hcLobQ/MwjRkXswVS+sJLeV7b+LL2OlR0U/vim/m1BjN3 Vz5NcWQJWvqYkBc1TORpcfug6cKtImXM3EWHZMhbSaVDPH7A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 41n4hf88b0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Sep 2024 07:59:22 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 48K7xLB4015492 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Sep 2024 07:59:21 GMT Received: from hu-jinlmao-lv.qualcomm.com (10.49.16.6) 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; Fri, 20 Sep 2024 00:59:21 -0700 From: Mao Jinlong To: Catalin Marinas , Will Deacon , Bjorn Andersson , Geert Uytterhoeven , Dmitry Baryshkov , Krzysztof Kozlowski , Neil Armstrong , Arnd Bergmann , =?UTF-8?q?=27N=C3=ADcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado=27?= CC: Mao Jinlong , , Subject: [PATCH v1] arm64: defconfig: Enable Ftrace and STM configs Date: Fri, 20 Sep 2024 00:59:03 -0700 Message-ID: <20240920075905.19441-1-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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-ORIG-GUID: 2d_a89At265j1FwTzpXSVOrrAJPn_YI7 X-Proofpoint-GUID: 2d_a89At265j1FwTzpXSVOrrAJPn_YI7 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 priorityscore=1501 mlxscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 mlxlogscore=760 adultscore=0 malwarescore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2409200055 Content-Type: text/plain; charset="utf-8" Ftrace logs can be captured by STM over TMC sink path. We can enable ftrace logs along with HW trace of coresight component. The timestamp of ftrace logs and hw traces will be in sync which helps to debug. Signed-off-by: Mao Jinlong --- arch/arm64/configs/defconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 4a3999eefa67..c0a56e58e554 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1554,6 +1554,12 @@ CONFIG_NVMEM_SNVS_LPGPR=3Dy CONFIG_NVMEM_SPMI_SDAM=3Dm CONFIG_NVMEM_SUNXI_SID=3Dy CONFIG_NVMEM_UNIPHIER_EFUSE=3Dy +CONFIG_STM_PROTO_BASIC=3Dm +CONFIG_STM_PROTO_SYS_T=3Dm +CONFIG_STM_DUMMY=3Dm +CONFIG_STM_SOURCE_CONSOLE=3Dm +CONFIG_STM_SOURCE_HEARTBEAT=3Dm +CONFIG_STM_SOURCE_FTRACE=3Dm CONFIG_FPGA=3Dy CONFIG_FPGA_MGR_ALTERA_CVP=3Dm CONFIG_FPGA_MGR_STRATIX10_SOC=3Dm @@ -1663,7 +1669,7 @@ CONFIG_DEBUG_INFO_REDUCED=3Dy CONFIG_MAGIC_SYSRQ=3Dy CONFIG_DEBUG_FS=3Dy # CONFIG_SCHED_DEBUG is not set -# CONFIG_FTRACE is not set +CONFIG_FTRACE=3Dy CONFIG_CORESIGHT=3Dm CONFIG_CORESIGHT_LINK_AND_SINK_TMC=3Dm CONFIG_CORESIGHT_CATU=3Dm --=20 2.46.0