Re: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain

From: hch@xxxxxxxxxxxxx
Date: Sat Aug 29 2020 - 03:24:31 EST


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..