Message ID | 1464574369-22618-1-git-send-email-shijie.huang@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3607D60755 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 30 May 2016 02:14:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25C3C27BEF for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 30 May 2016 02:14:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A15E28185; Mon, 30 May 2016 02:14:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7311C27BEF for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 30 May 2016 02:14:40 +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 1b7Chq-00081G-Lr; Mon, 30 May 2016 02:13:26 +0000 Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b7Chm-0007sP-SW for linux-arm-kernel@lists.infradead.org; Mon, 30 May 2016 02:13:24 +0000 Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1lrp0014.outbound.protection.outlook.com [213.199.154.14]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-56-e5L6feVOTj6FSXPZMXBxQg-1; Mon, 30 May 2016 03:12:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=G1AfEo/+ZP0oQJkpsFUdu+LJ79smoRY3SqZIK5nJrdk=; b=qWeVtFo9ct5nWGulhWK1Hhq6ccQYWUmA+NQnC+/lHQnFkkkcaarwcBEosPJ+e6GrFpvCOtp+4FlBCvxLjY3QkQYK72SwNdZW/bjO0w0J2nMGSlk90ARXj9qUqeXAvW7qltG5flaMTnFHXN3fSEcJ9+QeiS17Ho6Rr6G2xIuy4U0= Received: from AM4PR08CA0013.eurprd08.prod.outlook.com (10.166.127.23) by AM4PR0801MB1540.eurprd08.prod.outlook.com (10.168.5.154) with Microsoft SMTP Server (TLS) id 15.1.501.7; Mon, 30 May 2016 02:12:57 +0000 Received: from DB3FFO11FD007.protection.gbl (2a01:111:f400:7e04::182) by AM4PR08CA0013.outlook.office365.com (2603:10a6:200:1a::23) with Microsoft SMTP Server (TLS) id 15.1.506.9 via Frontend Transport; Mon, 30 May 2016 02:12:57 +0000 Received: from nebula.arm.com (217.140.96.140) by DB3FFO11FD007.mail.protection.outlook.com (10.47.216.96) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Mon, 30 May 2016 02:12:57 +0000 Received: from sha-win-210.asiapac.arm.com (10.1.2.79) by mail.arm.com (10.1.106.66) with Microsoft SMTP Server id 14.3.279.2; Mon, 30 May 2016 03:12:54 +0100 From: Huang Shijie <shijie.huang@arm.com> To: <catalin.marinas@arm.com> Subject: [PATCH] arm64: fix the wrong comment Date: Mon, 30 May 2016 10:12:49 +0800 Message-ID: <1464574369-22618-1-git-send-email-shijie.huang@arm.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(33646002)(50986999)(1220700001)(5003600100002)(47776003)(4326007)(586003)(106466001)(5003940100001)(36756003)(8676002)(48376002)(229853001)(2906002)(77096005)(110136002)(50226002)(11100500001)(189998001)(6806005)(2351001)(450100001)(104016004)(19580405001)(92566002)(19580395003)(8936002)(5008740100001)(86362001)(87936001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0801MB1540; H:nebula.arm.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD007; 1:ecDfK/bYKR06loQo3ZqlWU2+8CUZ4tL6DVpi/gQTd8gy1xgx437/3LKoyUsCX/SC8MMSrJ3GXPuDaaA/O0j/QaepzvHmCyUqGL/Y6+IpNnuLgcym97p317e9EIyobO8Gw7NduSJ2jvyKy2wZ91PMsvvAnZWe1+bHHXgGLVgDIxxvhGUjBI79MWI0sVtpaGoYGz4dhUsvdopLsBL3DHU2jjZECNIBVlSSm5oNeS13wID3fnGt8+emm9roFlQ+tnmdTZGGdB/zlvQxVn5GrYiwKeKtkHPMfj6Pa1W0wZAxcH48bhoMT4MVN97AS7fCivb2YLiett+B0lKQbkhPr0NRY+wc4uZXz3clG1BZ++gvMzAIUaAIzDcrS69zxCPjBsh5GwA6GJm0MEbAvOKfs/UHEEdXnADRb32e2LHWNhw7IR7zRvDO3Cfvjbf4uYoteRyfnPrEVtTwM6PvAGnL7gTGPUkx9mmGcJtVPo3nvfNFgbuJ7JtFzcg7nJp16JcwZSkejSDKIl86Yf36fKYUIIQWROzJYKA9emxEocxTNxzwemk= X-MS-Office365-Filtering-Correlation-Id: 724c1b73-d740-435d-097b-08d3882fead4 X-Microsoft-Exchange-Diagnostics: 1; AM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ejfUrdCmmM X-Microsoft-Antispam-PRVS: <AM4PR0801MB1540F7C5B40F044FE88A6DA784450@AM4PR0801MB1540.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13013025)(13023025)(13020025)(8121501046)(13024025)(3002001)(10201501046)(6055026); SRVR:AM4PR0801MB1540; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0801MB1540; X-Forefront-PRVS: 09583628E0 X-Microsoft-Exchange-Diagnostics: 1; AM4PR0801MB1540; 23:8Q3aH9xbe9+A1rOeFhehy9dg/+g0i94oQ+tAe67hqB8uX8HrnMqHxJ8dSLxk7UEb5ibxYEvZ5IgnBBVm2NDl/dPu20G35o9wimc7jvCSe8FJ/4NTMZj5kgBPEwH2Ur/3Ot38Qp9bkzHWbHOr2xgO1esiil4gAlIg5QdrzaRKq4kIrbUDs51cIDFLbuc7JNJtjOKNEWBXwsGiU8UHVqqtYxe0LTKUGabywOVKntXoHkJW8Ib09FwH+TQsaaYFR2Plr8zcsrycrvXbtwLkg3omiGpd90WuKkn/Fqq3VfNc0E1aIUPUfdAoW/94L40dslOWd8y7SD1gcHftMeKz8VILl31fzECaf07V/4ixOz8p/BQrtptz/uPRdm9uA8Wi0EFhGG4uLzIMsUvBU7EHM0CU1vuoYef/lZik4rWK754NvG2AaaMPbm4YiYOIURRmB2UpFLbljepotcjWowVr0l6nZbDYlTXWXMEoS3NQVuxkk1VOX8gE838eDEOIuDsIaGNjRY1ULyC9OOeSy1TORolVjVAy32s7rFxHhRhwDKlqvLhh41Q+nD9MfWzNGUkyMciE8tEoVRyGeby90dnf7mrcEXlZf7aEq7WAJYI/OsoWJ+Xo5sAdJh5ilaE81ih2DMkYEqt6wGUUfshlLTSbf1qmeR6Mn14UoWxvKy1cz8tv5bBGKAGy4x+d4QvUYIIF5KJrVRz8d4nHSQrHwZJbmR7KHVw2LNf6voZ3IgFxlnQfTgn8fvKO/yLwL3fJ1bRHUs5mgPTAyYPxnwA2eD45Y55G/D/y2lFmaOOTBnb2/zL++jilR5CXYlA9hWq6TBGMlbQzFhXOcyEICryL+b7bvOnSNAUAGuh/kjzmgsWkns0XgbuzQpntGQ9qOIqUlWyB4BRjiTNVMJv4poI6aEsxQkzEmItGJm8ufXpN+TM1P7z3Y2TZ8dh9P26vh1MT1rLQgUxq X-Microsoft-Exchange-Diagnostics: 1; AM4PR0801MB1540; 5:X/qM1KJnGZXvYg4RSHNuAJnEMJ40ozmPvhXKpj6bjmo7aeEJTZ9eH43t7tBfBCq6uu00qTXp3fnS1pDT+NxCuq6f2jD+CxAqQf5+E3Dxo4lXCmNQy74UAYEUCKEbwW96KKSeNe5dlTPHWqqR1NKo3A==; 24:6Y2N28qp8Iu6Gqh85HdlCk4iFrnK9szTi4ASvvThIb9ad0a0WoPsnQIHy5QlSGDZqwZ1s9FkZqa7SdQDiR0Z74vPqdeDeLR9ZtSPLnxGJMs=; 7:S12Yem/klU9N+t9XEpU4eN8YaZm9SMHpAr/TtZMUGq2NjPhzTcgoigdTn3O6VQWKBaEdnZUwLkcWfxgG94g4IyLa33erhZ2YrVtGf8gdEGNLXWSZChPKOtfgZSFygFS0Kn5bDeszgDNifAfUhErUqw0bo8A/jtfxoqBOyeO6cVqxQDKMsaBlv8+kvLIKMIDJ; 20:g9UEl8j6utE8bBG4JEEfUl1pJun6SbdIrYTDVf0QG8FrBi84nwJjCCO7ppU8S1pxgszn9n8fDqCvTHjFd1uwz9ZmzrAzKpLN3AQuZdnBOodjCxACf3GTOBvmZY+PyNVYzdWMbxhyUJT7xZMyaOvsyiejrGjzUM0hqu6ysCO08qY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2016 02:12:57.1636 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0801MB1540 X-MC-Unique: e5L6feVOTj6FSXPZMXBxQg-1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160529_191323_416762_7EA74069 X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mark.rutland@arm.com, steve.capper@arm.com, will.deacon@arm.com, Huang Shijie <shijie.huang@arm.com>, nd@arm.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Mon, May 30, 2016 at 10:12:49AM +0800, Huang Shijie wrote: > Currently, we use the 48-bit for the kernel and user by default. > The comment becomes stale. This patch fixes the wrong comment. > > Signed-off-by: Huang Shijie <shijie.huang@arm.com> > --- > arch/arm64/mm/proc.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S > index c431787..421386759 100644 > --- a/arch/arm64/mm/proc.S > +++ b/arch/arm64/mm/proc.S > @@ -209,8 +209,8 @@ ENTRY(__cpu_setup) > bic x0, x0, x5 // clear bits > orr x0, x0, x6 // set bits > /* > - * Set/prepare TCR and TTBR. We use 512GB (39-bit) address range for > - * both user and kernel. > + * Set/prepare TCR. We use VA_BITS of address range for both > + * kernel and user. > */ To be honest, all three of these comments (including the two in the context) are totally useless. Can we just remove them instead? Will
diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S index c431787..421386759 100644 --- a/arch/arm64/mm/proc.S +++ b/arch/arm64/mm/proc.S @@ -209,8 +209,8 @@ ENTRY(__cpu_setup) bic x0, x0, x5 // clear bits orr x0, x0, x6 // set bits /* - * Set/prepare TCR and TTBR. We use 512GB (39-bit) address range for - * both user and kernel. + * Set/prepare TCR. We use VA_BITS of address range for both + * kernel and user. */ ldr x10, =TCR_TxSZ(VA_BITS) | TCR_CACHE_FLAGS | TCR_SMP_FLAGS | \ TCR_TG_FLAGS | TCR_ASID16 | TCR_TBI0
Currently, we use the 48-bit for the kernel and user by default. The comment becomes stale. This patch fixes the wrong comment. Signed-off-by: Huang Shijie <shijie.huang@arm.com> --- arch/arm64/mm/proc.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)