Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4848046rdh; Wed, 29 Nov 2023 12:24:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhcXem2prVjBLUvlj4DJ8FbNog2MunpIKyls4TgxV7RUhAlhRfiS7cNzrYxxhfoEUap9+Y X-Received: by 2002:a05:6a00:2da7:b0:6be:4789:97ba with SMTP id fb39-20020a056a002da700b006be478997bamr19395601pfb.3.1701289457846; Wed, 29 Nov 2023 12:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701289457; cv=none; d=google.com; s=arc-20160816; b=BCpIf/qe/6Alm2e0eiDbvYk+ppWBCNWtUyiy21ZcTjzNyTmWNAT7moXTH/RsXfT6x8 4kzwvbMPM5YpKoM/gntk4I5Qz220ClLCMLcpwLzi4zO0G2dsmwqvR2Scr8pTMax+8t7x p9R05wvJDGwuaMZtVbDx/EzCfyYTkKIWaDdBn6PqDncXpmDA5ZUXIBKce0O66gjBjreL 4E7InkhyUErpoWpdVfDGvrNkLEuXMROiix8uQhGmTfVrpT0/DFisMyhzHzSo78eai9xF qHPInrlCnaWBL7dwt3GgBEKOTax2SPteYGlhiidZcIs37XCzsgRFqIO6HGgcTVSi6+CE +D/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=c2aWNyaY1rTZEHOtnY/4emvpuN78DFEa6kT3SsF7kak=; fh=nX8GKYhdY3Sn4f0dcomY7zzdM0ZOAaXHmkisE890qqw=; b=GYKbKNvyvbQ9UaoQgutHYDrHvZbnaRJNM8EGnEpvwDrqt41fbMi5TFo2gmmU5Zgu/E OzaW4ULmGz+z0rChWpNb8D/EooQ+4jomP1Tywri4Kefn9cycVSw6yocHFaJm9nCZ9D1p di7zqPmvLJJP8tfmSKybb8VSjBD8p9LbsnRo0b8Imb/JVlDXfigUoGim3qTTGZ8db0wT vTR71xW1S3uqeGgehQx7uGW/Cy7q/FDvMt94j/h95+/ahq03NJ8d7ihFojaJHHDjYy2Z lsQG/6U6G2GR6jNaPUFGrbAEPm7E4B2ov1relSeLP7rTfJ0TViWi61W35RqnLjz1P96b 7tng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id s23-20020a632c17000000b005be1ee5ef0dsi15162305pgs.15.2023.11.29.12.24.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 12:24:17 -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; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id BB0D780473F4; Wed, 29 Nov 2023 12:24:15 -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 S230334AbjK2UYD (ORCPT + 99 others); Wed, 29 Nov 2023 15:24:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbjK2UYC (ORCPT ); Wed, 29 Nov 2023 15:24:02 -0500 Received: from vps.thesusis.net (vps.thesusis.net [34.202.238.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13FAAD67 for ; Wed, 29 Nov 2023 12:24:09 -0800 (PST) Received: by vps.thesusis.net (Postfix, from userid 1000) id B5BDB14B27C; Wed, 29 Nov 2023 15:24:06 -0500 (EST) From: Phillip Susi To: Luben Tuikov , Alex Deucher Cc: Linux regressions mailing list , Christian =?utf-8?Q?K=C3=B6nig?= , linux-kernel@vger.kernel.org, "amd-gfx@lists.freedesktop.org" , dri-devel@lists.freedesktop.org, Alex Deucher , Christian =?utf-8?Q?K=C3=B6nig?= , Danilo Krummrich Subject: Re: Radeon regression in 6.6 kernel In-Reply-To: <05007cb0-871e-4dc7-af58-1351f4ba43e2@gmail.com> 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> <05007cb0-871e-4dc7-af58-1351f4ba43e2@gmail.com> Date: Wed, 29 Nov 2023 15:24:06 -0500 Message-ID: <87wmu0ux3t.fsf@vps.thesusis.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 12:24:15 -0800 (PST) Luben Tuikov writes: > I remember that the problem was really that amdgpu called drm_sched_entity_init(), > in amdgpu_ttm_set_buffer_funcs_status() without actually having initialized the scheduler > used therein. For instance, the code before commit b70438004a14f4, looked like this: > > sched = &ring->sched; <-- LT: No one has initialized this scheduler > r = drm_sched_entity_init(&adev->mman.entity, <-- Oopses, now that sched->sched_rq is not > Before commit 56e449603f0ac5, amdgpu was getting away with this, because the sched->sched_rq > was a static array. > > Ideally, amdgpu code would be fixed. This sounds like an initilization problem that resulted in an OOPS at boot time, but I don't remember seeing that. I just get a failure on system suspend.