From patchwork Fri Jan 5 23:20:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 123564 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1402101qgn; Fri, 5 Jan 2018 15:21:00 -0800 (PST) X-Google-Smtp-Source: ACJfBovDZ9HeSz1Q0/For1ZVsnFVskGmKtzOrDsjFJz88oU5pfEqwGakEUzqSWGhGhYMjHwAxHcN X-Received: by 10.159.242.198 with SMTP id x6mr4621931plw.85.1515194460882; Fri, 05 Jan 2018 15:21:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515194460; cv=none; d=google.com; s=arc-20160816; b=TWrw34wKZ88x/sxfU6O2EtFjxc/mC+T2cOEhnrcU5TllVDSGAd+kS11S5NlVaShNfs hqJW7+gvk22+OxUdLMTb42gnIBeXLhqZ/yx4qq5ZEE96IWpcJOKq2Cm8KaLrItNIUSQ+ nQyN54xyvLu0iMlG1F1N3Y9WV9GnblHbj78gruQg9+Xum84nCJpp7AgKYgD8O4DKvCvg w1LMfn1/ZVxBAPrxz/bxNGpaH6SXCdEOOFmrwYzEghc7ho8SVLVjA1+c8i2dSbzKoGuq YDWSy2sr3je/RC2YM2Gq0CZ55223GgUiT41FkCsj12510/Bp3rF6vo5sM+s0tQQTjoFq Mo3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ceJwGRiBfBY4vce5Ar05kDv02PEhBwXSVg1QDgDB2c8=; b=rZc23WPxwc9Fpxo5WlB0ESwAS37GN3z3YMbrNUX2an/hAhlOBqz5G5oWIY7a0rgScx 0P/Gcm1gqIORkKRzzJPbwdJbYsotUiIQp8IZIzUFs6JjrGMXHCW1s4lT2psKlBOfzMrt hasK2WaWyf/Z0O9DlE3UqnVaKqhJgbWkFU8BNilKJY02vs82UT7IuuhY6VCDO/bvcpI1 nK+6UxAAiYmcMXF5XPdnwAJcryC6ui+EKPkvxJfdD+MG80+SCE1Ly4ckCOLGPd7gcDqa 4y8twXa/Uojy/BY42t/P/g3eypv5IIoDTmmIz43xyR06fu27wxQdCQEzs5iEv5Tv5l6J ZPUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 v77si4711446pfa.223.2018.01.05.15.21.00; Fri, 05 Jan 2018 15:21:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752475AbeAEXU7 (ORCPT + 6 others); Fri, 5 Jan 2018 18:20:59 -0500 Received: from mail-ot0-f195.google.com ([74.125.82.195]:44908 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752219AbeAEXU6 (ORCPT ); Fri, 5 Jan 2018 18:20:58 -0500 Received: by mail-ot0-f195.google.com with SMTP id g59so5182532otg.11; Fri, 05 Jan 2018 15:20:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=gPh36+LQhwL90gfCj7Ap+1ndjdTQNnzER8hqnXo0k8g=; b=oCPnjXqK8dnNMA27UejQyqtC9AUrsPY1kr4FPBkPyiIV3F8s5LdUQJGjaJvL+aGrKO 9THzqPS4eO3oF6cGjF1bWxclM2m3ttgIKhLz7b4eZxWhEyihH7skS6jnRSrPAvIXPo1W 8RN2hVYE7t7xjsVGx+1ljM9XsEVNugbqxAzd9fflz0N/Dk6V2pJjOCu8ZaWpTtxuUqEA xqLnZUvOSRLDvI1Kqph4yQgySJ0+vXbLndN4W/jedr55qeILxZGtzWkobk7TiiCRz+ry 6ZUp1wn+6uqawnpKr6hJG4EGmy0aHyehyP5Mw4SJBr9F/rd/sdU1TOI/paCyqMW6cASy GhnQ== X-Gm-Message-State: AKwxyte5myvFDuXe3ExNJNFHpn4cWWKvP45B5BHq848+5oxL0adDD+Hx 3H4pXD5bvTmCyAYqAgHDLbZ+QmI= X-Received: by 10.157.34.12 with SMTP id o12mr2833372ota.309.1515194457535; Fri, 05 Jan 2018 15:20:57 -0800 (PST) Received: from xps15.usacommunications.tv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id u1sm1969998otc.3.2018.01.05.15.20.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 15:20:55 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Rowand , Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Ley Foon Tan , nios2-dev@lists.rocketboards.org, Ralf Baechle , linux-mips@linux-mips.org, James Hogan , linux-metag@vger.kernel.org, Mikael Starvik , Jesper Nilsson , linux-cris-kernel@axis.com Subject: [PATCH 0/7] DT: consolidate bootmem support Date: Fri, 5 Jan 2018 17:20:47 -0600 Message-Id: <20180105232054.27394-1-robh@kernel.org> X-Mailer: git-send-email 2.14.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series adds support for bootmem to the DT core code and removes the remaining arch specific early_init_dt_alloc_memory_arch implementations. Compile tested only on arm64, mips, x86, and xtensa. Rob Rob Herring (7): of/fdt: use memblock_virt_alloc for early alloc cris: remove arch specific early DT functions metag: remove arch specific early DT functions mips: remove arch specific early_init_dt_alloc_memory_arch nios2: remove arch specific early_init_dt_alloc_memory_arch x86: remove arch specific early_init_dt_alloc_memory_arch xtensa: remove arch specific early DT functions arch/cris/kernel/Makefile | 19 ------------------- arch/cris/kernel/devicetree.c | 15 --------------- arch/metag/kernel/devtree.c | 14 -------------- arch/mips/kernel/prom.c | 5 ----- arch/nios2/kernel/prom.c | 5 ----- arch/x86/kernel/devicetree.c | 6 ------ arch/xtensa/kernel/setup.c | 12 ------------ drivers/of/fdt.c | 16 ++++------------ drivers/of/unittest.c | 11 ++++++++--- include/linux/of_fdt.h | 1 - 10 files changed, 12 insertions(+), 92 deletions(-) delete mode 100644 arch/cris/kernel/devicetree.c -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Tobias Klauser