Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4932601iog; Wed, 22 Jun 2022 08:33:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vTdiYkTQNCVNg6B0xbSUEJz6nv975D6G6ODq8hcKodgwrSutSu65hcPCqNfj9hHJIOylmL X-Received: by 2002:a17:90b:4a0a:b0:1ec:bd8d:a128 with SMTP id kk10-20020a17090b4a0a00b001ecbd8da128mr13319850pjb.67.1655912000317; Wed, 22 Jun 2022 08:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655912000; cv=none; d=google.com; s=arc-20160816; b=WYr3ADAcNg6f/syGTbb+Z69jJlYzFSs5en8TDqmn6Wt3V4T5toxb6qDAVxuGKOYv4R 5os2KrnIe2X+YnFefSkrCDIKC9aSHBexp5xTK9YLdufvnfdanXzoURcLBLHU6zNXbYR5 FuFc3m6+EdtXnslktoyGh1vJUv0tdGvgLZeuBPVWQq+nafAaoqfU+nH95RTDVAUxyUYK sXoTOqnIf9L7HEY2RGvIiHqXyjwm1WSluGqee68MtijCpiNr/a5TOUjyW+4oWfB+jjEI ArBX6PySpEmV4Aam2qqbvuggv1/ZtJUKCsWJWqi3ykMWFTxnZW9UZthGPNzxZRu/35TW 0s2w== 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=Tj6ialx0mTHwGcoy2qh8w2OLt6N4fJrgyT81ZUC/IEU=; b=XEtuUOMFtOJGVtDOyld/FinQb7BSKMzHWvmh9JVoD1iQjEgFezjC9Y6dOLKbAczCmy cJsTgQy7gv070F4v0MhdHieY1MoFckVyqn/mG9Yuec/A6R3IUlntbHM5LtSvRvCYcoTs YhcZLqlAj1tVISUoW97cIFYP8AhfK4C0NzEVESNY4ujRVh8YoSDZ/O5g8Oz+urjti4Y7 J2We8Q0lontk00+sZ+S6c+j3hZ63FzIdhAjD9f0Vi0o+z2YK65RqnRZ99/N8wQLgjSzI 3tg9h0VT2jklGnK9gBlsXKm4y9YthIQK4U6WSm0wFFYNKagmaIjXnCedA3VWW+BwWkTV rBKw== 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 h2-20020a170902748200b00163e31eb390si16620578pll.280.2022.06.22.08.33.05; Wed, 22 Jun 2022 08:33:20 -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 S1358596AbiFVOth (ORCPT + 99 others); Wed, 22 Jun 2022 10:49:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358184AbiFVOtL (ORCPT ); Wed, 22 Jun 2022 10:49:11 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A1323DDE5 for ; Wed, 22 Jun 2022 07:49:08 -0700 (PDT) Received: from fraeml738-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4LSmV00NqVz689nQ; Wed, 22 Jun 2022 22:48:40 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml738-chm.china.huawei.com (10.206.15.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 22 Jun 2022 16:49:06 +0200 Received: from [10.202.227.197] (10.202.227.197) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 22 Jun 2022 15:49:05 +0100 Message-ID: Date: Wed, 22 Jun 2022 15:49:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [aarch64] INFO: rcu_sched detected expedited stalls on CPUs/tasks To: Bruno Goncalves CC: Pierre Gondois , , LKML , CKI Project , Ionela Voinescu , Dietmar Eggemann References: <99a207dc-93cd-1bea-2ffc-404a9f6587bf@arm.com> <90175f7e-0a2f-c83d-6fb5-916f885bbe81@huawei.com> From: John Garry In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.197] X-ClientProxiedBy: lhreml734-chm.china.huawei.com (10.201.108.85) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On 22/06/2022 15:40, Bruno Goncalves wrote: Hi Bruno, > With the config change that does not set > CONFIG_RCU_EXP_CPU_STALL_TIMEOUT the problem seems to be fixed for us. > The newer Fedora kernels already have the config fixed. > OK, thanks for the info. Well those debug options I enabled didn't cause problems previously. I'll see if it is one in particular and go from there. > >> On v5.19-rc3 I just enabled some debug configs on a vanilla kernel and >> can easily reproduce a RCU stall on boot, as below. >> >> CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0 for me, that being the default. >> >> Table To iBMC Success. >> GetVariable Status : Not Found. >> [ 0.000000] Booting Linux on physical CPU 0x0000010000 [0x410fd082] >> [ 0.000000] Linux version 5.19.0-rc3-00001-gd8610c1c16e8 >> (john@debian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU >> Binutils for Debian) 2.37) #187 SMP PREEMPT Wed Jun 22 14:08:56 BST 2022 >> [ 0.000000] Machine model: Hisilicon PhosphorV660 Development Board >> [ 0.000000] efi: EFI v2.60 by EDK II >> [ 0.000000] efi: SMBIOS=0x3eff0000 SMBIOS 3.0=0x39aa0000 >> ACPI=0x39b70000 ACPI 2.0=0x39b70014 MEMATTR=0x3b8d0018 >> MEMRESERVE=0x3a002d18 Thanks!