Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4660764rdh; Wed, 29 Nov 2023 07:23:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9ykxa7EOOIeaQ5ZeiJ6Dee4BrJhR5oKKTUaFXruN/2YRgEtKB3JSvWHPraMr4LFzyJDro X-Received: by 2002:a05:6a21:1c8e:b0:188:444e:2b6c with SMTP id sf14-20020a056a211c8e00b00188444e2b6cmr18623338pzb.49.1701271403853; Wed, 29 Nov 2023 07:23:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701271403; cv=none; d=google.com; s=arc-20160816; b=tPtgKweZ4GbKb/Qq0REQc3T9ZKlXvIr3H1MIrGPEHY3/IGQ/YBJ8RSHCNeYIgN8mt5 REkWKvnCh2Ot5ykX61t3OB0xZRiC8e1eCbvfnjRvqLAUN2vI8uqc5FYsPO1ryvwI1MID BQtX/WYV5zTnkX8eRjTXsWYDl+iyJzZX8Vh1tq0G42iEtZ8/6LlCssPeMj/8eD/wKDrT DzCMKvzCY4OjjlJkuBB4la/XaMazQBtnv0f7f7T7hF3lkDHZRd1qqmFBG6wUFe3t+uaV otGZJ0FD9SizfS/Pnq+TzBxr5PbeHuWJNf4n6RYqwRFXLRtuzwwXNjFlt76Eurp45HGj LD8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=eCUywg88tT8nR8OAzlEKxFmQomFdBEbseNCKYUwF6z0=; fh=68H/AJZk0iBIHXB9z6NfVet8xEXfWAs71FyQbvdP1Qo=; b=0Zq7HqxtRc0DmCIXhg+b6G/v15jYZmKMigkUNZz4o1ukTmWV31J2yK127OiMDr6hrG Dc9JjIc6HR60gh1EO56MibVtkktSOH/ydbceNyneLnXjlYnhZ3r9NFUSiIMLzfVz2QKJ WCF2FkIwGp0T96goI2PbxBFfVebEC93G8LrX0pQ7y1QsQh80phDubHtbcl2GOj7GGMS1 s01vTCt8Z2trP89K8yy6DhH0QsuzZtQsU3LwzcMDaNZdpc9/0yl0n/5C8c5GVyUU/dZI oOW3vPP3bV1OCOE3Lr95KN/T1HmdpUuzyCn17fLBrK8Dd+6gn3MOcK3hRqms4EL7qyJC 25UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LDOpBzh5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h5-20020a056a00218500b006cda14566f1si4345116pfi.150.2023.11.29.07.23.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 07:23:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LDOpBzh5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0E1E68030297; Wed, 29 Nov 2023 07:23:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234865AbjK2PXL (ORCPT + 99 others); Wed, 29 Nov 2023 10:23:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234910AbjK2PXE (ORCPT ); Wed, 29 Nov 2023 10:23:04 -0500 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B80D7F for ; Wed, 29 Nov 2023 07:23:09 -0800 (PST) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-1fa21f561a1so2216410fac.3 for ; Wed, 29 Nov 2023 07:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701271389; x=1701876189; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eCUywg88tT8nR8OAzlEKxFmQomFdBEbseNCKYUwF6z0=; b=LDOpBzh5kTNU7wHu2l+bZaXjEZ8zCtiUUsnN7pSROuceujbjStO5oSZKFjX+aeaOu+ IornWMIFr8cf3rqQ3onb4OoSZw4NIj13U+LIf3H6ZPsv4arpoD7DzhF43oTvrnTittL+ OC2v/QbvGnNI+iIYJ02q1SP85SMlo9KuhJw5OQl3tIfmirkEaiVm7/IR3afYsPH6kJlk khAUYTUYuZDEFJggIga97oBkPGXNkpVlZv1bIcFFDGA18UD09G7zueaPInWI9nc5ZF39 eQBxQZE0w129O7mTNHT/j1UTvKpN/jckmXlMJRCJX/dC0VhDfLaLmN0vLPXXGrrnmJdz a8Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701271389; x=1701876189; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eCUywg88tT8nR8OAzlEKxFmQomFdBEbseNCKYUwF6z0=; b=f8bipGvyXM7PiRaiUCI4m8nbKyKqNmmpj8tADuzf/xrG4P3D5eTA7ocPZWWgpD22ui 2YCaLjYdMvXe90Lt5ow5wMJyj9n4E5DiDkI+lJkpHCgh7kJqeB5O7ScbGzmwGHAJc90O Yk8bfqoEB0RJlY76j7k5HA2cHJeOZDpe8dEFQJE8YmZF3s2IlPeMCyj3mGtmuSZu5s53 A4ux1zUwYHiKo4icinrHJ3+ZIwqvBsU/Q8fMwzbRLZ/AI2AMuMbNBYQ0bt3lFOsXf9cX E7OlxPqYSFXvPyCc0WE2yXgLweaUXBCTE25lucDtQp9xpNB8zDq93nY6Lbur5s8CB1Jq P/vg== X-Gm-Message-State: AOJu0YyP4hiy0F4hX1HY6mqA3WqXRG/mcVB4q0WguRizwVIiZzb52inb xHYIi9pPC1c/0Kx66hLVqZvmWF/Ocfi9Ke72b2s= X-Received: by 2002:a05:6870:c45:b0:1fa:345e:5e15 with SMTP id lf5-20020a0568700c4500b001fa345e5e15mr15412255oab.13.1701271389082; Wed, 29 Nov 2023 07:23:09 -0800 (PST) MIME-Version: 1.0 References: <87edgv4x3i.fsf@vps.thesusis.net> <559d0fa5-953a-4a97-b03b-5eb1287c83d8@leemhuis.info> <96e2e13c-f01c-4baf-a9a3-cbaa48fb10c7@amd.com> <87jzq2ixtm.fsf@vps.thesusis.net> <95fe9b5b-05ce-4462-9973-9aca306bc44f@gmail.com> In-Reply-To: From: Alex Deucher Date: Wed, 29 Nov 2023 10:22:57 -0500 Message-ID: Subject: Re: Radeon regression in 6.6 kernel To: Luben Tuikov Cc: Phillip Susi , Linux regressions mailing list , =?UTF-8?Q?Christian_K=C3=B6nig?= , linux-kernel@vger.kernel.org, "amd-gfx@lists.freedesktop.org" , dri-devel@lists.freedesktop.org, Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 07:23:22 -0800 (PST) On Wed, Nov 29, 2023 at 8:50=E2=80=AFAM Alex Deucher wrote: > > On Tue, Nov 28, 2023 at 11:45=E2=80=AFPM Luben Tuikov wrote: > > > > On 2023-11-28 17:13, Alex Deucher wrote: > > > On Mon, Nov 27, 2023 at 6:24=E2=80=AFPM Phillip Susi wrote: > > >> > > >> Alex Deucher writes: > > >> > > >>>> In that case those are the already known problems with the schedul= er > > >>>> changes, aren't they? > > >>> > > >>> Yes. Those changes went into 6.7 though, not 6.6 AFAIK. Maybe I'm > > >>> misunderstanding what the original report was actually testing. If= it > > >>> was 6.7, then try reverting: > > >>> 56e449603f0ac580700621a356d35d5716a62ce5 > > >>> b70438004a14f4d0f9890b3297cd66248728546c > > >> > > >> At some point it was suggested that I file a gitlab issue, but I too= k > > >> this to mean it was already known and being worked on. -rc3 came ou= t > > >> today and still has the problem. Is there a known issue I could tra= ck? > > >> > > > > > > At this point, unless there are any objections, I think we should jus= t > > > revert the two patches > > Uhm, no. > > > > Why "the two" patches? > > > > This email, part of this thread, > > > > https://lore.kernel.org/all/87r0kircdo.fsf@vps.thesusis.net/ > > > > clearly states that reverting *only* this commit, > > 56e449603f0ac5 drm/sched: Convert the GPU scheduler to variable number = of run-queues > > *does not* mitigate the failed suspend. (Furthermore, this commit doesn= 't really change > > anything operational, other than using an allocated array, instead of a= static one, in DRM, > > while the 2nd patch is solely contained within the amdgpu driver code.) > > > > Leaving us with only this change, > > b70438004a14f4 drm/amdgpu: move buffer funcs setting up a level > > to be at fault, as the kernel log attached in the linked email above sh= ows. > > > > The conclusion is that only b70438004a14f4 needs reverting. > > b70438004a14f4 was a fix for 56e449603f0ac5. Without b70438004a14f4, > 56e449603f0ac5 breaks amdgpu. We can try and re-enable it in the next kernel. I'm just not sure we'll be able to fix this in time for 6.7 with the holidays and all and I don't want to cause a lot of scheduler churn at the end of the 6.7 cycle if we hold off and try and fix it. Reverting seems like the best short term solution. Alex > > Alex