Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4715310rdh; Wed, 29 Nov 2023 08:42:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTDSebBVSQf32mBPfJbB+a9jQEm2ENtYLmMnQO+IKQHOOjw3neAJGFFzr2MEMh2glYG2GT X-Received: by 2002:a05:6a00:984:b0:6cd:8870:bd1f with SMTP id u4-20020a056a00098400b006cd8870bd1fmr13672621pfg.0.1701276128986; Wed, 29 Nov 2023 08:42:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701276128; cv=none; d=google.com; s=arc-20160816; b=AYTtekGdiE84/uX15NrKIusOXoWnkdY6fGefeEKICP5in/Llg0S1ToGELPkcC1dFt2 v0xAt1qY84vc9yCc7Wvd7obVp2hbrd5EZNHYqBkmyW9Mmfedmm5xOk6toGZeEnNRNBII k9ghTqx0CyIPtL47eW/snnzi6VBMDnG8R9YiDAzFdZFEqiUEo0BWc/4dFOqyQjihvbt1 vB1jpskSk0+e++pdlrB6524vEHubNBueRIZKFy13wj73BETRwXoOqs6iQGaI4IgDBN39 TawTDQ+pWoYDqS4MdvBToPKQDF+pn+s4sdEY3vJExe3DPgAv8a29W3aSNem//tj/UOXD 4GEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:autocrypt:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=Fjs3Okyq9EWbreP6AOnF4Rr0g4Cepv9m/ouV8NW/+O4=; fh=78Aic9AYxF4DDkLbkvQnS0rnKh2F6QPQW+M2wzq5X88=; b=aNMaAxeSX21ql6cXd2LdM1RHZmIg5/6SyTN7f+kGEYYRWuwI95548Y6EIO0CJwOMJ+ QMsOgCXOpSIZU4EcWwa0GbM7mWWMIjhCEO6rx7JbNnBGELjWmJyAe5mimRibKb6liKbt 9vsK0xBVN3n1XM26193oHNLCkyN1yql/ISbw1UUxjda2G0oAlDNKpNV5WjarV19gvBPT GI7AO57P/4HrJBzGMq+xwVuJjzbwF9X0S8lUTxtPYOiQDLt05N1p/11I1FnGUWEi1KzU AxwRXjqhfj0cwPA2o6HyDtiQmFiHu+Lf9go0+RVx36uNkS7rTfY1AEMJt39leYgkMtzY nHMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="aLO/03p9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u12-20020a6540cc000000b005bd42f6085fsi14366246pgp.344.2023.11.29.08.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 08:42:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="aLO/03p9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 6E49B804C539; Wed, 29 Nov 2023 08:42:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229683AbjK2Qlv (ORCPT + 99 others); Wed, 29 Nov 2023 11:41:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjK2Qlt (ORCPT ); Wed, 29 Nov 2023 11:41:49 -0500 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AF7884 for ; Wed, 29 Nov 2023 08:41:52 -0800 (PST) Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-41cd97d7272so37888941cf.0 for ; Wed, 29 Nov 2023 08:41:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701276111; x=1701880911; darn=vger.kernel.org; h=in-reply-to:autocrypt:from:references:cc:to:content-language :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Fjs3Okyq9EWbreP6AOnF4Rr0g4Cepv9m/ouV8NW/+O4=; b=aLO/03p96Mk4mQbpxqK4cE+4FN+3FVe9RhanazpCe+bA4OMFAJMFiEUTXjkSyvaGHb r0veVp7wWS2lsocPiRxPbrv1nuBHWJZzrMveQDUMyJ1EW78Gv1D4zD25Wi6GXGDCwrCk pmxQCN8wav9vOJBfbN0mrBngRIBugcRtP5I81A614YfG97k9o1nLHKS5i8Lo4NkucG0S Iy5WOKR/NihG2sAiwME9D6H5qYW9Lv4vCj+ZFHTMdmApjjcnYOuMUq/jBwi3CguRoF1T nSU6UsCkLrdjB9VWOZPy9iWjQTq4hQwWs8RO0aSnvxiLQpDlU5pnr2HQ6xvOFffXPRqn bt5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701276111; x=1701880911; h=in-reply-to:autocrypt:from:references:cc:to:content-language :subject:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Fjs3Okyq9EWbreP6AOnF4Rr0g4Cepv9m/ouV8NW/+O4=; b=u5S41KkDaaqWhoMd2rLAujCFpR0IewL8Mir/AMPhdggGVMpyVlpfGLLVpW6FLsSRiy 9Uy/4UeBbr3lrhxzTRX1NPGxquO17ZvXx8egRcTBBDcay/lcT/kcr+NRaAnD33TP1Ov2 0fPhsr+XUKkBW2+d4kPzoYo4tZKIGlfW8ZT2iDBuOBQ5WH2Ex6kUk08HwuPIYQSm17h4 zGmqTWGsyeBdkk8UCcL6JkaOgAObs2zj5+1zkLtCmDo4YFPcBOP0VtqAG3RnC/+KdA/Q m+kTu16/DvJTNDtNuFlvTEVlrBx93KT6sJauwLR9oMhf8QBXcCZBJYRJlKeeUCVJr4he XoUQ== X-Gm-Message-State: AOJu0Yx/ysEm+g4D327os5WdSY3qp6vjKDHhvtRQA3pK0srMhniQRp/0 qp2YhNoAZ1HO6q309t9uJqBvCCz6INepoQ== X-Received: by 2002:a05:622a:4c0e:b0:423:d75b:2b62 with SMTP id ey14-20020a05622a4c0e00b00423d75b2b62mr8468314qtb.51.1701276111101; Wed, 29 Nov 2023 08:41:51 -0800 (PST) Received: from [192.168.2.14] ([76.65.20.140]) by smtp.gmail.com with ESMTPSA id fc21-20020a05622a489500b00423e6885152sm909995qtb.75.2023.11.29.08.41.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 08:41:50 -0800 (PST) Message-ID: <9595b8bf-e64d-4926-9263-97e18bcd7d05@gmail.com> Date: Wed, 29 Nov 2023 11:41:40 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:115.0) Gecko/20100101 Thunderbird/115.5.1 Subject: Re: Radeon regression in 6.6 kernel Content-Language: en-CA, en-US To: Alex Deucher 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?= , Danilo Krummrich 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> From: Luben Tuikov Autocrypt: addr=ltuikov89@gmail.com; keydata= xjMEZTohOhYJKwYBBAHaRw8BAQdAWSq76k+GsENjDTMVCy9Vr4fAO9Rb57/bPT1APnbnnRHN Ikx1YmVuIFR1aWtvdiA8bHR1aWtvdjg5QGdtYWlsLmNvbT7CmQQTFgoAQRYhBJkj7+VmFO9b eaAl10wVR5QxozSvBQJlOiE6AhsDBQkJZgGABQsJCAcCAiICBhUKCQgLAgQWAgMBAh4HAheA AAoJEEwVR5QxozSvSm4BAOwCpX53DTQhE20FBGlTMqKCOQyJqlMcIQ9SO1qPWX1iAQCv3vfy JwktF7REl1yt7IU2Sye1qmQMfJxdt9JMbMNNBs44BGU6IToSCisGAQQBl1UBBQEBB0BT9wSP cCE8uGe7FWo8C+nTSyWPXKTx9F0gpEnlqReRBwMBCAfCfgQYFgoAJhYhBJkj7+VmFO9beaAl 10wVR5QxozSvBQJlOiE6AhsMBQkJZgGAAAoJEEwVR5QxozSvSsYA/2LIFjbxQ2ikbU5S0pKo aMDzO9eGz69uNhNWJcvIKJK6AQC9228Mqc1JeZMIyjYWr2HKYHi8S2q2/zHrSZwAWYYwDA== In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------UyehoVd0FbltVXpXzUgljOtM" X-Spam-Status: No, score=-2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 08:42:06 -0800 (PST) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------UyehoVd0FbltVXpXzUgljOtM Content-Type: multipart/mixed; boundary="------------0XZomOJokaOIq0ur7sjc7Zhs"; protected-headers="v1" From: Luben Tuikov To: Alex Deucher 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?= , Danilo Krummrich Message-ID: <9595b8bf-e64d-4926-9263-97e18bcd7d05@gmail.com> Subject: Re: Radeon regression in 6.6 kernel 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: --------------0XZomOJokaOIq0ur7sjc7Zhs Content-Type: multipart/mixed; boundary="------------X4lhUOpMG3SysAtmJ6e16SnL" --------------X4lhUOpMG3SysAtmJ6e16SnL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2023-11-29 10:22, Alex Deucher wrote: > 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 schedu= ler >>>>>>> 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. I= f it >>>>>> was 6.7, then try reverting: >>>>>> 56e449603f0ac580700621a356d35d5716a62ce5 >>>>>> b70438004a14f4d0f9890b3297cd66248728546c >>>>> >>>>> At some point it was suggested that I file a gitlab issue, but I to= ok >>>>> this to mean it was already known and being worked on. -rc3 came o= ut >>>>> today and still has the problem. Is there a known issue I could tr= ack? >>>>> >>>> >>>> At this point, unless there are any objections, I think we should ju= st >>>> 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 numbe= r of run-queues >>> *does not* mitigate the failed suspend. (Furthermore, this commit doe= sn'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= =2E) >>> >>> 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 = shows. >>> >>> The conclusion is that only b70438004a14f4 needs reverting. >> >> b70438004a14f4 was a fix for 56e449603f0ac5. Without b70438004a14f4, >> 56e449603f0ac5 breaks amdgpu. >=20 > 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. A lot of subsequent code has come in since commit 56e449603f0ac5, as it o= pened the opportunity for a 1-to-1 relationship between an entity and a schedul= er. (Should've always been the case, from the outset. Not sure why it was cod= ed as a fixed-size array.) Given that commit 56e449603f0ac5 has nothing to do with amdgpu, and the p= roblem is wholly contained in amdgpu, and no other driver has this problem, ther= e is no reason to have to "churn", i.e. go back and forth in DRM, only to cove= r up an init bug in amdgpu. See the response I just sent in @this thread: https://lore.kernel.org/r/05007cb0-871e-4dc7-af58-1351f4ba43e2@gmail.com And it's not like this issue is unknown. I first posted about it on 2023-= 10-16.=20 Ideally, amdgpu would just fix their init code. --=20 Regards, Luben --------------X4lhUOpMG3SysAtmJ6e16SnL Content-Type: application/pgp-keys; name="OpenPGP_0x4C15479431A334AF.asc" Content-Disposition: attachment; filename="OpenPGP_0x4C15479431A334AF.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEZTohOhYJKwYBBAHaRw8BAQdAWSq76k+GsENjDTMVCy9Vr4fAO9Rb57/bPT1A PnbnnRHNIkx1YmVuIFR1aWtvdiA8bHR1aWtvdjg5QGdtYWlsLmNvbT7CmQQTFgoA QRYhBJkj7+VmFO9beaAl10wVR5QxozSvBQJlOiE6AhsDBQkJZgGABQsJCAcCAiIC BhUKCQgLAgQWAgMBAh4HAheAAAoJEEwVR5QxozSvSm4BAOwCpX53DTQhE20FBGlT MqKCOQyJqlMcIQ9SO1qPWX1iAQCv3vfyJwktF7REl1yt7IU2Sye1qmQMfJxdt9JM bMNNBs44BGU6IToSCisGAQQBl1UBBQEBB0BT9wSPcCE8uGe7FWo8C+nTSyWPXKTx 9F0gpEnlqReRBwMBCAfCfgQYFgoAJhYhBJkj7+VmFO9beaAl10wVR5QxozSvBQJl OiE6AhsMBQkJZgGAAAoJEEwVR5QxozSvSsYA/2LIFjbxQ2ikbU5S0pKoaMDzO9eG z69uNhNWJcvIKJK6AQC9228Mqc1JeZMIyjYWr2HKYHi8S2q2/zHrSZwAWYYwDA=3D=3D =3DqCaZ -----END PGP PUBLIC KEY BLOCK----- --------------X4lhUOpMG3SysAtmJ6e16SnL-- --------------0XZomOJokaOIq0ur7sjc7Zhs-- --------------UyehoVd0FbltVXpXzUgljOtM Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQSZI+/lZhTvW3mgJddMFUeUMaM0rwUCZWdpxAUDAAAAAAAKCRBMFUeUMaM0rxMG AP0VKIwpMtTXzjbkhP+YlAOkqgomRWdt1ImVdFZwC6ss/AEA1HV4kiVP2+VGwRtGUUImxMuRwOGE gH5ERcUPC6tIlA0= =9LNu -----END PGP SIGNATURE----- --------------UyehoVd0FbltVXpXzUgljOtM--