summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_entropy.c
diff options
context:
space:
mode:
authorMichael Brown2022-11-13 21:45:38 +0100
committerMichael Brown2022-11-13 22:38:41 +0100
commit2ae535532188b7772c2aba80247dfdce23d8f275 (patch)
tree20e4364923e725d91ac259040d403a0d420c4905 /src/interface/linux/linux_entropy.c
parent[pci] Allow PCI config space backup to be limited by maximum offset (diff)
downloadipxe-2ae535532188b7772c2aba80247dfdce23d8f275.tar.gz
ipxe-2ae535532188b7772c2aba80247dfdce23d8f275.tar.xz
ipxe-2ae535532188b7772c2aba80247dfdce23d8f275.zip
[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/interface/linux/linux_entropy.c')
0 files changed, 0 insertions, 0 deletions