Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp576382pxa; Thu, 27 Aug 2020 09:52:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9jthyO1I6DCWMOTZjNLB66mTkQG0f5NWZQKX7rts8M89ykmHdfx3wdw3Dg7TMwfTLBDF7 X-Received: by 2002:a17:906:fa8d:: with SMTP id lt13mr21301245ejb.140.1598547126141; Thu, 27 Aug 2020 09:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598547126; cv=none; d=google.com; s=arc-20160816; b=XPmPJAW4Q68KC1Q8tEBdvHD7IGKdVQZYstcKvXsPaVuEJH+1JCff2ROtPdVaEdiMR1 cK78l50XIuu/Iv3tPsAitrOkje6DxTPkr9MoNBc7q3t1yKkPM4xmL8JTKIpnd3SzQ1FL XsJY3nWbqzoZzcZdZWmlbRYqEnro0P0q30hoJDnPIy+ZkvMt55+w4o5PqTPsJEBhHo9K /ZU4af+LfzCADj8gb89ajbrqBPIyffmFyKWmgH5SfIIgy9Vg9290LGkfYKJpdG9jTeVr 2VKrN8hTtg3smWbKY16l410SK5nZRwp473rSNtGcvhrgKFle94yyGmFOUn6lAVOTenDd umsw== 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=Suq6RmjK6UVv4ul6GVoPMckCVMrlCWnO71fryQ+CL5U=; b=Esgyc9LkBOLfDD5QCN4rfD4DUPnMg230DBc6sj4JIOQchAceKpDBv6f3UdAAySV0az Ob76cIzGL/lvJem0gyDM7TAG8xgynTcARyQ7wa9kWJXk37mfJfIgK0igpmWQ8/8xD5KD x7ZDiQKIXstpKyEx1ndogox5AaW0t+eMVrg7FKOu88JsikL8Trzr8R2J7a1ojrhlCAAL /mFHbdorzeUY+lRxoUxEmZ3CR7QAMp9aEvL53VZKn9eScGUGOrOK9NsL5o92FLKt/m9E Oj8p98r4lR6SMorQ70egeazDgg6MZi1JWJqFsVxLZmhK5q0Gm/C4hbAQARpBBAFuy0No EQaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=WJIIbkQP; 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 u15si1696645ejx.53.2020.08.27.09.51.43; Thu, 27 Aug 2020 09:52:06 -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=WJIIbkQP; 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 S1727894AbgH0Qub (ORCPT + 99 others); Thu, 27 Aug 2020 12:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbgH0Qu3 (ORCPT ); Thu, 27 Aug 2020 12:50:29 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D07FC061264; Thu, 27 Aug 2020 09:50:29 -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=Suq6RmjK6UVv4ul6GVoPMckCVMrlCWnO71fryQ+CL5U=; b=WJIIbkQPdfo+0fSSyFE/rSQ1PA OueuGza6VrwoIxjP2FjBHxX3+IW0zd6cb/uBG3QsQc1ONLpSV/d1aJR2IIysD8SGNQglrHXvxyKm8 CWheUSTkKiIVQBmrZXQAUAkDd8NjYEYrIUv8Qi70dEZmIrG786nQ4FkUfFitvW/f87OgtGMZ4tHuP t7D+bLauDjSHv/ammitLvqjNO48U7YkTe4PKbNG7gLkduUR8sJK5xBNE25/zvuHuXKOi1TEMJb3uR lUf0IyrHRzWmMkS7Rs4DumwxyLhw1H1miz1Ubu2/0rcMrsaHD2LTqqj8WfbGqiNI9JrfJXktrab3W Kq53tmbQ==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBL6R-0003jz-4m; Thu, 27 Aug 2020 16:50:19 +0000 Date: Thu, 27 Aug 2020 17:50:19 +0100 From: "hch@infradead.org" To: "Derrick, Jonathan" Cc: "hch@infradead.org" , "wangxiongfeng2@huawei.com" , "kw@linux.com" , "hkallweit1@gmail.com" , "kai.heng.feng@canonical.com" , "linux-kernel@vger.kernel.org" , "mika.westerberg@linux.intel.com" , "Mario.Limonciello@dell.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: <20200827165019.GA13414@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 04:45:53PM +0000, Derrick, Jonathan wrote: > Just a few benefits and there are other users with unique use cases: > 1. Passthrough of the endpoint to OSes which don't natively support > hotplug can enable hotplug for that OS using the guest VMD driver Or they could just write a hotplug driver, which would be more useful than writing a hotplug driver. > 2. Some hypervisors have a limit on the number of devices that can be > passed through. VMD endpoint is a single device that expands to many. Or you just fix the hypervisor. Never mind that this is so much less likely than wanting to pass an individual device or VF to a guest, which VMD makes impossible (at least without tons of hacks specifically for it). > 3. Expansion of possible bus numbers beyond 256 by using other > segments. Which we can trivially to with PCI domains. > 4. Custom RAID LED patterns driven by ledctl Which you can also do by any other vendor specific way. > > I'm not trying to market this. Just pointing out that this isn't > "bringing zero actual benefits" to many users. Which of those are a benefit to a Linux user? Serious, I really don't care if Intel wants to sell VMD as a value add to those that have a perceived or in rare cases even real need. Just let Linux opt out of it instead of needing special quirks all over.