From patchwork Mon May 5 23:40:56 2014
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Xiubo Li
X-Patchwork-Id: 4118391
Return-Path:
X-Original-To: patchwork-linux-arm@patchwork.kernel.org
Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org
Received: from mail.kernel.org (mail.kernel.org [198.145.19.201])
by patchwork2.web.kernel.org (Postfix) with ESMTP id E7911BFF02
for ;
Tue, 6 May 2014 00:29:26 +0000 (UTC)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 31BBE2022A
for ;
Tue, 6 May 2014 00:29:26 +0000 (UTC)
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.9])
(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mail.kernel.org (Postfix) with ESMTPS id 424AD20221
for ;
Tue, 6 May 2014 00:29:25 +0000 (UTC)
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))
id 1WhTDk-0002m1-Rk; Tue, 06 May 2014 00:26:56 +0000
Received: from mail-bn1lp0145.outbound.protection.outlook.com
([207.46.163.145] helo=na01-bn1-obe.outbound.protection.outlook.com)
by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat
Linux)) id 1WhTDh-0002bn-EM
for linux-arm-kernel@lists.infradead.org;
Tue, 06 May 2014 00:26:54 +0000
Received: from CH1PR03CA002.namprd03.prod.outlook.com (10.255.156.147) by
BLUPR03MB503.namprd03.prod.outlook.com (10.141.80.22) with Microsoft
SMTP Server (TLS) id 15.0.934.12; Tue, 6 May 2014 00:26:30 +0000
Received: from BN1AFFO11FD012.protection.gbl (10.255.156.132) by
CH1PR03CA002.outlook.office365.com (10.255.156.147) with Microsoft
SMTP Server (TLS) id 15.0.939.12 via Frontend Transport;
Tue, 6 May 2014 00:26:29 +0000
Received: from tx30smr01.am.freescale.net (192.88.168.1) by
BN1AFFO11FD012.mail.protection.outlook.com (10.58.52.72) with
Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport;
Tue, 6 May 2014 00:26:29 +0000
Received: from rock.ap.freescale.net (rock.ap.freescale.net [10.193.20.106])
by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id
s460QFvj027151; Mon, 5 May 2014 17:26:23 -0700
From: Xiubo Li
To: ,
Subject: [PATCH] ARM: LPAE: Update the comment to support the LPAE
Date: Tue, 6 May 2014 07:40:56 +0800
Message-ID: <1399333256-10471-1-git-send-email-Li.Xiubo@freescale.com>
X-Mailer: git-send-email 1.8.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:192.88.168.1; CTRY:US; IPV:NLI; EFV:NLI;
SFV:NSPM;
SFS:(10009001)(6009001)(199002)(189002)(86362001)(62966002)(20776003)(47776003)(81342001)(6806004)(93916002)(64706001)(81542001)(80022001)(77096999)(92566001)(92726001)(85852003)(83072002)(48376002)(87286001)(21056001)(79102001)(88136002)(4396001)(89996001)(87936001)(83322001)(19580405001)(19580395003)(44976005)(31966008)(74502001)(74662001)(76482001)(77982001)(50226001)(77156001)(50466002)(50986999)(46102001)(99396002)(36756003)(2101003);
DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB503;
H:tx30smr01.am.freescale.net;
FPR:; PTR:gate-tx3.freescale.com; A:1; MX:1; LANG:en;
MIME-Version: 1.0
X-Forefront-PRVS: 0203C93D51
Received-SPF: Fail (: domain of freescale.com does not designate
192.88.168.1 as permitted sender) receiver=; client-ip=192.88.168.1;
helo=tx30smr01.am.freescale.net;
Authentication-Results: spf=fail (sender IP is 192.88.168.1)
smtp.mailfrom=Li.Xiubo@freescale.com;
X-OriginatorOrg: freescale.com
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20140505_172653_574129_9C2C2C8D
X-CRM114-Status: UNSURE ( 8.84 )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.0 (/)
Cc: Xiubo Li , linux-kernel@vger.kernel.org
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:
,
Sender: "linux-arm-kernel"
Errors-To:
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,
UNPARSEABLE_RELAY autolearn=unavailable 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
Since the LPAE maybe enabled, so we should update the comment
to support it.
Signed-off-by: Xiubo Li
---
arch/arm/kernel/head.S | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 914616e..005af2d 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -29,10 +29,10 @@
/*
* swapper_pg_dir is the virtual address of the initial page table.
- * We place the page tables 16K below KERNEL_RAM_VADDR. Therefore, we must
- * make sure that KERNEL_RAM_VADDR is correctly set. Currently, we expect
- * the least significant 16 bits to be 0x8000, but we could probably
- * relax this restriction to KERNEL_RAM_VADDR >= PAGE_OFFSET + 0x4000.
+ * We place the page tables PG_DIR_SIZE below KERNEL_RAM_VADDR. Therefore,
+ * we must make sure that KERNEL_RAM_VADDR is correctly set. Currently,
+ * we expect the least significant 16 bits to be 0x8000, but we could probably
+ * relax this restriction to KERNEL_RAM_VADDR >= PAGE_OFFSET + PG_DIR_SIZE.
*/
#define KERNEL_RAM_VADDR (PAGE_OFFSET + TEXT_OFFSET)
#if (KERNEL_RAM_VADDR & 0xffff) != 0x8000