Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2766781imw; Wed, 6 Jul 2022 11:21:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sOuDW8hmZd5JIFvXHy6pQy1vcQgR+RSv3wzfFGeo5lwbfNDLj9d7GXZfI7gEoJ0qqNnsyQ X-Received: by 2002:a65:4c0b:0:b0:412:b114:5801 with SMTP id u11-20020a654c0b000000b00412b1145801mr1373717pgq.27.1657131705483; Wed, 06 Jul 2022 11:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657131705; cv=none; d=google.com; s=arc-20160816; b=giKfzU1h05iFT2TSzqW2EhUln5Umk8GPhYm8MYaT9u75p1OKOmvrumeuVSBApaXylo WNlq0588RlIK1k9KgryALDF2IudPWppHeNxGeU4JmX8j6NPcrHTsCXm9vzP3YFBuTuXj vT8fvPEJd3P18gTEGm/TSx0r+ur/Y61rrms7h9zJP90pVB7GBwEaNHGuxRZN5HCwVHG8 Wd2CNErzCSsS185RJv00YGfztIVU4oOSPk7WXhuR0J7odfz+S56forl9gcDDJDu7sjSN xxqBoi+RD5oAGA8DQq/9Ph95a9/v3FOfHt3c0hpZwhn+qqdLKfZFIF/iToxwAlc18XJz LROQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=Tdf7ASxlbaDXe3UntpbJmcyMVIZx89GElFlVDq70G1E=; b=oErXGlrHFyNYQiuHe0GcqCDNSauOCs/r5ken+vDVNVuKKoAEK3JC20nAcfPnn7ELF4 PfZI2OPP1hP4K99PJAHl08fGm5R/jBqySVKTCxFIFOC+zolCSNeLvsAdddNwun/2Cj5z UsT6hbtk7uFdW2iAXiGL2rahmvgSsX2xwhYxkaO0srM6p1OiXGWVy1W9L1LzxayMHXdf MaqsMVgyb+KwxB8lu2ck4Rm1yR8SH2AI0BaeDbP+VrWu+xM2pFXiauQSsMK8yfcgs1DU Dw6k0v1xRS3LCmg220U2gqJsKk2zYDvPcTckAlUOe2KlsUQSfU5mzwGLH9anyHry9JWn UT4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=av5EmNC6; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pc7-20020a17090b3b8700b001ecd1423affsi203657pjb.1.2022.07.06.11.21.33; Wed, 06 Jul 2022 11:21:45 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=av5EmNC6; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233964AbiGFRs2 (ORCPT + 99 others); Wed, 6 Jul 2022 13:48:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233957AbiGFRs0 (ORCPT ); Wed, 6 Jul 2022 13:48:26 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A25C16423; Wed, 6 Jul 2022 10:48:25 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id s14so19406173ljs.3; Wed, 06 Jul 2022 10:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Tdf7ASxlbaDXe3UntpbJmcyMVIZx89GElFlVDq70G1E=; b=av5EmNC6KScDiSo3yZRxHh1JjVtGq58I72zcmjOS/GbgnhP9d8NL1M67W6AdDXWLBO smYrB5PVGshhhGcB3EOvl0VKQhQYBBZv45doGDeTc8aiualcqa94FJFkRbbZooofaXAR bXGL5bjfGNorBvl4Q/qYWvyzPb6qAA2SDjlNyda8uXSK9XxPxrO58pcJ14Td10bg1KFW EyHDqu5L8ZKn1kKjOWPdFbdL7k8qhfZbOZPv9OzdKlPYVeO2Q3u7kUhwgFhnQbQx+eVg 9c74CIJZQE0C/YfHhRoBDFamJEMO/uldYuzvtYJC25qCRRqrPPcME4kMgAOeMfhB8wyR ZbiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Tdf7ASxlbaDXe3UntpbJmcyMVIZx89GElFlVDq70G1E=; b=1n4k+URhVRTbPm3KEzfGe1BnIj9tx/9yWGD+D51847r9HonJlIdxK359Iw3l6JQ+Od e79zGd4DlNcmAq6Eq9RbRkr8BilA+IGVnOu7ZCygj/8ICVBk3ZdzVQxCT8uQcFEfJpCB MiM73k9KN82pW4OlWBPLm8LwdfpYsyaGAiCjTvwn3w4nAF4dT3x17Tb+TWXHPc3G2JXf +MymdRjY9LRZ4/llJAIeummsods+yx5GNTm/sytp0EjJYbqqsS6UpD6JNz7dueTtYBn1 B64sQOCRnVerZ9XEXBWkqs5aLsoEr/ESEPdPcWvXYrzf+aB/X50E4FGa1A7kFhXBDuGU a6GA== X-Gm-Message-State: AJIora/el513DMMRdlueaZmbUohmZaasu4u7pGIAY4HQvC87+/GcWaEW BFF+hf3goM/Mzzq1Sm/zQ50= X-Received: by 2002:a2e:9808:0:b0:25a:a30c:e5cb with SMTP id a8-20020a2e9808000000b0025aa30ce5cbmr24645544ljj.312.1657129703858; Wed, 06 Jul 2022 10:48:23 -0700 (PDT) Received: from pc638.lan ([155.137.26.201]) by smtp.gmail.com with ESMTPSA id c2-20020ac25f62000000b00478f3fe716asm6387536lfc.200.2022.07.06.10.48.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 10:48:22 -0700 (PDT) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Wed, 6 Jul 2022 19:48:20 +0200 To: Christian =?utf-8?B?S8O2bmln?= Cc: Uladzislau Rezki , "Alex Xu (Hello71)" , wireguard@lists.zx2c4.com, "Jason A. Donenfeld" , Joel Fernandes , paulmck@kernel.org, Greg Kroah-Hartman , Xinhui.Pan@amd.com, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Suren Baghdasaryan , rcu@vger.kernel.org, Hridya Valsaraju , Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= , Theodore Ts'o , alexander.deucher@amd.com, Todd Kjos , uladzislau.rezki@sony.com, Martijn Coenen , Christian Brauner Subject: Re: CONFIG_ANDROID (was: rcu_sched detected expedited stalls in amdgpu after suspend) Message-ID: References: <1656357116.rhe0mufk6a.none.ref@localhost> <1656357116.rhe0mufk6a.none@localhost> <20220627204139.GL1790663@paulmck-ThinkPad-P17-Gen-1> <1656379893.q9yb069erk.none@localhost> <20220628041252.GV1790663@paulmck-ThinkPad-P17-Gen-1> <1656421946.ic03168yc3.none@localhost> <20220628185437.GA1790663@paulmck-ThinkPad-P17-Gen-1> <1656443915.mdjoauhqe0.none@localhost> <79c6ad70-47d9-47fe-4bb4-33fcf356dd37@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <79c6ad70-47d9-47fe-4bb4-33fcf356dd37@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hello. On Mon, Jul 04, 2022 at 01:30:50PM +0200, Christian König wrote: > Hi guys, > > Am 28.06.22 um 22:11 schrieb Uladzislau Rezki: > > > Excerpts from Paul E. McKenney's message of June 28, 2022 2:54 pm: > > > > All you need to do to get the previous behavior is to add something like > > > > this to your defconfig file: > > > > > > > > CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=21000 > > > > > > > > Any reason why this will not work for you? > > sorry for jumping in so later, I was on vacation for a week. > > Well when any RCU period is longer than 20ms and amdgpu in the backtrace my > educated guess is that we messed up some timeout waiting for the hw. > > We usually do wait a few us, but it can be that somebody is waiting for ms > instead. > > So there are some todos here as far as I can see and It would be helpful to > get a cleaner backtrace if possible. > Actually CONFIG_ANDROID looks like is going to be removed, so the CONFIG_RCU_EXP_CPU_STALL_TIMEOUT will not have any dependencies on the CONFIG_ANDROID anymore: https://lkml.org/lkml/2022/6/29/756 -- Uladzislau Rezki