Thread (25 messages) 25 messages, 5 authors, 2018-05-10

[PATCH v2 00/10] PCI: leak fixes, removable generic PCI host, assorted stuff

From: jan.kiszka@siemens.com (Jan Kiszka)
Date: 2018-05-03 07:52:47
Also in: linux-pci, lkml

Hey Vladimir,

On 2018-05-03 09:12, Vladimir Zapolskiy wrote:
Hi Jan,

On 04/30/2018 08:48 AM, Jan Kiszka wrote:
quoted
Changes in v2:
 - patch 1: commit message reworking as suggested by Lorenzo
 - patch 3-6: split-up as suggested by Bjorn
 - patch 8: new
 - patch 10: select PCI_DOMAINS from PCI_HOST_GENERIC, rather than
   allowing manual choice, as suggested by Lorenzo

This primarily enables to unbind the generic PCI host controller without
leaving lots of memory leaks behind. A previous proposal patch 5 was
rejected because of those issues [1].

The fixes have been validated in the Jailhouse setup, where we add and
remove a virtual PCI host controller on hypervisor activation/
deactivation, with the help of kmemleak.
by chance I was looking into a memleak in of_pci_get_host_bridge_resources(),
so I can give you a number of review tags.
Thanks for the reviews and tests! And the pointer for the maintainers to
the conflict around patch 7.
FWIW the state of unfixably broken https://patchwork.kernel.org/patch/9662893/
should be changed to obsoleted/deprecated/rejected.
Indeed.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help