Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5340128rwi; Mon, 17 Oct 2022 19:59:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5g6wI2LjsxjogFz7w2rwLhw2kcVENgHkzOeO2yZuOwpwokPO3uGQMkMHHUL5Rdm025XZiO X-Received: by 2002:a17:907:1c98:b0:78d:3b08:33ef with SMTP id nb24-20020a1709071c9800b0078d3b0833efmr615892ejc.175.1666061961127; Mon, 17 Oct 2022 19:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666061961; cv=none; d=google.com; s=arc-20160816; b=W0N8OlG/BLRTjVWT9FQxAMIAhWclqCE0c4loBkMqH+/1eSwkspkCrIYfkG6sWBRjWL /NrBO0b0hzznGXrF+LohvSO0SzHKtxGuZlu2dvPpA7yme1n8qKPQnNlNL9ylcfTklkkp OrcrGUMLSZ5P684DdH5L/SN9B+/BYRMFz6kyfABsewMwDQJk6yTrUWdXCymNBfvP6X3K who46fX85O/fnQonVfmsCnFa5nMebPGnUmKCXjf/PpZS3uYFmemTBuT6MbymuDCnlnhw 5wyEFC310XUG4pV7MvTU9vsEQFCmJU3FkdH2M+cqJsr6j32cpfv49S95JE8CFyUQjorG AjAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:date:message-id:subject:from:cc:to; bh=T+QNAmEXeAMPZtqTtd2M0W4p7Q5Hrg6BKULd3KK65Sw=; b=PjrgrXpcYmeCKSH0Rc1zsUgu24oSkr9giGSbZy2IxJ3uCYGk7AEMjbXVjQB5id/UPA rPYImLEwyJSDanofylb/qPoQPSlkkYGHlvGQG0RycHREHTYArIRShDZPT/Nd4ufotyz/ TBExa9Aj1Wf7YFich3Ug9vIBghNWRWhdhoduyXjmtDuzP1R316jZ6OM3Xfi8i4eYB67R 9ZhQ/R8/JHmngfdy8DiuGqqbAWOAXW9U6KhWQy47GNIgQ2r2h/cj8udbivEIXzQAIPrr Q999xq7rb1LQnelkJbjuHW31uLee7Oha5iyg39IPedgG6QIuKTMSfVszyKOZyquVCUnC OI5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt19-20020a170907729300b0077bd074d50bsi10372315ejc.105.2022.10.17.19.58.52; Mon, 17 Oct 2022 19:59:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231307AbiJRCHB (ORCPT + 99 others); Mon, 17 Oct 2022 22:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231271AbiJRCGo (ORCPT ); Mon, 17 Oct 2022 22:06:44 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 061B67B7AC for ; Mon, 17 Oct 2022 19:05:47 -0700 (PDT) Received: from dggpemm500020.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MrxxW5LR1zHv2H; Tue, 18 Oct 2022 10:04:15 +0800 (CST) Received: from dggpemm500002.china.huawei.com (7.185.36.229) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 18 Oct 2022 10:04:17 +0800 Received: from [10.174.179.5] (10.174.179.5) by dggpemm500002.china.huawei.com (7.185.36.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 18 Oct 2022 10:04:16 +0800 To: CC: , wanghuiqiang , "Linux Kernel Mailing List" , "linux-arm-kernel@lists.infradead.org" , , "Catalin Marinas" From: Xiongfeng Wang Subject: [Question] Question about supporting sysreg only CoreSight ETMv4.4 on ACPI machines Message-ID: <6e85db13-a65f-d4c6-1b6b-660a94cb7060@huawei.com> Date: Tue, 18 Oct 2022 10:04:16 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.5] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500002.china.huawei.com (7.185.36.229) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Suzuki We are testing CoreSight ETMv4.4 and TRBE recently. ETMv4.4 obsoletes memory mapped access to ETM and mandates the system registers. The following commit add driver for sysreg only devices, but it only support device tree. commit 5214b563588e8414193bd7a174c52350256942a6 coresight: etm4x: Add support for sysreg only devices ACPI machine can use 'ARMHC500' to report a ETM4x device. But the corresponding driver is etm4x_amba_driver. It needs memory resouces and doesn't support sysreg only device. Do we have some other way to use CoreSight ETMv4.4 on ACPI machines. Thanks a lot. Thanks, Xiongfeng