Thread (8 messages) flat view 8 messages, 3 authors, 2016-08-11

Re: [PATCH v3] powerpc/pseries: use pci_host_bridge.release_fn() to kfree(phb)

From: Mauricio Faria de Oliveira <hidden>
Date: 2016-08-11 17:35:21

On 08/11/2016 02:01 AM, Andrew Donnellan wrote:
In cxl, we currently call:

    pci_remove_root_bus(phb->bus);
    pcibios_free_controller(phb);

which appears to break with this patch after I wire up
pci_set_host_bridge_release() in cxl, as phb can be freed before we call
pcibios_free_controller().
Ugh; you're right. I believe the user is expected to use either one way
or another, but now I see it's not that intuitive -- a design fault.

I'll address this w/ the other review/suggestion by Gavin; replying it.
Missing a '---' here :)
quoted
Changelog:
Ok, thanks!


-- 
Mauricio Faria de Oliveira
IBM Linux Technology Center
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help