Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1197449imm; Wed, 18 Jul 2018 19:24:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfTJhZSrXrZuHKF0EyDN8oplVcahBJe3twScs9uhxm62Z/9omXtsmsnHrVUxKREpbdTIz3+ X-Received: by 2002:a63:af14:: with SMTP id w20-v6mr8349623pge.47.1531967069601; Wed, 18 Jul 2018 19:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531967069; cv=none; d=google.com; s=arc-20160816; b=uThC/X9JkS6rEXeJmr7cFgEgObDc+QVyYtxNMS0BGRe3riIsgJ0k6ZYiP9xWUvTsPq O1d++KA1Cv9tKlynaHUbyN9N/0xOTsyOzX4jJs6xY2Nh2mzMyd0lhqlwTqB2o8mtLcCx ob21X5taB5tOhf8tPw98uT2yYrl/vgu+yVkqswOFAHjzqzWlXvTeMP8K52j5kFVXeAl9 XU7l18F8eRWJHg9uEe39tipKSekQG6nODHRobuv1tJuuWrKD6ictGXNbfvmTFwonK+jm 6mv2VmFSzppZxO/9OrvlWOi5cteR/zxcRO2gFppPzxSdXL5VavDfrkQ5PkeiyaL641bK z2JQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=UzX7VD0X3z38kgJvZP1iZSFPHYIGUmBDItNHAiXornM=; b=SRyn3CsllL7TBunJPkXvwjeN7IDJHLGLNOQv4MezgAYK6zn7siezI+JNZYoBzOuPcw mjQaZDCanVE6GcuIK4lBT4gwdShr/nrMZmZ2ui9aHSGHeBcBqh/Vw6EwUjnp3syPxCGI k3a4lAAtayUH0DImtDbUs4dqFTbEuDy/p97Z9MzP+AasllmDrSAZUT8Eishgh2HT2RHj Y07qVBr1QJoAzKXGJ2X1xo+p/sN/eDB4D4ByOH5NeHN2OY3eVgdDVmaH7QIVfbNkklvL WBJh+DldzRFR68Ora22iGKoYQFZObpFL5DQEg1tFtADROz1scPwwtzsrdGVTa355O/J6 GRYw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e85-v6si4824108pfl.132.2018.07.18.19.24.14; Wed, 18 Jul 2018 19:24:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731270AbeGSDEZ (ORCPT + 99 others); Wed, 18 Jul 2018 23:04:25 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33618 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730811AbeGSDEY (ORCPT ); Wed, 18 Jul 2018 23:04:24 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 019F087A74; Thu, 19 Jul 2018 02:23:40 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-145.pek2.redhat.com [10.72.12.145]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 30E841C55D; Thu, 19 Jul 2018 02:23:30 +0000 (UTC) Date: Thu, 19 Jul 2018 10:23:25 +0800 From: Dave Young To: James Morse Cc: AKASHI Takahiro , catalin.marinas@arm.com, will.deacon@arm.com, dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, bhe@redhat.com, arnd@arndb.de, ard.biesheuvel@linaro.org, bhsharma@redhat.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Eric W. Biederman" Subject: Re: [PATCH v11 03/15] powerpc, kexec_file: factor out memblock-based arch_kexec_walk_mem() Message-ID: <20180719022325.GA2773@dhcp-128-65.nay.redhat.com> References: <20180711074203.3019-1-takahiro.akashi@linaro.org> <20180711074203.3019-4-takahiro.akashi@linaro.org> <20180716122623.GB7160@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 19 Jul 2018 02:23:40 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 19 Jul 2018 02:23:40 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dyoung@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, On 07/18/18 at 05:52pm, James Morse wrote: > Hi Dave, Akashi, > > On 16/07/18 13:26, Dave Young wrote: > > On 07/11/18 at 04:41pm, AKASHI Takahiro wrote: > >> Memblock list is another source for usable system memory layout. > >> So powerpc's arch_kexec_walk_mem() is moved to kexec_file.c so that > >> other memblock-based architectures, particularly arm64, can also utilise > >> it. A moved function is now renamed to kexec_walk_memblock() and merged > >> into the existing arch_kexec_walk_mem() for general use, either resource > >> list or memblock list. > >> > >> A consequent function will not work for kdump with memblock list, but > >> this will be fixed in the next patch. > > > > If this breaks something, then it would be good to fold the following > > patch in this patch so that bisect can still work? > > This patch is just moving code from arch/powerpc that is generic. > powerpc doesn't support kdump via kexec_file, so nothing is damaged by adding > this new code in the next patch. > > arm64 would need this kdump support, but it doesn't use it until patch 11. Ok, then I'm fine with it, thanks for the explanation. > > > Thanks, > > James Thanks Dave