Received: by 10.192.165.148 with SMTP id m20csp1515976imm; Thu, 3 May 2018 00:14:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZreqK3fvpXNncdeNoUBhzKzFSSThwrn6KuIVyMOPk95Q+CIwLB8tucrIfOi7Q0XcRokM8fb X-Received: by 2002:a17:902:bb06:: with SMTP id l6-v6mr23034912pls.255.1525331668620; Thu, 03 May 2018 00:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525331668; cv=none; d=google.com; s=arc-20160816; b=WtrBEvAZw6SS+FRgM0f3RKQ0iBUYRi1XhTod3yIP9fC656WD3QAxhkGPTSFiu9PIEt XrN1sbhCHJ65CUq1gs/XZnxlBUzucebPWrAhi8fRbaFgD7MQai3vR3FoWaPnPsiYeRET XWyCpfVW1xSFfdnmSVH+QnO/mTCZbQ5jibmwGnxmYlhh418bpABJX6/rY487wHvaEtxC /cmhTAeOCkCWasO2/JcEZSrfX4/hLIiHSmyErGJQp7IDN4h51TOgivoaG9QUadGQIlQc ytSWHRgEBu99dG1Bwr7YFfC/9U07tkI+MWvLVbB0psu5fzvfnmQR434a24wOkkVPt60F DzEw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=ZTan4Z4JxVyBb9HknUpfF4/OU2jEJU9M85yA6cB8FLY=; b=UlXOOzwFMy5v7DkDNaQs9kdzy824HEKx0b2g7kiNS548eFC5vvVUHucUd7fgmBffW7 uICeur2wq5KVLM+p1Q/U3ez8alF8awAn2kenwcX34OcsmrYMNmlHNu+OuFKu9balDyOo 8hu5dxHrTtUPVav9xiVobVdHCK6CPDCkyvx/M9vI2eP0W/XNGP6kvFN+muGyvTcQDWXA l6LYlZQbd44DVbDHcYu3MBVGmSe3n+pjSWxa2J8DG8XxoMLL0FXwTjVXC5eUyzWsb0vB E7pzAq7+YTWIlRFyq2BGEdcPwavzyxqUh+zLm0uyGZtcy5vQcuVXRqZ6isNLBWvd2lyn dNiQ== 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 n2-v6si10992278pgs.500.2018.05.03.00.14.14; Thu, 03 May 2018 00:14:28 -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 S1752185AbeECHNI (ORCPT + 99 others); Thu, 3 May 2018 03:13:08 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:49832 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961AbeECHNE (ORCPT ); Thu, 3 May 2018 03:13:04 -0400 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fE8QE-0006WJ-Ul from Vladimir_Zapolskiy@mentor.com ; Thu, 03 May 2018 00:12:58 -0700 Received: from [137.202.108.125] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 3 May 2018 08:12:54 +0100 Subject: Re: [PATCH v2 00/10] PCI: leak fixes, removable generic PCI host, assorted stuff To: Jan Kiszka , Bjorn Helgaas , Linux Kernel Mailing List , , References: CC: Jingoo Han , Joao Pinto , Lorenzo Pieralisi , Will Deacon From: Vladimir Zapolskiy Message-ID: Date: Thu, 3 May 2018 10:12:54 +0300 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.87] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. FWIW the state of unfixably broken https://patchwork.kernel.org/patch/9662893/ should be changed to obsoleted/deprecated/rejected. -- With best wishes, Vladimir