Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5331370ybg; Tue, 22 Oct 2019 01:20:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwV6vlEoeDiy9BWs1jTUoQlhmvl2vwR1qKsRq0uTAAjvCda14JHKScC66sCTc0ObBLxRMMB X-Received: by 2002:a17:906:7097:: with SMTP id b23mr26725111ejk.252.1571732457107; Tue, 22 Oct 2019 01:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571732457; cv=none; d=google.com; s=arc-20160816; b=MnLwBteyjq1y1HCqBKwem/egoW3+58bhITpCAsUAB5/uKlqFRsSo5E4npKX5dyz9Qw ePg/LYMABOvPWODa6OKYZShnB5aGpwLHtVrU44O5svp27YunjlOLnfGzOYgYb6xBBwSc opq4Crhvepqj9+OCnmZOFFVAAlOn86NjCVO8ezm4f6Br/mhPqsYhnDBlZt0U8uhSyIXq 03YZpCRjXCfygRnRogL2CX0KyOzlFCJrGeadkMeQxmaZ4uxkhl/XEizpDE6LvZ/dWgw9 CDDYHqN+bUNV30sMsX25nN91/J12vY0El1HWEMMR6caA563fJFDR3pNoltnIsIGorDUt tqyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FDa3VnBT23L9dvMYIxsGdPSjONQzum8y5hGoC5q7sNA=; b=ypWSHuPmh0kS3qhmPBmarsc/j5efHvF55zNaLXV30W8O0D29q7LZJe+lbVzuC0p+xs fMiCgSMFm7b+xsz9tCaFskhcCL3g5CgLnuZGcy/PRBT48pxlkZV3Uq32HUnFmIgnoIeT FHewEu4vLJP/IEv7bKNeEWYxUx2maOn+BTcRqFtn7GsbsCuEtGwQuPsLBGRU96HaoG7Y /PiyVAaarwv5bP01ZvyrZIlMYYwSBUQF/QFGWLimyuBHOPJYwp9vN0jmM0UTitCOsjAY DCtWrMWKwYXbCXnqhei4cw3R2k7TQYKzxCjHD4yLu07OpPTFUFrDAp5NFuJtRRVNXqtv kcVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hazent-com.20150623.gappssmtp.com header.s=20150623 header.b=EMe+Ib7C; 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 cb5si4636490ejb.270.2019.10.22.01.20.31; Tue, 22 Oct 2019 01:20:57 -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; dkim=pass header.i=@hazent-com.20150623.gappssmtp.com header.s=20150623 header.b=EMe+Ib7C; 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 S2388225AbfJVITq (ORCPT + 99 others); Tue, 22 Oct 2019 04:19:46 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:32897 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388061AbfJVITq (ORCPT ); Tue, 22 Oct 2019 04:19:46 -0400 Received: by mail-wm1-f68.google.com with SMTP id 6so3117175wmf.0 for ; Tue, 22 Oct 2019 01:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hazent-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FDa3VnBT23L9dvMYIxsGdPSjONQzum8y5hGoC5q7sNA=; b=EMe+Ib7CMnddao0MTq/n4feJ1cOdAhbnKH4v/Ih316dUI5ksR8Ln3J58CBLkid9TTy +3kLvmgw3lGnYvoPL2yCxjrhKNAgXlSDGJZ7s8thbeWppNKhW+Yvv3LNDpIMRTVjCUI9 a3NnopicdCmrLV4YzKLz4fd3YmORebKVFeimYbkK2hg5Jj7H2dnJ31KDxKXbfigk/aEx qwG0VlnHp8frquqAhjJ44xKFP+sk5d3SY+Lk2d21fGb5RwK2mMMjhYPV4zI7TfwjThbZ SdnxLP10dU7J/F9Ul0nFhYxYYUl0WWL29GcfQzv0y6Otefzn7RMY/TWS5aWih+YoDI1z ryuQ== 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:mime-version :content-transfer-encoding; bh=FDa3VnBT23L9dvMYIxsGdPSjONQzum8y5hGoC5q7sNA=; b=baVtGjtc3sEp/ci+VVNmf1PG9K+H2YlXXImgZ1/6wqzBRj7kFu9D4ueHzRXENPdO4X ZLR5zQKZb53jERCxYnkS9EG9KJ1J/QELyBRDxSMyn/tW22MTcZvBIG0oh+ThN/9BYNM3 X2AXpla0wyUcNebVUwXAXjAmk1+ZhwTohBMCVGEUwmyfJxIuPXkAOR9+1T7f03RlkwGB rbKcBkOdUqaDnL6UcwFcoW+xetCtkNdSuQAjJKHunLP+oU+ozY7zqELI6mHO1mt4H6nI PtbS26eKy73fcIUsQZfv/bljIIlJhza9Qf1FFCXspnDMJw/9Y6N2rIMA5NEulJb9aN0u xXZA== X-Gm-Message-State: APjAAAUyE9/XkcUZa2uQxf78Al4vhsG4BlJ6xHTtnhDaoco2KZYKl3yi mw9hBp6vtZPA1tykt9Jd6jYHYg== X-Received: by 2002:a1c:a9cb:: with SMTP id s194mr1939922wme.92.1571732384504; Tue, 22 Oct 2019 01:19:44 -0700 (PDT) Received: from salem.gmr.ssr.upm.es (salem.gmr.ssr.upm.es. [138.4.36.7]) by smtp.gmail.com with ESMTPSA id a71sm16308513wme.11.2019.10.22.01.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 01:19:43 -0700 (PDT) From: Alvaro Gamez Machado To: Michal Simek , Andrew Morton , linux-kernel@vger.kernel.org Cc: Alvaro Gamez Machado Subject: [PATCH] arch: microblaze: support for reserved-memory entries in DT Date: Tue, 22 Oct 2019 10:19:29 +0200 Message-Id: <20191022081929.10602-1-alvaro.gamez@hazent.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alvaro Gamez Machado --- arch/microblaze/mm/init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index a015a951c8b7..928c5c2816e4 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -17,6 +17,8 @@ #include #include #include +#include +#include #include #include @@ -188,6 +190,9 @@ void __init setup_memory(void) void __init mem_init(void) { + early_init_fdt_reserve_self(); + early_init_fdt_scan_reserved_mem(); + high_memory = (void *)__va(memory_start + lowmem_size - 1); /* this will put all memory onto the freelists */ -- 2.23.0