Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2066241pxp; Fri, 18 Mar 2022 02:19:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJIuJp5XhAS8mahVcyDsfGh0q2w421+GjgxA4eYpJi2req0740YszdfVxOueteTVH9XjdT X-Received: by 2002:a17:902:e8c2:b0:151:cae6:46fa with SMTP id v2-20020a170902e8c200b00151cae646famr9199516plg.164.1647595192952; Fri, 18 Mar 2022 02:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647595192; cv=none; d=google.com; s=arc-20160816; b=Yfv1At/qVEl/oF42pU7T2h75KUXPx/YyImF/KofzhZxeZX3tUmHeDpJmur3phELldJ YcPKhVdRNGxXJXBtdR2bjxTrWm6rkJtPSprR+lpwBuU1VK8ds9FPm2f8geKGUABkMUtr E6KdmgZQ0gF80kHV2giO/dApC+VhVRMLvDUNHmFyYA2bjVsnwT6fCdTR9xoEgf8i9BlV upfJQ63DFbfEWY8IWEGyRyjb7s0k4Nf66R6uIbxJA7JCMLgjrh9J4CupYsPkPYav7JC0 Zh2ijk6pj6oMsnowsWPYDEKVx5lpUgQudUKOXgEQVKdQaeSag2u9LBDh8oGTj/lWKxN6 BObA== 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=568YNw+PRT37jB05C39mHcpBk+oxZsqnRlFmQd4N3F0=; b=sx+EPrIK1UJFhONkdKyATWWjUpi7ltLVqduGe4UMM89II3m7LL0/uUQ0cujTNqDeow Qw4BXS0olQNbFBCCUwZ2LUU9fNq0ohPw0ICDzLpI2yq7eo+Namlc4EH9uo4pQWXVNVsk jSgGZ7Dm7a0T7J73ZkH9oa2H5WoWZ/CXS/CdU1EMJOn1g6rSTsu8b5TcGCucklOxJHMY Wp+18nQYXo2Ghw1SAJZAIgodKeJNu9qVUq9583bzStyN8N+fHH1Ic2wREH47W7t3LGVz u2gMNBwWP19yomlnCc2GuSsyzEl5/AdwHZqE1tX/gRSpRM8w8voOeIJvRh2JDsO08KHw DLeA== 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 g1-20020a63dd41000000b003816043efcfsi4375009pgj.452.2022.03.18.02.19.40; Fri, 18 Mar 2022 02:19:52 -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 S232842AbiCRHC7 (ORCPT + 99 others); Fri, 18 Mar 2022 03:02:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbiCRHC4 (ORCPT ); Fri, 18 Mar 2022 03:02:56 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D96925CBBB; Fri, 18 Mar 2022 00:01:38 -0700 (PDT) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1nV6c9-00066r-PZ; Fri, 18 Mar 2022 08:01:33 +0100 Message-ID: Date: Fri, 18 Mar 2022 08:01:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [REGRESSION] Too-low frequency limit for AMD GPU PCI-passed-through to Windows VM Content-Language: en-US To: Paul Menzel , 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> <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> <40b3084a-11b8-0962-4b33-34b56d3a87a3@molgen.mpg.de> From: Thorsten Leemhuis In-Reply-To: <40b3084a-11b8-0962-4b33-34b56d3a87a3@molgen.mpg.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1647586898;8ea7a467; X-HE-SMSGID: 1nV6c9-00066r-PZ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 18.03.22 06:43, Paul Menzel wrote: > > 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? In the end afaics: Linus. But he can't watch each and every discussion, so it partly falls down to people discussing a regression, as they can always decide to get him involved in case they are unhappy with how a regression is handled. That obviously includes me in this case. I simply use my best judgement in such situations. I'm still undecided if that path is appropriate here, that's why I wrote above to see what James would say, as he afaics was the only one that reported this regression. > Running stuff in a virtual machine is not that uncommon. No, it's about passing through a GPU to a VM, which is a lot less common -- and afaics an area where blacklisting GPUs on the host to pass them through is not uncommon (a quick internet search confirmed that, but I might be wrong there). > 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 Kinda, but it IIRC was more me doing something stupid with my mailer. Sorry about that. > – I reformatted it –, thx! > 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? I'll for now will just continue to watch this discussion and see what happens. > [1]: https://linux-regtracking.leemhuis.info/regzbot/resolved/ Ciao, Thorsten