From patchwork Wed Nov 13 11:15:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 3177921 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1D6F99F39E for ; Wed, 13 Nov 2013 11:18:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 75337205F1 for ; Wed, 13 Nov 2013 11:18:09 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2F6E200CA for ; Wed, 13 Nov 2013 11:18:04 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VgYS4-0007Ys-W9; Wed, 13 Nov 2013 11:17:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VgYRs-0005EV-Mg; Wed, 13 Nov 2013 11:17:28 +0000 Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VgYRq-0005DR-9K for linux-arm-kernel@lists.infradead.org; Wed, 13 Nov 2013 11:17:26 +0000 Received: by mail-pb0-f41.google.com with SMTP id jt11so275312pbb.14 for ; Wed, 13 Nov 2013 03:17:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=epeEU77fvR7TZ2wPZDr77Sf5jaBSu14A1D1akh3/ptg=; b=KWN9Y//zn3PyqxS/cVkYMNFldD6fDHZAjJq/nQEcP5TB4dkqIj6lGR00IfxT8LMfLz Fgbgv3uIorqOwWri0h0S5fIfa8yYU8WWLeoIb33wCpvbfTHKl/AMp8AoBYKH8GRVKVBS qvpMudcy++XSLVl7ut5uWvHTZLRs/3Yl+P9rH4TmnQt/ZGN8r1/pHTZzzEeXyPcwVrGX dpnGMLsJRf79SBgeRpSS6OXqmHG0CbDdP/Z/MabdeeYxCyT/PbPG1PtOfCvpC1wD3HNi SgMUxOiuYnY8e9e0bsvNCwERGdkAzGv/Vt6TI3PCwOKcme8DDjxLm5lUbogcp0ku1j72 txzw== X-Received: by 10.66.190.198 with SMTP id gs6mr40973261pac.49.1384341424350; Wed, 13 Nov 2013 03:17:04 -0800 (PST) Received: from localhost ([183.37.245.238]) by mx.google.com with ESMTPSA id nj9sm43765236pbc.13.2013.11.13.03.16.42 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 13 Nov 2013 03:17:03 -0800 (PST) From: Ming Lei To: Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: default PHYS_OFFSET if !MMU Date: Wed, 13 Nov 2013 19:15:50 +0800 Message-Id: <1384341351-4110-2-git-send-email-tom.leiming@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1384341351-4110-1-git-send-email-tom.leiming@gmail.com> References: <1384341351-4110-1-git-send-email-tom.leiming@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131113_061726_420299_9D1DC734 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Ming Lei , Rusty Russell , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Jonathan Austin X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Austin Set CONFIG_PAGE_OFFSET as PHYS_OFFSET when !MMU so that we can keep CONFIG_PAGE_OFFSET same with PAGE_OFFSET. This patch and patch 2/2 fix regression on !MMU by f6537f2f0eba4eba("scripts/kallsyms: filter symbols not in kernel address space") Cc: Signed-off-by: Jonathan Austin Signed-off-by: Ming Lei --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 799ef94..db708c4 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1560,6 +1560,7 @@ endchoice config PAGE_OFFSET hex + default PHYS_OFFSET if !MMU default 0x40000000 if VMSPLIT_1G default 0x80000000 if VMSPLIT_2G default 0xC0000000