← Back to team overview

kernel-packages team mailing list archive

[Bug 1505671] Re: Missing patches for CXL dri


** Also affects: linux (Ubuntu Xenial)
   Importance: High
     Assignee: Canonical Kernel Team (canonical-kernel-team)
       Status: Triaged

** Changed in: linux (Ubuntu Xenial)
       Status: Triaged => Fix Committed

** Changed in: linux (Ubuntu Xenial)
     Assignee: Canonical Kernel Team (canonical-kernel-team) => Tim Gardner (timg-tpi)

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Missing patches for CXL dri

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  ---Problem Description---
  cxl module patch missing
  Contact Information = Andrew Donnellan <andrew.donnellan@xxxxxxxxxxx> 
  ---uname output---
  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] 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).

To manage notifications about this bug go to: