← Back to team overview

kernel-packages team mailing list archive

[Bug 1505671] [NEW] Missing patches for CXL dri

 

You have been subscribed to a public bug:

---Problem Description---
cxl module patch missing
 
Contact Information = Andrew Donnellan <andrew.donnellan@xxxxxxxxxxx> 
 
---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 <dja@xxxxxxxxxx>
Signed-off-by: Andrew Donnellan <andrew.donnellan@xxxxxxxxxxx>

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: linux (Ubuntu)
     Importance: High
     Assignee: Canonical Kernel Team (canonical-kernel-team)
         Status: Triaged


** Tags: architecture-ppc64le bot-comment bugnameltc-131692 severity-critical targetmilestone-inin14043
-- 
Missing patches for CXL dri
https://bugs.launchpad.net/bugs/1505671
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.