Received: by 10.192.165.148 with SMTP id m20csp1542993imm; Thu, 3 May 2018 00:53:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrID1PaF8zggilTroQ23HoAnu9iT+hqvPJ25eKeeQ2yF9TAxqr1rRedBS0J3T+bWjYqC8SS X-Received: by 2002:a63:6502:: with SMTP id z2-v6mr9515648pgb.159.1525333998536; Thu, 03 May 2018 00:53:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525333998; cv=none; d=google.com; s=arc-20160816; b=ptaAbXk9YB1g35gaNiTVQKes4X+MGVWtEIiNjYBwmV4GwJeGaHVYclYgkrmSztfP2u sVDen3/lXeswEq1aFqSXJVbkTOqhQS3apyEms7IUpPdr4OGcqLie5qHl/5J+p9QPvYAs hQxLrFI7BAWC9woZSlG/WRGPncYipYbwmlNt0b2RPl8rYgenkpMn+nhhVEc/PwA5Z5pH Rbl2WvWxdf8LOHSl081oL7h+pw432yJ4gVQxl5nipToOZFit7uqVj2IjjBp2wL/OhhmD PhRSHBeoGYllnFZHXe7r9ovIXh22SU3xb7iv7ZMovcZhoCTZzK0rQMG5tGx/rxrvKIY9 fTwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=e54O3oKwMJuCRUVUo6Tcn2u0swo6FtSuSh1aC3P6Y2s=; b=rFOYMJbv/qfc7uyvk3elc42lnY+Uj/R1EE7JljVL3a3ZZyAJqHBOtzwAjCtjyeWztn jbmr4NU3g/XAtWMdj9+gIIuhgLZw88yvTUy2OnjA128XoTb3tfhbq8aEOWDcXPMt16Zj 7IdkkRNmBK3dy2pXdoBFfvjEZ8wCrRPJjHU4oCgUU2P66gEWmOlRUfa8TCU7kSr2FLYh lyB4stMjyWO0uExaag7u5sfGXTVX8Iodwdt1vSHJa330rMX2glaoqE/8OKnxB9u3M20p yZ9zqCyHMoVyPc2RXwjzMjdceopDcBmPGqPhEKxtYzG79jOmH4XfNa95NHu1R929grDZ m1rQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9-v6si13235660plb.415.2018.05.03.00.53.04; Thu, 03 May 2018 00:53:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751359AbeECHwr (ORCPT + 99 others); Thu, 3 May 2018 03:52:47 -0400 Received: from goliath.siemens.de ([192.35.17.28]:58901 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751178AbeECHwn (ORCPT ); Thu, 3 May 2018 03:52:43 -0400 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w437qH0v020221 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 May 2018 09:52:17 +0200 Received: from [139.22.115.151] ([139.22.115.151]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w437qGQT020738; Thu, 3 May 2018 09:52:16 +0200 Subject: Re: [PATCH v2 00/10] PCI: leak fixes, removable generic PCI host, assorted stuff To: Vladimir Zapolskiy , Bjorn Helgaas , Linux Kernel Mailing List , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Jingoo Han , Joao Pinto , Lorenzo Pieralisi , Will Deacon References: From: Jan Kiszka Message-ID: Date: Thu, 3 May 2018 09:52:16 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Vladimir, On 2018-05-03 09:12, Vladimir Zapolskiy wrote: > Hi Jan, > > On 04/30/2018 08:48 AM, Jan Kiszka wrote: >> 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