Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp198805iol; Thu, 9 Jun 2022 01:54:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb0VLBhk1AF16HRNE4+SgllcdPogZ2MPKbYPpN1v89ncWbOfGPh6KM0cQp4KCFa0JXZbwC X-Received: by 2002:a17:90a:408f:b0:1d1:d1ba:2abb with SMTP id l15-20020a17090a408f00b001d1d1ba2abbmr2380595pjg.152.1654764891177; Thu, 09 Jun 2022 01:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654764891; cv=none; d=google.com; s=arc-20160816; b=jM8py1SpjBoC8VlPbDM6NOKHlO4TXNEVRmz6yfBpm9lCa5jCWVx0tol/Iq1MuThY8K v9no2YCJLf2fjoI8auHPv/vZbG0Zw/uKOgi06/NxjmKsNc8rEGcBvZuZA2fu/OA5azR5 /DOjxlSvsHlOO7xjNWVi2ySC8j17S89fePHsy9nXjUgTBlMKwSoGaqV/OVtit+TqrAzG U0SVoGOEyFSO0zUHkCJvzL9MrIzcsSU9f7uArQlODqme2HqNTvAM3bp0eWMSzlgG1iMm Rr9DGEymMRw/hgm10a0ASJkPHOcuKZVXycBgv+/3SfP+VYzS1Gr3L/Re4S1AFM2QZt81 pZEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=XygTwj2CUbidDnJZverTV2sMq7i/93BPbsrKwLhJ07s=; b=GbVcKFFuqH7+lVz9quOcdyDatbquevqv8qgfZjPtevLLm3385a6uWOzsqz8HVS3KSD my9sIPiiTAB8mOzIh+kTBQ7ZwkfvZalKeKe39V6Oj82RgzKwVMLdLpWg53FFC9hcimV0 epn9Xz8J9QxvW65xXX/DWYd4+KqkVUyshGl9vESh3Lc/1uPPv/WUn4b3YiDYi1FYbft7 zXREQ4IHoMLevfj9TZmKmV0mC/h9xgwfQ0ZzDKiVy1qB9mC1L+YXueI8/FeI1IswBLQE wX33xn4SsrlgtDnhsZLgzBGjDzhEjoUOavVwx0zgP30Z7Cn5FuiksLfVgCB+AzbnZ7Nt SOyA== 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=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020aa78489000000b00518984386efsi4670062pfn.318.2022.06.09.01.54.38; Thu, 09 Jun 2022 01:54:51 -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=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240237AbiFIHpU (ORCPT + 99 others); Thu, 9 Jun 2022 03:45:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbiFIHpQ (ORCPT ); Thu, 9 Jun 2022 03:45:16 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 19CD2BE1D for ; Thu, 9 Jun 2022 00:45:15 -0700 (PDT) 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 CE28212FC; Thu, 9 Jun 2022 00:45:14 -0700 (PDT) Received: from [10.57.83.222] (unknown [10.57.83.222]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 38DFC3F66F; Thu, 9 Jun 2022 00:45:12 -0700 (PDT) Message-ID: Date: Thu, 9 Jun 2022 08:45:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [aarch64] [coresight_etm4x] [kernel 5.19.0-rc1] coresight-etm4x: probe of ARMHC500:20 failed with error -17 To: Mathieu Poirier , Bruno Goncalves Cc: LKML , linux-arm-kernel@lists.infradead.org, CKI Project , coresight@lists.linaro.org References: <20220608155512.GA951633@p14s> From: Suzuki K Poulose In-Reply-To: <20220608155512.GA951633@p14s> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 Bruno On 08/06/2022 16:55, Mathieu Poirier wrote: > CC'ing the coresight mailing list and maintainers. > > On Wed, Jun 08, 2022 at 03:20:12PM +0200, Bruno Goncalves wrote: >> Hello, >> >> We recently started to hit this call trace when loading the >> coresight-etm4x module. >> >> [ 78.683475] coresight etm103: CPU103: etm v4.1 initialized >> [ 78.683645] sysfs: cannot create duplicate filename >> '/devices/system/container/ACPI0004:00/ARMHC9FE:00/funnel0/connections/in:0' >> [ 78.683650] CPU: 17 PID: 2522 Comm: systemd-udevd Not tainted 5.19.0-rc1 #1 >> [ 78.683653] Hardware name: HPE Apollo 70 /C01_APACHE_MB >> , BIOS L50_5.13_1.16 07/29/2020 >> [ 78.683655] Call trace: Please could you confirm that there are no duplicate entries for the Graph connection for funnel0 (ARMHC9FE:00) input port 0 ? This looks like an issue in the ACPI table. The failing ETM ACPI table describes the output port connection to the funnel0 inport 0 which I believe is connected to a different ETM that has been already probed. Does the system boot fine with the warning ? If yes, please could you check the existing link for "funnel0, in:0" ? Suzuki >> [ 78.683657] dump_backtrace+0xc4/0x130 >> [ 78.683665] show_stack+0x24/0x70 >> [ 78.683668] dump_stack_lvl+0x64/0x80 >> [ 78.683673] dump_stack+0x18/0x34 >> [ 78.683676] sysfs_warn_dup+0x70/0x90 >> [ 78.683681] sysfs_do_create_link_sd+0x13c/0x144 >> [ 78.683683] sysfs_create_link_sd+0x20/0x30 >> [ 78.683685] sysfs_add_link_to_group+0x48/0x74 >> [ 78.683688] coresight_add_sysfs_link+0xa4/0x114 [coresight] >> [ 78.683705] coresight_make_links+0x98/0xdc [coresight] >> [ 78.683714] coresight_register+0x1d4/0x3cc [coresight] >> [ 78.683721] etm4_probe+0x1e0/0x334 [coresight_etm4x] >> [ 78.683729] etm4_probe_amba+0x44/0xa0 [coresight_etm4x] >> [ 78.683735] amba_probe+0x11c/0x1b0 >> [ 78.683741] really_probe+0x19c/0x3f0 >> [ 78.683747] __driver_probe_device+0x11c/0x190 >> [ 78.683749] driver_probe_device+0x44/0xf4 >> [ 78.683753] __driver_attach+0xd8/0x1b4 >> [ 78.683756] bus_for_each_dev+0x6c/0xb0 >> [ 78.683758] driver_attach+0x30/0x40 >> [ 78.683761] bus_add_driver+0x154/0x240 >> [ 78.683763] driver_register+0x84/0x140 >> [ 78.683765] amba_driver_register+0x30/0x44 >> [ 78.683768] etm4x_init+0xd8/0x1000 [coresight_etm4x] >> [ 78.683775] do_one_initcall+0x40/0x220 >> [ 78.683778] do_init_module+0x50/0x1f4 >> [ 78.683782] load_module+0x940/0xaf0 >> [ 78.683783] __do_sys_finit_module+0x9c/0xfc >> [ 78.683785] __arm64_sys_finit_module+0x2c/0x40 >> [ 78.683787] invoke_syscall+0x50/0x120 >> [ 78.683790] el0_svc_common.constprop.0+0xd4/0xf4 >> [ 78.683792] do_el0_svc+0x38/0x4c >> [ 78.683794] el0_svc+0x34/0xd0 >> [ 78.683797] el0t_64_sync_handler+0x11c/0x150 >> [ 78.683799] el0t_64_sync+0x190/0x194 >> [ 78.725063] coresight-etm4x: probe of ARMHC500:20 failed with error -17 >> >> console log: https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/06/07/558044095/redhat:558044095_aarch64/tests/Boot_test/12104911_aarch64_1_test_console.log >> >> more logs: https://datawarehouse.cki-project.org/kcidb/tests/3797753 >> cki issue tracker: https://datawarehouse.cki-project.org/issue/1261 >> >> kernel config: http://s3.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/06/07/558044095/redhat:558044095/redhat:558044095_aarch64/.config >> >> Thanks, >> Bruno Goncalves >> >> >> _______________________________________________ >> linux-arm-kernel mailing list >> linux-arm-kernel@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel