Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp497007imu; Mon, 26 Nov 2018 13:58:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/VwRPUwtrnYppU5oWlyot61oN/oQ1LYGrWLynxED2Xog3M+TdKDIpXe9Vn/vLqXwV4PSIlC X-Received: by 2002:a62:8f8c:: with SMTP id n134mr16327019pfd.137.1543269512190; Mon, 26 Nov 2018 13:58:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543269512; cv=none; d=google.com; s=arc-20160816; b=HEN7GRd8U+BkLkDN+S8iGy98ayKRXWZnVcjlUrTGlvvSLyuLwtz50aWJz71Q2DDf4N tbe4uLjulnWCzdRo0X/dBCYJRIuUJUenx6DYhOg8zpd7sg0nNzKhOOPYprWy3qaJ/nVC fIosT+rko1SE7dhGvVDoR84yJ1dVTkZRny0y0PiJ092yIZ3ol888tGAuDnBibzS4jOGW jm08mOvpwh9xszxrZvNKJwd+bRyA+19PgsrguqEewVrUVRQMwRiTQjD10nCbf23hVKtm vNl9mnkIzli5PgWEpVIqyrx5qUUNhltewP3rFdIGZCcI4HIbTpPIT4c0ipVTouOgn3Nc H+UA== 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=LwYRhFzFiwva3ZebRctiTosQ5pH2e977M8sHObLCgxE=; b=zRKRWSp5xUrXIP3kTPDEYIHAVMO2SE8JKKoP+zBE18aStkm4W27ShGqEO8tN7jJ4Bv 3xBQRfMOZVP95Ik+efULWC5T18c5MI5fRuaFuwYbxV680MYENNvA1Yg/4gZ/thI0HPE2 iDIJb972eA9gOLiN2elROO02qFYxoHtzieC1cwj94OaH41ExfWDzzuOXq7n09lhe7Q/y 3wyVqDzjyMnzC1jpzpGUOVOtHH0U7AObOhNd4vi/MQ1WFqyNuVje1PL0LG92OLNZ20vQ 1HCypG12d3ZONd57Z/FUWnubxhfdcqvUiPWGgxSuidk+vcC9sPKx+IpAejnultyRm2rN jPFg== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si1392153pgs.588.2018.11.26.13.58.16; Mon, 26 Nov 2018 13:58:32 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727114AbeK0Ivj (ORCPT + 99 others); Tue, 27 Nov 2018 03:51:39 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:43251 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbeK0Ivj (ORCPT ); Tue, 27 Nov 2018 03:51:39 -0500 Received: by mail-oi1-f195.google.com with SMTP id u18so17375222oie.10; Mon, 26 Nov 2018 13:56:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LwYRhFzFiwva3ZebRctiTosQ5pH2e977M8sHObLCgxE=; b=uJl1II6BWowUp1yzny025gVj71pGmPt+m4jf35IqldWecEGFQHMgEUYP0647mGADtx FstzvLkII8Uvuor6BFUUIHk3W/L33bU9ogBpDxnK+NhbYjfyA/fNr1Y4dYtDa6ZIKxX1 rUwoc4IvHeyRWMQ7Z4EOwTH9ynnxOBlw4kx+IxAJq672FztJpQPhnyvHEjlpgvdI4Xiy VpZ5+U8UhZZkhs0Jhec51c7++3O02nAmg8pbS1tBszYQakJva3YqW7ch/fm+JTvXUFuZ iUuf5fANAwC/HzETRaDylRxuTiZDKB34kUIv9JmoZnC27K+nNOg41NbzSsbCBFdyg61m +amw== X-Gm-Message-State: AGRZ1gKpn0nKkYTcP76egTCijjGyrjIkkyKUcBPQHwg3aM8dN8WDMzcn /SwmDmz2bOTSEj9NbBSLASskP7c= X-Received: by 2002:aca:c382:: with SMTP id t124mr17283657oif.220.1543269366160; Mon, 26 Nov 2018 13:56:06 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u136sm455615oie.38.2018.11.26.13.56.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Nov 2018 13:56:05 -0800 (PST) Date: Mon, 26 Nov 2018 15:56:04 -0600 From: Rob Herring To: Florian Fainelli Cc: Mike Rapoport , linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Frank Rowand , Andrew Morton , Marc Zyngier , Russell King , Andrey Ryabinin , Andrey Konovalov , Masahiro Yamada , Robin Murphy , Laura Abbott , Stefan Agner , Johannes Weiner , Greg Hackmann , Kristina Martsenko , CHANDAN VN , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE" , linux@armlinux.org.uk, green.hu@gmail.com, deanbo422@gmail.com, gxt@pku.edu.cn, ard.biesheuvel@linaro.org, linux-snps-arc@lists.infradead.org, vgupta@synopsys.com Subject: Re: [PATCH v4 0/6] arm64: Get rid of __early_init_dt_declare_initrd() Message-ID: <20181126215604.GA12509@bogus> References: <20181105225431.24485-1-f.fainelli@gmail.com> <20181106140642.GA19280@rapoport-lnx> <68b32163-85ff-45f7-8887-60273da7c6e2@gmail.com> <20181113002216.GA26854@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181113002216.GA26854@bogus> 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 Mon, Nov 12, 2018 at 06:22:16PM -0600, Rob Herring wrote: > On Mon, Nov 12, 2018 at 12:32:50PM -0800, Florian Fainelli wrote: > > On 11/6/18 6:06 AM, Mike Rapoport wrote: > > > On Mon, Nov 05, 2018 at 02:54:25PM -0800, Florian Fainelli wrote: > > >> Hi all, > > >> > > >> Changes in v4: > > >> > > >> - dropped initrd_below_start_ok assignment in ARM64, not necessary at > > >> all (Ard) > > >> - replace #ifdef CONFIG_BLK_DEV_INITRD with if > > >> (IS_ENABLED(CONFIG_BLK_DEV_INITRD) for consistency with other parts > > >> of arm64_memblock_init() (Rob) > > >> > > >> Changes in v3: > > >> > > >> - use C conditionals in drivers/of/fdt.c > > >> - added check on phys_initrd_size in arch/arm64/mm/init.c to determine > > >> whether initrd_start must be populated > > >> - fixed a build warning with ARC that was just missing an (unsigned > > >> long) cast > > >> > > >> Changes in v2: > > >> > > >> - get rid of ARCH_HAS_PHYS_INITRD and instead define > > >> phys_initrd_start/phys_initrd_size in init/do_mounts_initrd.c > > >> > > >> - make __early_init_dt_declare_initrd() account for ARM64 specific > > >> behavior with __va() when having CONFIG_DEBUG_VM enabled > > >> > > >> - consolidate early_initrd() command line parsing into > > >> init/do_mounts_initrd.c > > >> > > >> Because phys_initrd_start/phys_initrd_size are now compiled in > > >> ini/do_mounts_initrd.c which is only built with CONFIG_BLK_DEV_INITRD=y, > > >> we need to be a bit careful about the uses throughout architecture > > >> specific code. > > >> > > >> Previous discussions/submissions list here: > > >> > > >> v3: > > >> https://www.spinics.net/lists/arm-kernel/msg683566.html > > >> v2: > > >> https://lkml.org/lkml/2018/10/25/4 > > >> > > >> Florian Fainelli (6): > > >> nds32: Remove phys_initrd_start and phys_initrd_size > > >> arch: Make phys_initrd_start and phys_initrd_size global variables > > >> of/fdt: Populate phys_initrd_start/phys_initrd_size from FDT > > >> arm64: Utilize phys_initrd_start/phys_initrd_size > > >> of/fdt: Remove custom __early_init_dt_declare_initrd() implementation > > >> arch: Move initrd= parsing into do_mounts_initrd.c > > > > > > For the series: > > > > > > Reviewed-by: Mike Rapoport > > > > Thanks Mike, Rob, do you want to merge that series through the OF tree? > > Sure, some arch maintainer acks would be nice. I've now applied the series. Thanks, Rob