Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6148382rdb; Thu, 14 Dec 2023 09:29:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDDN92emTploRFqUEB1nTm8nOCf0Ipes1ouuYClBw+T2RXOhq+MwmXm8el8o8zQn++h3B0 X-Received: by 2002:a05:6a00:1a8f:b0:693:3d55:2bb3 with SMTP id e15-20020a056a001a8f00b006933d552bb3mr7382277pfv.26.1702574941886; Thu, 14 Dec 2023 09:29:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702574941; cv=none; d=google.com; s=arc-20160816; b=pHDZiKz9WZUK44Z9YZXkKbdojnuV331TjKkfvL2AikhQLNjdezcIJgLvQlgWDgVWBa 123cfLAtBuTZW6zztHkQXu1YyUic1JUAmTAKZlfc4xOxIlwLaW58ZGdy249tSxsxy1I5 4ZFMHOrlCpAHcQMMF4aRloDvlQR9EXOndtTuQf0mLTNrbFDpH2dJjqsmjcMec2QilZMJ NPPSbvlIRU+I2+rQUxUBNBTUoqBmBAjbCLoTGBAH2AopjJEI5xFlGzqpG84H1XgscUCY dPb6LaVUEnNkQksHP/iHA7xnMmBAVe75KMrrYr/6dURWYWJcTXFQ1pT5EX7/6+d8W4QK qBOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=1SjAMtlyPduHIPB68DUOL6d0qwjzg0kWC8S09ZkfYLQ=; fh=lKFBgP0T/fbyZ0ihksNIz1okUZNpkfsf+zc36zC0SYU=; b=Url2jf/CIH5sQm8xjLFXpfyr0l2tJkG/2d/a2tqsn+aYidOiYSKlp/z+U8XBsyQ39D fHz7cPJxr35C6cwPdSh+ELQPpfsSs08+mrCO4MtzQwV6SkAAq7tO3vi5XlbOukmBxyg7 Sm+ljkS5zLWd5TSYhODeKOhJViQHVeXfuY+5knbQpCpo+BxhxVCPSCrW96vEVVtdAYdg u9N9nCnA1/UI0suzbDUPMu+TNlE543gcS909tRc3+KpC1+ekeNmV50FPYamlJX8+Hl7M +dn/vV6k9xByBEoLD78qSQKPqSRzord4coZzwJoMLJpjhk7hzmYWhAxYu2oFTfHNNdIa Tiwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XSEj/glB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id l3-20020a632503000000b005c1b28061b0si11672350pgl.65.2023.12.14.09.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:29:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XSEj/glB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8B9B08184A89; Thu, 14 Dec 2023 09:28:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230373AbjLNR2q (ORCPT + 99 others); Thu, 14 Dec 2023 12:28:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjLNR2o (ORCPT ); Thu, 14 Dec 2023 12:28:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6072A121 for ; Thu, 14 Dec 2023 09:28:50 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF9B0C433C9; Thu, 14 Dec 2023 17:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702574930; bh=P8WIww2274+m+ez0eGWOb23W8iwkilWxoapMNkXmSoI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=XSEj/glB2zBkw6SiLPvUtM7upEYS6XnUikmteJZhAXnZflzbW9uW2qbKlLuj8JaR3 UhCXpC+lFeRGOw1IH9McsmcQIHs88KaO0Zm++1VMWO0glWqQbsdtsF9It0QV/TVoeK tizuaDJFXwxG+GqeCFsx5zJVqjTyuJt7syIyQXYW+tgvVRDUw022BVmN4duObs3PK0 gx3rV4ogqff+iZhJ3WSTWwtSNdqoH8GuBE9oNeW9qYcb7dHFDqtBzlcgFPhTQOu9um BUFF59MaswASLf/oCfWgvWtd1L4cH6+ERTkVa6W5wGNh642111BGBanJ0MsJQLXH4g QX8Sj6bAewScw== Date: Thu, 14 Dec 2023 11:28:48 -0600 From: Bjorn Helgaas To: "David E. Box" Cc: Kai-Heng Feng , Johan Hovold , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Andy Gross , Bjorn Andersson , Konrad Dybcio , Manivannan Sadhasivam , Rob Herring , Nirmal Patel , Jonathan Derrick , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Manivannan Sadhasivam Subject: Re: [PATCH v2 1/6] PCI/ASPM: Add locked helper for enabling link state Message-ID: <20231214172848.GA1095194@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 14 Dec 2023 09:28:59 -0800 (PST) On Wed, Dec 13, 2023 at 03:39:24PM -0800, David E. Box wrote: > On Wed, 2023-12-13 at 14:45 -0600, Bjorn Helgaas wrote: > ... > > I'd be shocked if Windows treated the BIOS config as a "do not exceed > > this" situation, so my secret hope is that some of these "broken" > > devices are really caused by defects in the Linux ASPM support or the > > driver, and that we can fix them if we find out about them. > > > > But I have no details about any of these alleged broken devices, so > > it's hard to make progress on them.   > > I don't have a sense of the scope either. But I could see BIOS not > enabling features that would provide no added power savings benefit. > We use ASPM to manage package power. There are Intel devices that > certainly don't require L1SS for the SoC to achieve the deepest > power savings. L1 alone is fine for them. I don't know what the test > coverage is for unenabled features. I've sent these questions to > our BIOS folks. Once upon a time there was a push to make it so firmware only had to enumerate boot and console devices and it could skip enumeration and configuration of other devices. But I don't think we've made much progress on that, at least for x86, possibly because Linux depends so much on BIOS resource assignment. IMO that's a Linux deficiency. Bjorn