Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2257768pxp; Fri, 18 Mar 2022 06:53:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6OymhDeG8GK0jxBhxL1EkB3qgFnVdQT/4SrvBnsHEOEGtS4nP8ZqliKlI3ApNvKiFToon X-Received: by 2002:a63:82c2:0:b0:37c:942b:96db with SMTP id w185-20020a6382c2000000b0037c942b96dbmr7863986pgd.286.1647611581156; Fri, 18 Mar 2022 06:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647611581; cv=none; d=google.com; s=arc-20160816; b=AsI8qf2o5gVBEK8MoGbJLTSylo0iTTBgQRcEhzwnS/31blotYO+MGjRxgT69bMpHm+ 33YtoHx7e8R0R4D+zMkbuUU6jXb6N5rVVkj5NGXVP6fkF6QX9/tAIj65kuxJECo2i2TI okPlBJo6O6RrDkvSy88okoVCwUDWe4TQj68yiB2PPoaqorRBGK0yESkTV6KTcONKvy2N VvIvoCK9jEmaAU5iwRfKVxh2UKPxAWLb6MBEZNd04/EIwNbvCMi8/Wcnk504Y5qQ0UCy afRgyQrDOPM61wVKjf1ig7MYH7sH/Es5PZxakwzkLC4IctN9qRu7EBLFjFzF4vE3G6as U9mQ== 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:content-language:subject:user-agent:mime-version :date:message-id; bh=ONQ6LyVyja9uf9Or+hhd4GDwOgLiCeoFnXVegH4fS7o=; b=rBhTgtuHc6En6vy/7mHXSVuSmX+8hWYqdiF99sf2bBS1KAHNOGzUnbtkdx5ugsBHp4 UPZABsSi0WHP78zVeVDqXG3tATMg6XXSkTShK52lXBNbOrbbNhShI70fmieTIoDGWDVp hmEtp5COihZhbaY63WCWetoEgS9vCqqBrTzOX/lNfVz+3NVFJw25cYdcAdZSo+J77fEc F+q1+cTbvKbcwIed5ehcVsCe/1qZLfIFxHRomf5YiJCWWKiOoVp+nSgt31eQ4l4MlL5L iEGiTlF20Jhbg4leKwKj/Ag8ndS2i3SUtoMVJPVGMfknpp4757o1NBYkBNZz6BcDHyiT xE8g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e10-20020a63d94a000000b003816043ef36si5304124pgj.299.2022.03.18.06.52.47; Fri, 18 Mar 2022 06:53:00 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232580AbiCRFok (ORCPT + 99 others); Fri, 18 Mar 2022 01:44:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbiCRFoh (ORCPT ); Fri, 18 Mar 2022 01:44:37 -0400 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 709497C156; Thu, 17 Mar 2022 22:43:15 -0700 (PDT) Received: from [192.168.0.3] (ip5f5aef49.dynamic.kabel-deutschland.de [95.90.239.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 6552A61E64846; Fri, 18 Mar 2022 06:43:11 +0100 (CET) Message-ID: <40b3084a-11b8-0962-4b33-34b56d3a87a3@molgen.mpg.de> Date: Fri, 18 Mar 2022 06:43:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [REGRESSION] Too-low frequency limit for AMD GPU PCI-passed-through to Windows VM Content-Language: en-US To: Thorsten Leemhuis , James Turner Cc: Xinhui Pan , regressions@lists.linux.dev, kvm@vger.kernel.org, Greg KH , Lijo Lazar , LKML , amd-gfx@lists.freedesktop.org, Alexander Deucher , Alex Williamson , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <87ee57c8fu.fsf@turner.link> <87a6ftk9qy.fsf@dmarc-none.turner.link> <87zgnp96a4.fsf@turner.link> <87czkk1pmt.fsf@dmarc-none.turner.link> <87sftfqwlx.fsf@dmarc-none.turner.link> <87ee4wprsx.fsf@turner.link> <4b3ed7f6-d2b6-443c-970e-d963066ebfe3@amd.com> <87pmo8r6ob.fsf@turner.link> <5a68afe4-1e9e-c683-e06d-30afc2156f14@leemhuis.info> <87pmnnpmh5.fsf@dmarc-none.turner.link> <092b825a-10ff-e197-18a1-d3e3a097b0e3@leemhuis.info> <877d96to55.fsf@dmarc-none.turner.link> <87lexdw8gd.fsf@turner.link> From: Paul Menzel In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 Dear Thorsten, dear James, Am 17.03.22 um 13:54 schrieb Thorsten Leemhuis: > On 13.03.22 19:33, James Turner wrote: >> >>> My understanding at this point is that the root problem is probably >>> not in the Linux kernel but rather something else (e.g. the machine >>> firmware or AMD Windows driver) and that the change in f9b7f3703ff9 >>> ("drm/amdgpu/acpi: make ATPX/ATCS structures global (v2)") simply >>> exposed the underlying problem. > > FWIW: that in the end is irrelevant when it comes to the Linux kernel's > 'no regressions' rule. For details see: > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/admin-guide/reporting-regressions.rst > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/process/handling-regressions.rst > > That being said: sometimes for the greater good it's better to not > insist on that. And I guess that might be the case here. But who decides that? Running stuff in a virtual machine is not that uncommon. Should the commit be reverted, and re-added with a more elaborate commit message documenting the downsides? Could the user be notified somehow? Can PCI passthrough and a loaded amdgpu driver be detected, so Linux warns about this? Also, should this be documented in the code? >> I'm not sure where to go from here. This issue isn't much of a concern >> for me anymore, since blacklisting `amdgpu` works for my machine. At >> this point, my understanding is that the root problem needs to be fixed >> in AMD's Windows GPU driver or Dell's firmware, not the Linux kernel. If >> any of the AMD developers on this thread would like to forward it to the >> AMD Windows driver team, I'd be happy to work with AMD to fix the issue >> properly. (Thorsten, your mailer mangled the quote somehow – I reformatted it –, which is too bad, as this message is shown when clicking on the link *marked invalid* in the regzbot Web page [1]. (The link is a very nice feature.) > In that case I'll drop it from the list of regressions, unless what I > wrote above makes you change your mind. > > #regzbot invalid: firmware issue exposed by kernel change, user seems to > be happy with a workaround > > Thx everyone who participated in handling this. Should the regression issue be re-opened until the questions above are answered, and a more user friendly solution is found? Kind regards, Paul [1]: https://linux-regtracking.leemhuis.info/regzbot/resolved/