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 42EDFC433EF for ; Thu, 9 Jun 2022 07:46:44 +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=fTNtMN6/u1RxrzR1uu2xOD8/YxCI1a3ur6JMIgFuiN4=; b=LBSfr8xMju/C9/ KqixKQiewArvZ2E65bOTrSoPSN5Y9Px/+gvPsYpRTSK28A0dUK29MWnqqmvXelbrUVSwVwTE6wQK1 xErSZtd7PDI3mb7qvtoMwUFAKhVFJ6DpkYIqRV4zSr4ephUWGVewdotsTEm5p5TS9GI5YtmPE3vIQ 09AWJqsbi14daWDuAoepWunTslijNM38SdWU8KF0fuqGIbZLHflVuXePJYTmtZNm7er91+c1eEXfm g8tva4l8GAYFULspc77Fyol7GpN+XUD3ZGe4tjioX9dM9Vz+Oj5zeA4XzW3rqqMJYQ9aPrgTJZP/R u0vA4Se1sTKS3ULp9xug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzCr8-00HWYQ-JE; Thu, 09 Jun 2022 07:45:26 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzCr3-00HWVk-MC for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 07:45:24 +0000 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220609_004521_870868_6B92B901 X-CRM114-Status: GOOD ( 11.73 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel