Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10862105imu; Thu, 6 Dec 2018 07:56:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/U8dsY84D12w2IBKjL44HCjQSVK6pZv5zAwlMT/mL814dzltcWybeTKpqyC+fYwybU38jNp X-Received: by 2002:a62:528e:: with SMTP id g136mr30468785pfb.111.1544111818969; Thu, 06 Dec 2018 07:56:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544111818; cv=none; d=google.com; s=arc-20160816; b=cFgG52qgJ5ioUiOK9wD/rgefluK1NKtOCRAjMvIxOVKEK+79JlxFQhuDMgi99BK38s lIsDmkDeJBgz3AZER4XQi8y87S9+HN1RTRXHz8LtX9I1Gu2NoxYJAvs3p3SjYf82ipVo 0e1qK1R+BoSF2mopZigkhbm2DN1fzw87bDOpK2ogTUqkfBUQkRBB129ltUVDMN4YWp/o VUZRADJSNLWKp1y8OhuYRJDCjZPz3C7cLrq7fG8ZNTub/Ymx7DPvulpDf8wmrviiBeyK NePoWxOuES1VaIJWAImGjavIfenYRKSKWLUkprOOAyXp/3wXrwtNZGA80tZx9qy9AG+d 6aHA== 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; bh=iQCZXS4CHUyerC7IRp2z2N/da7Co6CjJC6eOPAQdECM=; b=jcyz50VZ+k96TOyT9MDFEgNKK/oYer11+cn0+yVjTPtfWU4gQGogLnGfBgmd2QTEcN 4N18hGIKdryINgDn+SVO1VzAP+dz1I78rJuqe944CLGuMoBbpQO3Pah4LQ9zn4bIGIa2 fLr7gvql50EiyPUS4yQkM3t06wK3scEzxKelHKj/SCgYOVn7PvWILcATX8/pHBOT6Uxb N8ecqrLtOUVMZBkUH7fJvwkGKXp2klNhJbTpmN2jy7dQvZO7GAQO7Ktyr50nc0+bIahg SukVoT8FAiY/uAfC3foCSlXkywYf04EHy7WvMFqJkTbi85TgqZkw55ej77MKr4oyOJpt pZuw== 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 d10si497208pls.170.2018.12.06.07.56.40; Thu, 06 Dec 2018 07:56:58 -0800 (PST) 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 S1726264AbeLFPyG (ORCPT + 99 others); Thu, 6 Dec 2018 10:54:06 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:54022 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbeLFPyE (ORCPT ); Thu, 6 Dec 2018 10:54:04 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E356480D; Thu, 6 Dec 2018 07:54:03 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B18F43F59C; Thu, 6 Dec 2018 07:54:03 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id C9A9C1AE0BD1; Thu, 6 Dec 2018 15:54:24 +0000 (GMT) Date: Thu, 6 Dec 2018 15:54:24 +0000 From: Will Deacon To: Rob Herring Cc: "AKASHI, Takahiro" , Catalin Marinas , David Howells , Vivek Goyal , Herbert Xu , David Miller , dyoung@redhat.com, Baoquan He , Arnd Bergmann , Martin Schwidefsky , Heiko Carstens , prudo@linux.ibm.com, Ard Biesheuvel , James Morse , bhsharma@redhat.com, kexec@lists.infradead.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , Frank Rowand , devicetree@vger.kernel.org Subject: Re: [PATCH v16 06/16] lib: fdt: add a helper function for handling memory range property Message-ID: <20181206155424.GA4422@arm.com> References: <20181115055254.2812-1-takahiro.akashi@linaro.org> <20181115055254.2812-7-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Thanks for reviewing this. On Thu, Dec 06, 2018 at 08:47:04AM -0600, Rob Herring wrote: > On Wed, Nov 14, 2018 at 11:52 PM AKASHI Takahiro > wrote: > > > > Added function, fdt_setprop_reg(), will be used later to handle > > kexec-specific property in arm64's kexec_file implementation. > > It will possibly be merged into libfdt in the future. > > You generally can't modify libfdt files. Any changes will be blown > away with the next dtc sync (there's one in -next now). Though here > you are creating a new location with fdt code. lib/ is just a shim to > the actual libfdt code. Don't put any implementation there. You can > add this to drivers/of/fdt_address.c for the short term, but it still > needs to go upstream. > > Otherwise, the implementation looks fine to me. I agree, but I don't think there's a real need for us to hack drivers/of/fdt_address.c in the meantime -- let's just target upstream and not carry this in the kernel. Akashi -- for now, I'll drop the kdump parts of this series which rely on this helper. The majority of the series is actually independent and can go in as-is. I've pushed out a kexec branch to the arm64 tree for you to take a look at: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=kexec Thanks, Will