Expose VMD BIOS domain info
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI: vmd: Add helpers to access device config spacedrivers/ | +24 | 0 replies | |
| 2/3 | PCI: vmd: Expose VMD details from BIOSdrivers/ | +77 | 14 replies | |
| 3/3 | PCI: vmd: Restore domain info during resets/unloadsdrivers/ | +32 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Expose VMD BIOS domain info
In order to provide better VMD userspace management support, VMD needs to know its instance number in the platform. VMDs can be enabled or disabled, so a simple enumeration can't explicitly determine the instance number of the VMD.
To assist userspace with management tasks, VMD BIOS writes the VMD instance number and socket number into the first enabled root port's IO Base/Limit registers prior to OS handoff. VMD driver can capture this information and expose it to userspace.
This set exposes hardware-specific details of the VMD configuration as written by the VMD-enabled BIOS. This data is restored to the same location on reset or module unload. This set reuses the serialized child device configuration accessors for proper ordering and write flushing.
Jon Derrick (3):
PCI: vmd: Add helpers to access device config space
PCI: vmd: Expose VMD details from BIOS
PCI: vmd: Restore domain info during resets/unloads
drivers/pci/controller/vmd.c | 147 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 133 insertions(+), 14 deletions(-)
Signature · 1 line
1.8.3.1