Public bug reported: ---Problem Description--- cxl module patch missing Contact Information = Andrew Donnellan <[email protected]> ---uname output--- 14.04.3 https://patchwork.ozlabs.org/patch/516142/ - powerpc/pci: export pcibios_free_controller() https://patchwork.ozlabs.org/patch/529548/ - cxl: Free virtual PHB when removing
Andrew Donnellan - Sept. 10, 2015, 6:28 a.m. 1) Export pcibios_free_controller(), so it can be used by the cxl module to free virtual PHBs. arch/powerpc/kernel/pci-common.c | 1 + 1 file changed, 1 insertion(+) 2) When adding a vPHB in cxl_pci_vphb_add(), we allocate a pci_controller struct using pcibios_alloc_controller(). However, we don't free it in cxl_pci_vphb_remove(), causing a leak. Call pcibios_free_controller() in cxl_pci_vphb_remove() to free the vPHB data structure correctly. Signed-off-by: Daniel Axtens <[email protected]> Signed-off-by: Andrew Donnellan <[email protected]> This patch depends on "powerpc/pci: export pcibios_free_controller()" [0]. [0] https://patchwork.ozlabs.org/patch/516142/ --- drivers/misc/cxl/vphb.c | 2 ++ 1 file changed, 2 insertions(+) The target for this bug is 14.04.3 (3.19 kernel). ** Affects: ubuntu Importance: Undecided Status: New ** Tags: architecture-ppc64le bugnameltc-131692 severity-critical targetmilestone-inin14043 ** Tags added: architecture-ppc64le bugnameltc-131692 severity-critical targetmilestone-inin14043 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1505671 Title: Missing patches for CXL dri To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1505671/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
