Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp4133592pxm; Tue, 1 Mar 2022 11:59:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyASKEaorZE1uGGe72KgryC2aT8TZH3v8E6YlVpU32ure+F2vnEQz6mzXb34vuhYqn0TY1S X-Received: by 2002:a17:902:8341:b0:151:8349:5cd with SMTP id z1-20020a170902834100b00151834905cdmr4664597pln.170.1646164764419; Tue, 01 Mar 2022 11:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646164764; cv=none; d=google.com; s=arc-20160816; b=uEfCarsU+pX65MUQj7N3fin+jeYY8mcoVvDRXj9yznLHAg+TUkMItg6VezxgLqM2ML qTas6+8OtR6o/JCa9+81VLBgdfoScvksnXot29cl1K0lgL2bLwKeJRDPFfs5LveZwe60 IzQnq63JA3L+Buf8XvznpT3wYBgYxwhw8YPnJ57x9wkP02glebgJlNb4bf19VmI0E85Q t4p5Wg9rURkLvQJtKSxdTC0AD0xXR18vZZPoy9IOjWgEBuo2/csrPDAwsut6V/3h+gdF JMUUoG3p3eNre801P3nK3xbjij3Hbd2QMjU1nHuFUffkmrLa1/4Jgikkhn2YRshOVdct muPQ== 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:mime-version:date :dkim-signature:message-id; bh=zCGZe5KQEePlGgxnSZ6o3CK5/eGHzgzDBb+VMLpgJ8A=; b=CCs4+sJTaq5L/N9JbGj9XYsroN2z7DB/JW6YUFrzrXPblZ+tYUS85l6Xv5uMuSL/LD jP33Z58MatUti5A2l1fQ8iCSxjo+7n+UBMvMO4ckZxMoQaunyXEO9gcJix2/oTqoSdsa hhrRzKmAv5QkxYaKz6q4ORK0pcq1I5QheE3tCYexwE+WetIoqQYld1ZQ92hNAoDOi9QC msAtjOEHTDKSQM/vfqF0+08nRx7zE4WFjQ0N1Qtokew1btqVfy77ldY2I36vnMCQh/z/ gG0o0GI/o4/YZlbSWVhSEkpcf1BDG1EWy/CnvV245YNz4wfbheUX8/y5EIfjLd3ZvXkK jQ4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=QWhO0xDA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a056a0022d400b004f108adf1dbsi14323959pfj.333.2022.03.01.11.59.08; Tue, 01 Mar 2022 11:59:24 -0800 (PST) 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; dkim=pass header.i=@linux.dev header.s=key1 header.b=QWhO0xDA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233532AbiCATUO (ORCPT + 99 others); Tue, 1 Mar 2022 14:20:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230377AbiCATUN (ORCPT ); Tue, 1 Mar 2022 14:20:13 -0500 Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE94952E03; Tue, 1 Mar 2022 11:19:31 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1646162368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zCGZe5KQEePlGgxnSZ6o3CK5/eGHzgzDBb+VMLpgJ8A=; b=QWhO0xDAbsgrBwnQI4FQnEdckf5x1GaYM6J93ZRL3fYArcjMr3EiLYkNR4Dh8aVEyMlhkn TCcL1mqdgaD43FJhEwcbQ7AudScncsBJg/tnlabfBWlPW9mkyL1+sPK3kYHlOV+735pqMv pkua33/Pf/K0gM/8Uk9EeJ2om+3uRgo= Date: Tue, 1 Mar 2022 12:19:26 -0700 MIME-Version: 1.0 Subject: Re: [PATCH V6 0/3] PCI: vmd: Enable PCIe ASPM and LTR Content-Language: en-US To: "David E. Box" , nirmal.patel@linux.intel.com, lorenzo.pieralisi@arm.com, hch@infradead.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, michael.a.bottini@linux.intel.com, rafael@kernel.org, me@adhityamohan.in Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220301041943.2935892-1-david.e.box@linux.intel.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Jonathan Derrick In-Reply-To: <20220301041943.2935892-1-david.e.box@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Set looks good to me Thanks! Reviewed-by: Jon Derrick On 2/28/2022 9:19 PM, David E. Box wrote: > This series adds support for enabling PCIe ASPM and for setting PCIe LTR > values on devices on root ports reserved by VMD. Configuration of these > capabilities is usually done by BIOS. But for VMD ports these capabilities > will not be configured because those ports are not visible to BIOS. For > future products, post Alder Lake, the hardware team has agreed to do this > enabling in BIOS. But this will not apply to current products, so this > work around is provided for them. Without this, laptops running in VMD mode > will not be able to power gate roots ports, resulting in higher power > consumption. > > Since V4 we have more information from the BIOS team as to why BIOS > needs to program device LTRs. This is something that should be done by > devices, but there are many that don't provide LTR values causing them > to block SoC level power management. BIOS sets an initial default LTR to > account for such devices. This SoC specific value is the maximum latency > required to allow the SoC to enter the deepest power state. > > David E. Box (2): > PCI: vmd: Add vmd_device_data > PCI: vmd: Configure PCIe ASPM and LTR > > Michael Bottini (1): > PCI/ASPM: Add ASPM BIOS override function > > drivers/pci/controller/vmd.c | 134 ++++++++++++++++++++++++++++------- > drivers/pci/pcie/aspm.c | 54 ++++++++++++++ > include/linux/pci.h | 7 ++ > 3 files changed, 169 insertions(+), 26 deletions(-) > > > base-commit: 754e0b0e35608ed5206d6a67a791563c631cec07