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 C9B43C433EF for ; Wed, 25 May 2022 15:12:54 +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-Type: Content-Transfer-Encoding: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=mcsHRdwUdV66qGwbHLJ6bN3ypiPB6k/xB5+nqdeGAA8=; b=TDp5Pagvun/LWP 1M0eGBGlMHeh5ueTUGGaRFBza1reRkwFM3ciVP129KR4TsrSDATsbsZvypiyFiD/P+cA6udihrq94 uRbEx0haPxpO5zb90y8Uo8oAc31GpNTQOtZL5xygx+C4gj8eV4lrrtYp5+7e8xKpbR6qy5IG+47ru vSOee+MPytiTnNMklI7nAAP1KLoyVDU1DCapqhV3jkzVy3k3mxBP0A5zdgaWX7jNqylM+cIilnYwA ihRGI6ozIcH9DZzJHodTEgyd1czqrLiyqdL2YjlTlhs+WJSnzhkIJU//1P75bNdWE6zvw0LQQw1XV PoTpjZEbCJtt5Ii6i2Tw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntsfh-00BWN5-3R; Wed, 25 May 2022 15:11:37 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntsfa-00BWH0-IB for linux-arm-kernel@lists.infradead.org; Wed, 25 May 2022 15:11:32 +0000 Received: from fraeml740-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4L7ZJS2Ww8z67tkx; Wed, 25 May 2022 23:10:48 +0800 (CST) Received: from lhreml741-chm.china.huawei.com (10.201.108.191) by fraeml740-chm.china.huawei.com (10.206.15.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 25 May 2022 17:11:19 +0200 Received: from [10.199.170.112] (10.199.170.112) by lhreml741-chm.china.huawei.com (10.201.108.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 25 May 2022 16:11:06 +0100 Message-ID: <853b6d52-da86-1c06-3604-3085ece331a4@huawei.com> Date: Wed, 25 May 2022 18:10:51 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v2] coresight: etm4x: Add Support for HiSilicon ETM device Content-Language: en-US To: Qi Liu , , , , CC: , , , , Alexey Budankov References: <1597323562-3706-1-git-send-email-liuqi115@huawei.com> From: Alexei Budankov In-Reply-To: <1597323562-3706-1-git-send-email-liuqi115@huawei.com> X-Originating-IP: [10.199.170.112] X-ClientProxiedBy: saopeml500003.china.huawei.com (7.184.65.141) To lhreml741-chm.china.huawei.com (10.201.108.191) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220525_081130_790916_7C986FCF X-CRM114-Status: GOOD ( 12.99 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Qi Liu, On 13.08.2020 15:59, Qi Liu wrote: > Add ETMv4 periperhal ID for HiSilicon Hip08 and Hip09 platform. Hip08 > contains ETMv4.2 device and Hip09 contains ETMv4.5 device. > > Signed-off-by: Qi Liu > --- > drivers/hwtracing/coresight/coresight-etm4x.c | 2 ++ > 1 file changed, 2 insertions(+) Thanks for your patch. I would like to test HiSilicon ETM device feature on Kunpeng 920 based server. I applied the patch and booted the kernel with the changes. However I don't see any device files neither here: /sys/bus/coresight/devices/ nor here: /sys/bus/event_source/devices/cs_etm/sinks/ What should a user expect new in os with this patch added? Thanks, Alexei > > diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c b/drivers/hwtracing/coresight/coresight-etm4x.c > index 6d7d216..7797a57 100644 > --- a/drivers/hwtracing/coresight/coresight-etm4x.c > +++ b/drivers/hwtracing/coresight/coresight-etm4x.c > @@ -1587,6 +1587,8 @@ static const struct amba_id etm4_ids[] = { > CS_AMBA_UCI_ID(0x000bb805, uci_id_etm4),/* Qualcomm Kryo 4XX Cortex-A55 */ > CS_AMBA_UCI_ID(0x000bb804, uci_id_etm4),/* Qualcomm Kryo 4XX Cortex-A76 */ > CS_AMBA_UCI_ID(0x000cc0af, uci_id_etm4),/* Marvell ThunderX2 */ > + CS_AMBA_UCI_ID(0x000b6d01, uci_id_etm4),/* HiSilicon-Hip08 */ > + CS_AMBA_UCI_ID(0x000b6d02, uci_id_etm4),/* HiSilicon-Hip09 */ > {}, > }; > > -- > 2.8.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel