RE: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain
From: Limonciello, Mario
Date: Thu Aug 27 2020 - 13:50:02 EST
> > I don't see the purpose of this line of discussion. VMD has been in the
> > kernel for 5 years. We are constantly working on better support.
>
> Please just work with the platform people to allow the host to disable
> VMD. That is the only really useful value add here.
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.