Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1721743pxa; Sat, 29 Aug 2020 00:25:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNmUrb5fHwkNSyFToqd3B2xlFKogGdPmpMzXtrBErit0RVy6MEwuO07rfNJJjrFdMdLXTT X-Received: by 2002:a05:6402:745:: with SMTP id p5mr2413276edy.94.1598685934395; Sat, 29 Aug 2020 00:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598685934; cv=none; d=google.com; s=arc-20160816; b=g6jDemgM3E1RvMoTxEvA/31w+YZ8ySDUkvbH5zwkD3FDEiFWZkXgo7nN/U2meAQp1l SJE4v1ZOCNGwBp7lSMMdSgodh4FbrJmjcqy+/WTQlFJr9FShMrEPEGc/s194iW7pwOHA FpOO+gz0G3Y9w4s2IMK3B5Dr80Ml4NJ2oaIwHSOF0gnPqpG/Wgrr9GhEnls4Kk31O71o w0LUhOaOVbESBfbkSFcZ4xJvZ3uLMGK5FPSGk876RwB/1OGlwoiA8Mii/PVu1XF0sCo9 pEiDk9+AN9IE+S7gKMoVYypa1iaOFtC8Uf/6m57VNVuJQFimxG15fi8+C81vzIn1Z3pX 9g1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=b660aar3g6/JJYoLm+eUfNa34ts9ix4M3QDleqnb3gw=; b=DRqzsbbEVnS79maCLXyrJbV8hjXrvw7b+ovDYQhbz3ZreIyaC8IIbju74sXwwJD4Fx A6BzKX2ezsaeDekhHZjbNGi+FyYeBlJDLEU3dBtDt/AlN+sq4RlFRk2LMWCKtHxbYdg0 mxX3kjzJm214Qsu6+BVcvU1Tug9FDUqL8AbIcKLJ/rYWLH2CckTZ5NVi2tz79YE1Oh49 LNn5mmpJDOZaQvlN+Vr5ei3bAa4gWFndTmUb5GC5hckRSD/ONd5fwgekPygVxRhqZ8uF 1V+oXkXRjSEzO0h6Zl5kolYPeFGLLvSnYZu5PWPkoYuj90k8CrJFdb5Dep3wJ5MFSmMz yBnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=pLldZGWX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si1010181edv.484.2020.08.29.00.25.11; Sat, 29 Aug 2020 00:25:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=pLldZGWX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727024AbgH2HYO (ORCPT + 99 others); Sat, 29 Aug 2020 03:24:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbgH2HYM (ORCPT ); Sat, 29 Aug 2020 03:24:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECAEEC061236; Sat, 29 Aug 2020 00:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=b660aar3g6/JJYoLm+eUfNa34ts9ix4M3QDleqnb3gw=; b=pLldZGWXJimg9P6mCsRrKFdTvx +tWqoU3zirJpqHj3nuY9IUdwAoEZ8YOdTXpXJWJtn9vvTq/wqjz41X/A/k2SYiOsqE4IUDymkW8DO xUYByzEanMFhZnR3d7nZvrz5zl05p9eCYDHPcCf1L86lgms0eK3T6ypnKnZJWC2AThGDDT3jAp5+8 XXQRTrWOljEIBxOAq7tKEILzHXZ/qONGxGMGuBT8j4ke8Ag3Mgm4yFf3hhbW+xDNnLKBNlkB0yEU/ MJQaMlooU3V6aQYg3TP7bin0Ow487p2hXtDdW57xRAhHa+rddzTvDyu3OP1lt+6kQejtHiLIUxjtk q2cL9stg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBvDZ-0001qk-Bp; Sat, 29 Aug 2020 07:24:05 +0000 Date: Sat, 29 Aug 2020 08:24:05 +0100 From: "hch@infradead.org" To: "Limonciello, Mario" Cc: "hch@infradead.org" , "Derrick, Jonathan" , "wangxiongfeng2@huawei.com" , "kw@linux.com" , "hkallweit1@gmail.com" , "kai.heng.feng@canonical.com" , "linux-kernel@vger.kernel.org" , "mika.westerberg@linux.intel.com" , "linux-pci@vger.kernel.org" , "Williams, Dan J" , "bhelgaas@google.com" , "Huffman, Amber" , "Wysocki, Rafael J" Subject: Re: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain Message-ID: <20200829072405.GB6704@infradead.org> References: <20200821123222.32093-1-kai.heng.feng@canonical.com> <20200825062320.GA27116@infradead.org> <20200827063406.GA13738@infradead.org> <660c8671a51eec447dc7fab22bacbc9c600508d9.camel@intel.com> <20200827162333.GA6822@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 27, 2020 at 05:49:40PM +0000, Limonciello, Mario wrote: > Can you further elaborate what exactly you're wanting here? VMD enable/disable > is something that is configured in firmware setup as the firmware does the early > configuration for the silicon related to it. So it's up to the OEM whether to > offer the knob to an end user. > > At least for Dell this setting also does export to sysfs and can be turned on/off > around a reboot cycle via this: https://patchwork.kernel.org/patch/11693231/. > > As was mentioned earlier in this thread VMD is likely to be defaulting to "on" > for many machines with the upcoming silicon. Making it work well on Linux is > preferable to again having to change firmware settings between operating systems > like the NVME remapping thing from earlier silicon required. And the right answer is to turn it off, but we really need to do that at runtime, and not over a reboot cycle..