aboutsummaryrefslogtreecommitdiff
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorNirmal Patel <[email protected]>2023-02-24 13:28:11 -0700
committerLorenzo Pieralisi <[email protected]>2023-05-08 09:17:13 +0200
commitb61cf04c49c3dfa70a0d6725d3eb40bf9b35cf71 (patch)
treed3c229eed778eef680d6eab27812421cd6782375 /scripts/mod/file2alias.c
parentac9a78681b921877518763ba0e89202254349d1b (diff)
PCI: vmd: Reset VMD config register between soft reboots
VMD driver can disable or enable MSI remapping by changing VMCONFIG_MSI_REMAP register. This register needs to be set to the default value during soft reboots. Drives failed to enumerate when Windows boots after performing a soft reboot from Linux. Windows doesn't support MSI remapping disable feature and stale register value hinders Windows VMD driver initialization process. Adding vmd_shutdown function to make sure to set the VMCONFIG register to the default value. Link: https://lore.kernel.org/r/[email protected] Fixes: ee81ee84f873 ("PCI: vmd: Disable MSI-X remapping when possible") Signed-off-by: Nirmal Patel <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Jon Derrick <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions