diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-10-09 15:06:24 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-10-10 13:36:17 +1100 |
commit | 347e24521e87549f50ab049fc131567dd2d0ff92 (patch) | |
tree | e132f53dde47a76e79dac95b7b69ed1d05dede60 /core/pci-quirk.c | |
parent | c375cfca55d70b079720b80153a8631a60504bcb (diff) | |
download | blackbird-skiboot-347e24521e87549f50ab049fc131567dd2d0ff92.tar.gz blackbird-skiboot-347e24521e87549f50ab049fc131567dd2d0ff92.zip |
pci-iov: free memory across fast-reboot
pci_set_cap needs a callback to free data and we need to call
that when we're doing __pci_reset()
We also need to free pcrf entries.
In the future, __pci_reset() and pci_remove_bus() need to come
together to be one canonical place on how to free a PCI device
rather than the two we have now. This patch *purely* focuses
on the problem of not leaking memory across fast-reboot.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/pci-quirk.c')
0 files changed, 0 insertions, 0 deletions