diff options
author | Michael Brown <mcb30@ipxe.org> | 2022-11-13 20:45:38 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2022-11-13 21:38:41 +0000 |
commit | 2ae535532188b7772c2aba80247dfdce23d8f275 (patch) | |
tree | 20e4364923e725d91ac259040d403a0d420c4905 /src/drivers/net/intel.c | |
parent | ca2be7e094c900542e36f70f3abc3c8ff7c3055d (diff) | |
download | ipxe-2ae535532188b7772c2aba80247dfdce23d8f275.tar.gz |
[pci] Backup and restore standard config space across PCIe FLR
The behaviour of PCI devices across a function-level reset seems to be
inconsistent in practice: some devices will preserve PCI BARs, some
will not.
Fix the behaviour of FLR on devices that do not preserve PCI BARs by
backing up and restoring PCI configuration space across the reset.
Preserve only the standard portion of the configuration space, since
there may be registers with unexpected side effects in the remaining
non-standardised space.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/intel.c')
0 files changed, 0 insertions, 0 deletions