Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp744314imm; Fri, 28 Sep 2018 06:12:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV61eMqpvsFDmaIGhMwSoo/Q5KV6rcvz+U9EYCBBSCtEdCK7a9GNYXjZQFrJ8fpeLl4jM+gdI X-Received: by 2002:a17:902:20c5:: with SMTP id v5-v6mr10929695plg.62.1538140350990; Fri, 28 Sep 2018 06:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538140350; cv=none; d=google.com; s=arc-20160816; b=ZcvOoFINR07RT7G3DvIdzCQqhIyBmmhGraLfDcw1z7q1xDHmsAi8Q8CPaZjvjCZw/u rX73pwCRU0KMc9nNeVJucDjQI2qfTVx8YevMc5l+PSjeZzRx027VLqNf6gEqsgsTRE2D zBhL4f1aDgT8v32V3RBfbELl9gd2A5vHOh75W+6oTLaRojuv6wa0dKYTSNC8xVtY8oMd qOAMWHjnaw+LUv5RkmKj8dhXfdCE0taaxTY2jO6hYQGmTGlrAD3y3lCKlhAEwJhb7Xyn ZgDpvNcbiA7zQgbWWUnPUMKpl1WvJvOhOEXqqTkEq27D4ZCIVmwXVTTPQ0RzUnqmWWmd E6jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=FrJIcXNGp+IRAwkQpjtl7QjtfBNeMYZ1ySWHubS3qGE=; b=qQZ8ohaKgUHbzWPRMf8LDJZ44vamCRLYJtSX0GSdO4kVmIjPLq0QYFQXCiW3KAfbsi 3SClRlnz8eSQxFL+unDhyYGvdR3iajs5QvvYimD3kZkNx82GvtO6bPCw3h+SXA3FxV8k A+JJdmg4mtMFiu+ifsaEtjCijlETpQr/NKXL6V4z107dU/VNOlDqiGMx8fdoTdWbVg8b y+7JEVHtrMbFS1VkZ+dHhADSBRiR4Jcq2lNYcq0Vr++HXe9iixGIgTBvo0jxuI6N8LuU 74eBfFRyyjO27ZBCVVtKikDbKzFI67hBTqg6GX4CbvNvE22v2fZcVK8t9qoLmjarRDPU qL/w== 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 m23-v6si4657760pgk.424.2018.09.28.06.12.14; Fri, 28 Sep 2018 06:12:30 -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 S1728820AbeI1Te0 (ORCPT + 99 others); Fri, 28 Sep 2018 15:34:26 -0400 Received: from mx2.suse.de ([195.135.220.15]:50536 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726068AbeI1Te0 (ORCPT ); Fri, 28 Sep 2018 15:34:26 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 57686AD00; Fri, 28 Sep 2018 13:10:42 +0000 (UTC) Date: Fri, 28 Sep 2018 15:10:43 +0200 From: Borislav Petkov To: Bjorn Helgaas Cc: lijiang , dan.j.williams@intel.com, brijesh.singh@amd.com, bhe@redhat.com, thomas.lendacky@amd.com, tiwai@suse.de, x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, mingo@redhat.com, baiyaowei@cmss.chinamobile.com, hpa@zytor.com, tglx@linutronix.de, dyoung@redhat.com, akpm@linux-foundation.org, Vivek Goyal Subject: Re: [PATCH 3/3] resource: Fix find_next_iomem_res() iteration issue Message-ID: <20180928131043.GB21895@zn.tnic> References: <153782698067.130337.12079523922130875402.stgit@bhelgaas-glaptop.roam.corp.google.com> <153782730364.130337.17794279728329113665.stgit@bhelgaas-glaptop.roam.corp.google.com> <13084ce6-e29a-c244-3f9c-cf0725646d9f@redhat.com> <20180927140351.GA257735@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180927140351.GA257735@bhelgaas-glaptop.roam.corp.google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 27, 2018 at 09:03:51AM -0500, Bjorn Helgaas wrote: > Since I think the current interface (using *res as both input and > output parameters that have very different meanings) is confusing, FTR, I too, think that this whole machinery in resource.c with passing in a function and a struct resource pointer and is clumsy and could use a rewrite. When there's time... ;-\ -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)