Message ID | 20191122105253.11375-1-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp64503ilf; Fri, 22 Nov 2019 03:14:43 -0800 (PST) X-Google-Smtp-Source: APXvYqx4BjqaKm2kZr2BRKhf8UEFCY4znt8Fg1VEJQ3+Z8UXQtJPjP7z9HEoQn5li4tdXXwArJpv X-Received: by 2002:a17:906:d143:: with SMTP id br3mr21349634ejb.215.1574421283205; Fri, 22 Nov 2019 03:14:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574421283; cv=none; d=google.com; s=arc-20160816; b=X+67ETqlCZ0b03QkWFSeF7yUCxRonJZcyKIY21n2dxJOxBorwA2rMoGqXX+Xu05LKp sGlmHhM39UwbG/ybVNpjMB/oNk/exvlqhNVENVSYVlyb8Od7Kjp7kZ81d2p7W7jSFjBm yfcLLL7g8Ih4tDExRe1axGNwM4NhXJQGHUCMNRIRlEEbtGlit/W7u1ZfXCgyBOu470vK pIrLkngmEHRuCE6RT1B9aGZlrJ/zTjwb/stHFhqjOp813dZkXl5zTi1kNLVwCdAvHDND YFjBrQJA3JbW1oBK6NIEkksXsw9QETkmhlGUdYKxcC945yhSM9KG8sKF+z9i1V+Q0R0l nNnQ== 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:to:from:dkim-signature; bh=UWRbO2P7g4EPCMmLRyVjfEAuVW+/g1Ubr25lGtwVdcY=; b=wL20f7Cgo+bDj73yjDlGiGh8IOAMrSDyCti4NkZx1hcUzULHkGPcTxE5RYBguLoiC1 9gb5IBS83/5Rz5NDdf3WIoBT7dOeBeb+z2NWvNXLdpOYpjSIDJfCaBpNXMwKMH4qw4Ko A/bEj/AwuYC0Lqy44Y7SdO3JMaO+zS+kuDAOGE7mk8o1AfEGQ0Yfpr+CiJ7btVdA2VcN jGClteLq4pP41LHXf9I7McgHxAW7Nh3PzXBvRt/jLrS2UQHyBIvg1XGOdnGWI8ajykEH UpOJJ57fzIscp4AS0tbefYxvZdYpbpR3xXMvolnDFN4K597u5Bfz6pkuCDgkC/NkmP2m p8OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Cai/XqnF"; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ce3si5005378edb.441.2019.11.22.03.14.43; Fri, 22 Nov 2019 03:14:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=@linaro.org header.s=google header.b="Cai/XqnF"; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727389AbfKVLOm (ORCPT <rfc822;ralph.siemsen@linaro.org> + 15 others); Fri, 22 Nov 2019 06:14:42 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44833 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730198AbfKVKxZ (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 22 Nov 2019 05:53:25 -0500 Received: by mail-wr1-f67.google.com with SMTP id i12so8000613wrn.11 for <stable@vger.kernel.org>; Fri, 22 Nov 2019 02:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=UWRbO2P7g4EPCMmLRyVjfEAuVW+/g1Ubr25lGtwVdcY=; b=Cai/XqnFpfDfQNxuq4Sbc1zSdxUypMQRCg4hK26gmubGgp0tJKrZSKUovvrpcPVnQK /XcE6XLsXVZD8qyArZ4RgEHlpfbHIGmx13F3sJAIcK/6/LUWiUObUIW0Re1E4APtCPCq N2hbyupaOgnPTYaF1oZhdoQXVORkMUgs2HWW15gxbwLHT20U9I6Cyz3DT3Zdhl8479lO quDQPUxr8r69FRA5xKzbO5Dg2fAedLiL7hQpNf+4Y4GuJ4MF2VcwRDpycaidVZyYfSyv Xi4GHuMn7psL6twuTrwj62S5zIDtNMX+l9yrNaGSDZpsJHaI9Id12DO9IdJWldA7rYLe 5a5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=UWRbO2P7g4EPCMmLRyVjfEAuVW+/g1Ubr25lGtwVdcY=; b=Gsieg1NXivPxa30U+uoR537GUfJDaevaZRPl4bg+mwISuY2mzeWqK8oFrpNOH4nAbG NrxnE8Qq12vSOazXuNC/qT5mxMF9MG3t9lDEl3VXlwb0PjpvAPRUhwzJAI6/dhIkt/F/ v6BeyP7/gDDXYt8i5S/rKUCJ8EaZshQBppxDjwbEB+TK3WdR/xYt+jdhqTcMZIi4V3y4 K+fqu8uXGjI8z3/23xTcqi4JoZbJNktJNvoClUVB9Ste5xRxHEeVutIssqNefV78RBgf 4XkTfyC6j5IG5xgjuvvU7eSKoWgXNsQdGm9h7xj3p0d1BTwCLnQSu0r0py1DW11n92CZ DHiQ== X-Gm-Message-State: APjAAAVKyOSevjjEQP7ZtEJMWqUq0FAEprfYUMjbllkvhrTq2Vu65prs 1od0gBwK+6h7BV7Sn8TUrR8eaQ== X-Received: by 2002:adf:da52:: with SMTP id r18mr17065698wrl.167.1574420002947; Fri, 22 Nov 2019 02:53:22 -0800 (PST) Received: from localhost.localdomain ([2.27.35.135]) by smtp.gmail.com with ESMTPSA id o1sm7444087wrs.50.2019.11.22.02.53.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 02:53:22 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org, gregkh@google.com, stable@vger.kernel.org Subject: [PATCH 4.9 1/8] ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary Date: Fri, 22 Nov 2019 10:52:46 +0000 Message-Id: <20191122105253.11375-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
[4.9,1/8] ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
|
expand
|
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 241bf898adf5..7edc6c3f4bd9 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -1188,6 +1188,9 @@ void __init adjust_lowmem_bounds(void) phys_addr_t block_start = reg->base; phys_addr_t block_end = reg->base + reg->size; + if (memblock_is_nomap(reg)) + continue; + if (reg->base < vmalloc_limit) { if (block_end > lowmem_limit) /*