From patchwork Tue May 18 10:14:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12264513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D09D3C433B4 for ; Tue, 18 May 2021 10:24:17 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 57AD160E08 for ; Tue, 18 May 2021 10:24:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57AD160E08 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vMW/6ckCkqzCXUS2lgddVaJwZHyKYx7/aWTitirI2Kk=; b=IjCQc9mgykDRQnqNwxWa7bCwK cfkficgeD75UrN5YFoAhS7HT4GO8a2dtTOnThq9oDM4Aa/M+kFPWLeh9RhMdbReXeyGuLRFqSqyRQ pa8v6cdP8x7YMJAMId/o53qfVMg2s1guvXV5JH8R0wTrKNRWaLtznWL6nXM6gNViZT1Xyj85aojT9 Rm3pQ3FyD7tqFkuw5pTbQH4J/+AqhYt6IUN7ElTKV8AuySf5zvJ3IZ6xNpWMZvUanwqQq9u11CXe3 iHgTQpGG571yUN1TVgMOab1MfFWMW3IXe2xBEFDjIp6y8cqJ8A84BDzjO6ln2+YJrRAsnIon/taBh KLzN6FWwA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liwrn-000LtN-Fo; Tue, 18 May 2021 10:22:24 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwle-000Jya-B3 for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 10:16:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=bh6kRT652A1R4UNsQdEhCtkf2R+JQVrRJdBbgJp7qos=; b=Jm1tXPa7uVNjbCriukeQBKnk6+ K8VorRNKZxouyj5zweWpNYuYdeEIdMsuP0X5lVvG+4ZRT+p4FJFYeaDw6Tfv4qwQF4ZP6xeytfeK6 k21kFW/3TlakdmIrEw5A/QKQsE/MTfqQ42m7kO/1e94IR6kplJoltMXVT+DQ+11jtxJWIPNW3p/tn GfpvInFvmq529i8wEHczfZosDCOybTxRmRT8Bl2RwGDzr3pzHo2Gb+qzSncK+f4FP51rOrqZS2wq3 FGNlAzxRCiu1bfdFswW4qqx7WPy1zHKQU1nvirJ78O2qlnBknUfqdDAUkq3maWwTAFXFUQ7oyBbZ+ gn5QZ/ag==; Received: from mail-eopbgr150042.outbound.protection.outlook.com ([40.107.15.42] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwlb-00EYJl-RM for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 10:16:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TuZVqAs6LiBZH36RgJQBXIGwHiXWV4BRY2hozdvKuHfGYp4curUBgJkhchh6H3L3xsTs/TnR0kI7LT4aZGtLkRLjrnLfsnfg3Tn58oM6VSDgQdnJd15nKv4SHJ0aBfDQPOzKlElN7RST+9UWPjSIZDrZZ32yPd+abu/RaV6jl/D6LKEdtTVXes2NmfiYVs6FtbA1dUznrIvs7wdoC/TdiJhSzi4PBa+5TDXOICJpH7a8FMWQUjAZcVQzz+dy5hAjIZ98iMtSVDppPqpFdfOGcFb1TJwaj+g0PJMuthibe867C9yHnKzniET+wcN5Ixqxvu57+0gd/Zz6pLNALHDQZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bh6kRT652A1R4UNsQdEhCtkf2R+JQVrRJdBbgJp7qos=; b=OUGasgIAQToqztkoeGEE1/L/rJHCTR3op7RItfJnu8bJ0O2uRv6l/04yuNWenFmJSmRa51vaJ/c+tZGnkKNyXbTLxnR6ziNImv4VANttuxat+sqJmyXgYbzkrnWyQE951ctIrsA1Kt5enoNl+RLmN+Ja4xbwaVfeirmGYAJnSSijAIwBP+jEUkaEveuuJYxsxdI/mmDaODaHJhbN7U6mzGBtrFWtnB2XiwwTwg6/ayRj17EOK/sBL+qd3mh/3cLI2nq5zXfNmtGvEFLUV8FFtx14rQ1DxqrgRqxHHldL9juIN7+nuBdTQYK9NtI0T3OXmQ4p20hNJQ0p4bYJg7YGrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bh6kRT652A1R4UNsQdEhCtkf2R+JQVrRJdBbgJp7qos=; b=f2Tgy55jpXYpuVKD9vBI2SAjpKU5bRQ7Q+m6Bac9IpBPQiSV5joSABRyNTXJffaTBRVHEgO1h3pBvllXEQbxdXLUJ43SGU9JxpWOGS/apHSsQTHBUDqf/DsKDg9TtvvYyOmR6riBd6Davn1VtV3KVt/0hLw93p1QQZpa1Eov3wo= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM5PR0401MB2450.eurprd04.prod.outlook.com (2603:10a6:203:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.28; Tue, 18 May 2021 10:15:55 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b%2]) with mapi id 15.20.4129.031; Tue, 18 May 2021 10:15:55 +0000 From: Dong Aisheng To: linux-arm-kernel@lists.infradead.org Cc: dongas86@gmail.com, Dong Aisheng Subject: [PATCH 1/4] arm64: mm: remove unneeded SWAPPER_INIT_MAP_SIZE Date: Tue, 18 May 2021 18:14:02 +0800 Message-Id: <20210518101405.1048860-2-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210518101405.1048860-1-aisheng.dong@nxp.com> References: <20210518101405.1048860-1-aisheng.dong@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) To AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Tue, 18 May 2021 10:15:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3eeed9a3-190b-44f5-0dc3-08d919e5ec0e X-MS-TrafficTypeDiagnostic: AM5PR0401MB2450: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:161; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dEclI9jL+XMZ89fXBgjA9+KLaaJjrNvyXUhuYRuKCuvRK+aeBJis0q9Sx0an7ZMhzZ6gscMi839Tghb0Fb2Qlx0WDHhd+qNPX1C1YD7vyNp6/KKrM0STjdowmLQ/snmgLV7huEONNDALXZM05ZLh6Jxl6zBifxpqN2Z2HsKXMs3ZIlmJ/0hySFimvLoXvRx4zek9xG/zD500imY/GjFEBOMHOVrcUjIvYYQsBdXtjcINuWjWiju71mnnJlg3S8HCFK1FPtn8U7zm4IVXNG1hB1qtMqGeNN4zFxSS4Ghadh/BcRjhkiInnuRlyhepFL081JrKOb8yZFiqUFZzIZREJSQDB5A1t9wTAlNF3dDfcjlIq1wRiAOSkIlRScxjsjUQJqLX3sbdcFMYHUbvNz1kcUkuGynrpWJTLYCZGqxdCcOSKagJEUwG0NzA4auRthQu4QI+E+wngv87Qsf0cYyX2uUu4JNDh/aa2NU6J2hKpEDCOEhe2wGQEXmD2bKE6qcjid7OxavDQtvbw630zX6+FubrME4eaYRkwmLDwDPRhk7HGE+kkMGIQdl6CKEKQlM0ZEB7tMYHT/inTHEU7Sa0JELlEQrCsixr/vjMQuSMdPO3+JKQEPN6Ynvqnc3w19vQdm5tlIR2urbvBhwmI1yYcol6FVx63E5tqBisvUNuqy2Ccc2PF+v/Waco/bFSBsrW X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4966.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(39850400004)(136003)(366004)(6666004)(316002)(478600001)(6506007)(4326008)(186003)(4744005)(52116002)(16526019)(8936002)(86362001)(6486002)(2906002)(8676002)(2616005)(5660300002)(26005)(66946007)(956004)(66556008)(66476007)(38350700002)(38100700002)(6512007)(6916009)(1076003)(83380400001)(36756003)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: pu51kK8sO/6hhAorNXwWZu6eZVOOgPbKscpA3ZG2Oy80qNpnBk4HW/k4SOn2rA9z5PhH5tuIwx1eExH16cXPMkJd3t+bI4hDSISBaW78XIZYaGd9AxjolLHGoLUTSv3g9cOZ0owvikymyvRefapJqd3tJdmhVlEiRGXlJvZe+tJuOb47Novqg6MpLkPpdd6hrByPS0HEN2i2Weh8PIsPl9t043yqQvH1bQGhbZZvGH6/5Bt030TIwUlW+UXKYsNyexv9+xvWc5+3dey+XB0gaVNwqpcVZ9pzZGqxMdi5yx7AOBgM0v3eil1hWp90T0EywAd+c8DTAxusUe7ZdGciGTqxCvtlABoFaX1BfZge9+ql/s+smOs4f95p5jkdFP/cj2ifq5N4pc4mVHdtVfGpjikiqc6bfE7knS9bsQXm5cNKzYNms6gHkeDEeOBFGtXxbLpf5oQI2zSsjUGhhM3rSuJw5EGP72udKSdFH+anSiBTpPI3mxAIFmNZQjZ/4fltcvRPvhHXylArCe3rDfItKw0K05ZNlcTCGMCbMIJxz7GOaBvVGPyF+tJhoz5Cu3HEBoHqh+caUt2RNRBkNYhZpJuhnMViUNbFLNfDY7xvdTU1YWpZmVcDNyli+SWMycJNU4Af/7LpMmK3LkdAP40Jdq1gB3oUyiofKibzVhgpVuuaohG44u7TdQEBUFGwOi2iKGiGVjS80HAYh/A5JtVJ1ZO48LNVfm9FN8dlT7PtZKh1PlX+IwbCfThZkyhzyd5n8tyr35eLYfrC5avx3MJZ2qpRAMfqsHrPGjtx6dONKfmDpLM4t1IqBVALs0GlniXt80ZqEm4Qnlsx7nLQfle9HTuFN1WAMtpk0vjyrqb3h2ryQ/thM/A4eTSTBmFGHQ9wrTKl0WAGFOseejGddeEXwNyoxz0Ay7nergczXN1q8MX3esqgRUjiP85TjxKDlS9kNXuBat1beys3MwoIsYKUXWQaI6M0zVLSQQ9zfXhIdcSfQkNcC9IU/F/f+dLIGza7wrSaG1G+NpWXDROqna4Q1TaZTFZryFj3vB8hmjHp2EMDxBAftsJV32YE8ltXwE1tDs1q73cpTYCxyukHS1GU/9GyXWQNAqZbdY/w/yqsMwTDlQEeSpC98wS6PUpAvcIgunUDo0077pSCK/Tr4Duek5i8KNIvwZE24DgKNvtjWoF2/V49xv86FtcL+7mn8ykUQEo1qA0gmvPvJ5bsGFtgt5pabHkhvaQsBglI5WICHql3KaVnz4o6QANXX7lkGlFIUkJvtWi4Th0YOVZJqTwxv7gfkgz/Qv9+2vrJUK6gdDSzK0rkQUFgYVk7ZvTEhRS1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3eeed9a3-190b-44f5-0dc3-08d919e5ec0e X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2021 10:15:55.1293 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JLDOCLrAlXcy9xgimlyVDk7vRVB4Zepm50iY5LnqaeeTqQgtTPx8sssc7nqFGB6GS9Z4S0HHm0yd5ltgAx4ZRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2450 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_031559_904490_8C3A499F X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere"), arm64 kernel supports allocate pagetables anywhere and this macro definition is not used anymore. Signed-off-by: Dong Aisheng Acked-by: Mark Rutland --- arch/arm64/include/asm/kernel-pgtable.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/include/asm/kernel-pgtable.h b/arch/arm64/include/asm/kernel-pgtable.h index d44df9d62fc9..e2f103cce7c1 100644 --- a/arch/arm64/include/asm/kernel-pgtable.h +++ b/arch/arm64/include/asm/kernel-pgtable.h @@ -100,9 +100,6 @@ #define SWAPPER_TABLE_SHIFT PMD_SHIFT #endif -/* The size of the initial kernel direct mapping */ -#define SWAPPER_INIT_MAP_SIZE (_AC(1, UL) << SWAPPER_TABLE_SHIFT) - /* * Initial memory map attributes. */ From patchwork Tue May 18 10:14:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12264515 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DA76C433B4 for ; Tue, 18 May 2021 10:25:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C693461002 for ; Tue, 18 May 2021 10:25:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C693461002 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Nl72mVPer95Gbt25Hxmn4Gnt5n/Ja0GAQQ7ptMI295g=; b=Sz1C4z4kIAKTz48WxCWWlBMQL 5KQjkWFiRZHTjodL66DhQtcpN1RrBowUbDkLlwBxbrjlJMN8jrOdEabQ9L85OO7F9vb9AldyMwJT1 mRdkDgrREfcZVjnq54CiGgiYJX6Aq48Mx551Pa3v3mOF2deyG45bkkGD+HOo96X3JQmZmeV6XZIv5 N4bQF78IF0AB6poM/9iCvg/v1hIYDYlR8SCBGvD1NfIqoEM+JC1azPEEgdORJPV0nLzPmlEnXIyq+ A6xq1ol54cTrRbZqbqAb5BNPqjIxbKOuLq+0bZ4Fcwgze3QBQP8cici1wowIUkQcG+XAFt6s8uvZz 3U7KxIEmw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liwsY-000M6E-DM; Tue, 18 May 2021 10:23:10 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwlf-000Jz3-Qk for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 10:16:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=jEWCRIYMdURhO5JtnK+67gZ+HOm5FKaplE30C+qT65E=; b=r3aHK59H1Wru6RLnAiOfBpcLzX DJLIxv0umy8KNd051aykY+481+V5wO3EadOLg53XAX8NifOn0w4Hkr8DRWhSzgMrPGRkHejrbLmpP nJoBGi9TNiLwqNAO/mhjBeITwhtWTeZehYyJGcRYod0vrx6Hq09iCOuaz+QpRJadBWeqtVKG31lOo FQ68i/9JuTRHTwe3oXsYE/jyC0wYLr0CFd/rrv9Mu4HQdKCApCRq37aYneK2b64XNaPBESJ1d5FWZ Te3qW/YtkVyzSMn6xEDFOagGkOqePJT/3Mk+RkTD/+bNjd66s6Ew/4QoTrT7bATXbg+Rfvq7QTspo fg/jyfvw==; Received: from mail-eopbgr150042.outbound.protection.outlook.com ([40.107.15.42] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwld-00EYJl-BG for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 10:16:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jm+qkBzq4rb3+O8DRAE2LKJ+oc9Dpmrrsd3qMcnJkPA0V7HLOgJhO+1FKamUAhyUevMl6GTvhQTz2/hY1eqV4qHV5zFi2gtLSMtkn/W3aXTIL8IB4rh/p08OcUUhw8tgq7VisjFdedC7Ixlf9LQQpw66S5ivwUNXD2eRac4ivwAFuC8DoecZKJpV178kboba8ItQT0qdWxau49TSRyWLuiyD+bbbcoGyQrwRQBCszJDMQmw1N1aL4bBK+4MzpXPBPL9Qfta9BFjf+5/tkWFXPq0t9VeiR040h7Cs0dVT+gxbGfnci/pDNkIjfemTT+IJwFS9z8qtVlP7vRl6+z0EXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jEWCRIYMdURhO5JtnK+67gZ+HOm5FKaplE30C+qT65E=; b=L98oqQiVlvJJBNuPRnGD1YeTZfZXOQVzcxMJW82+Q/WEBaJigrTeBtvFNaF9EGFDm4D4XjnyjuKGTj63UgsVcnmKX9ZuAiuw4a5pWZm2wuE3W7fbr9w+7xnp7HElBJoq1QqShR0JeUTGG+XS2tPgdXfTuaTynH7k/62Xy9hOVqJ943gzxbLNk0nqyIuWV4Ozw2uK9hBYMZCoMm38ZfuJvomXk0eEmfrlBnMAZ1hoaquxmpWAzAqkKRcIxtlpOWLlub5BCwB21V834cB7LIrGeMhp3ijgwnabJKHYTndw4V6n/W4XxyMmatMTJZz/IDg2rmBkKncGj8sOYPDZqjXjzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jEWCRIYMdURhO5JtnK+67gZ+HOm5FKaplE30C+qT65E=; b=g5NW2iJ62lXkyOkTuO5NGFM4n069c0VK/r0Llx8I55pMBjeiePYyshV/udBnc3FBgcbeE7Z7sjRcAZnm7iCduikx1IiOv3rppMvfehTNnekzZOwNtEzFrohbUeZLwg5OknUNUEqyBuHFpl/0rrplYkkHDH/H3DOLBXQmcmzBTQo= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM5PR0401MB2450.eurprd04.prod.outlook.com (2603:10a6:203:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.28; Tue, 18 May 2021 10:15:57 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b%2]) with mapi id 15.20.4129.031; Tue, 18 May 2021 10:15:57 +0000 From: Dong Aisheng To: linux-arm-kernel@lists.infradead.org Cc: dongas86@gmail.com, Dong Aisheng Subject: [PATCH 2/4] arm64: mm: fix the count comments in compute_indices Date: Tue, 18 May 2021 18:14:03 +0800 Message-Id: <20210518101405.1048860-3-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210518101405.1048860-1-aisheng.dong@nxp.com> References: <20210518101405.1048860-1-aisheng.dong@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) To AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Tue, 18 May 2021 10:15:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 07b75ccb-edf0-4363-24d4-08d919e5ed2c X-MS-TrafficTypeDiagnostic: AM5PR0401MB2450: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:486; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I10tt2xNocxFdWRndtWYgqaEujECn11hCz9WCNREpL5ySYVH4vcRGkzB1wAqpbEl7Mojjjbu6f+9YQnkxeN8IyN8vh9vLcjIaXKBLRKenGrACqJSpkgmFshi1GsjG9LgmPKwmA8zPf93ozxIcQ1NlsCNI6ImC7wPZ55xVF3W3WSsy12zYaCYGjkXvD2Y0Mp3sJRz+EcoZstIdyDPlMeKdp2ECRa+VevyWCkzq+jrFujOcKvG0zqg4R2g74xUIw+Nv5X11gkLShe5Qg99/gU4il/YlQuntMxovnBndYgzd6S08wZYOTlKEiaqjfDBslSSD3NWB0oavfHcYUA1enHCqNu0VzacAgaKV5PYG21uzU8Iq16y4HQRqdxVR41cYivjAYoqQHHO7ryDSxvqvUbazHLCgUqhvSAJyN5C1OybEGxhueceMj5Zku7+AuRCWJVK9se2UdoEgWApN8U8hk2yJd5mzCyWBiSIvaQZHxe0aSjDyqNOGY9PM6rBPJRIs+rIdu4DSeuwAiI4Yd+0OAlEhjlrmWfiJcIi44r4Qg6UuRlgrw2B3rtkNn3rJpuw7fBATaYmW2BTsgjCENRCMjseCctpYlnqkJKULKJmbUxc00o0Td/DRZf9i9B+BVNL1C3YPBEQo+8exhj//haLkUnEBeQVJH3NNKj6JzsbcHFTJOL+0gn5+NVkOONbKjV4GFpq X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4966.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(39850400004)(136003)(366004)(6666004)(316002)(478600001)(6506007)(4326008)(186003)(4744005)(52116002)(16526019)(8936002)(86362001)(6486002)(2906002)(8676002)(2616005)(5660300002)(26005)(66946007)(956004)(66556008)(66476007)(38350700002)(38100700002)(6512007)(6916009)(1076003)(83380400001)(36756003)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Qa3zGyd3vWwRS7XDw37rR75HRkoPxK0N/I0LmJVDxwr+9o6vQVZ6ybtHHfK5jkpLyBrl/ShFnHbYKY2yNs8uSfaOJdXF7kanTp3ewho2amcgUW5xfOqz+o5CGzek9GloGMkND0EC1eKn+QuP3V2qg4xvS8qh7UBRbfEz1Ca2pXbmQ3ng0deRIWUReoZq6dWOspQ2frMpTle2nasXhxm9LyCbdN6GDTsiE+myXXHPv8PCQL6pw6ectHsEqI7MZteV22GxuO/KJ0cK+DW4BnfnPYeFyUEmZUHmdV9x8/UqkxzVOtbgP9AOlmzoQXCUZHDil55BPIJFEc/Co5ZbU2JNWo9Dj53pkDvE8kuPC/twSkfsE38qooYZjCZcQKwqZc8HoPOpf3dL2cJ+zA9Ncay0sVM+PiYKq+uSHDXMqW8cqKmYXBqTc5y9i0P/eX858Ym7BCg+BWKhAgZpKfH7BfGTsGL+JZxGj1LEBAr/W2Rjawl+cpszxf5kldwfSyislAcN10EeFe8dNBiEALhKLGgeXn7/tM8hAfXmDNjBo3DOWYpsHALCQNQbzwHOW4KZ9fD7tOXRpH3d4Vzk/KhpOGk+WbLOYmGBnUPkIDaFodpDDUTBRPCK3j/UP5WN4fPV9XZoyryu3RbJBjrHXomBOqIHHtSMYwgYE2RS3pALaM2iucyXPvjRHjzcY4Wf2g/gCL0IDjUzEWs06vd0Pqz5BcmxWrqkA0PMROtNO7u5rK6Rm/m/MjxusvxdzLGdJgg7aAzXR2P/vk95ZmLRf7Q15JqZFDY2xRDwvssVIxsyR/dcmdqK21dFF6o09XDBUlqnDAbqsRSOhc+C/DsLO2qFs+FgH2LoL6g8gSPevJDJVRJEHjfTwJ2qV+sETovjHaC42fiCboXZIFB9kRkkVD/gx5dT7C/6AcslvrJcj6QKfwvkyjOqaVf4yEQa+ublbO3XmnEUPDlJ8fcc/2Ay+Yfyi/HU9hWjibvx8GP8249IGi2QHTERmyUHGYBuHW7f1QjuI1cGyKygFvr4Gtikqol6IjosuFVQbCK6abJ+tniG2yjr7/HJ0pLxFNdaUun+CA8Gb2Wuatoj5Yi0tNAkGN0PkLPd2a5GgWtbIraY6KGQaojt0LYPWgFdK47BSW0UOcoyNLiXSwW90WfDghDrhVgY23upMBgvGO5Yu2PW5Hhb4697ZMj6OYJ9IPuN3QJZsQ8lda8g1AiK3C2hKwERCbF/HohJ/5h5/j+dXXyXKeOdZmEABJH0E1ND5/Pn+QzDoR4S8f/2cK8EQwlNK2zPXExEdc33tveVsFVURG58b+BKSj8eQb/dzOYE6iLt3TD2VOf+a9T0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07b75ccb-edf0-4363-24d4-08d919e5ed2c X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2021 10:15:57.0272 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gIOva3E6cvKRn85CdSUJsOaQQO/ioEhazEX0HzZ7fbQk/+uyAKYGj+ryR4vHoLqjY5yBgEncSx2nqrpakLYPEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2450 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_031601_409124_8CE0C3F0 X-CRM114-Status: GOOD ( 11.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 'count - 1' is confusing and not comply with the real code running. 'count' actually represents the extra entries required, no need minus 1. Signed-off-by: Dong Aisheng Acked-by: Catalin Marinas --- arch/arm64/kernel/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index 96873dfa67fd..b70db34458ec 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@ -195,7 +195,7 @@ SYM_CODE_END(preserve_boot_args) and \iend, \iend, \istart // iend = (vend >> shift) & (ptrs - 1) mov \istart, \ptrs mul \istart, \istart, \count - add \iend, \iend, \istart // iend += (count - 1) * ptrs + add \iend, \iend, \istart // iend += count * ptrs // our entries span multiple tables lsr \istart, \vstart, \shift From patchwork Tue May 18 10:14:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12264517 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3662CC433ED for ; Tue, 18 May 2021 10:26:15 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B32ED60E08 for ; Tue, 18 May 2021 10:26:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B32ED60E08 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mAP159ChFazzXaowDYwhWRbWWV4CjYodXeie37P9qoE=; b=SKJo5Baq44hesfAe1VrO3IJgL RsZh6ta2okm9hY2KbJQq1pMmWE88RSVG9RPdVLVmxS2N9DcuUVle9iDxNGEEs5sCFWdCBt9m8M+4v hwZDVRc0zib8mAtuNzS2dPt7oyVD1nU450CJrniBEu85+lmqcilxhdyyu9rN0xQmvXtmefsdN9im4 JQSkvNpJXi37apIXY9X40xRgoBrTrnHDVM7h7pLef9Sj1p17oMfZwPNN14RpFW7O28FMhsJ4b0x4X qq7LeUhNweZxQ5lO5i3lI3DtoONeeTG+HDshCuGPEpWFk6hCzoO7gRgfMozYJvjReF6q0uXdvT4Ig LuCMdN8HA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liwtT-000MKg-OZ; Tue, 18 May 2021 10:24:08 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwlh-000JzR-9u for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 10:16:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=Ea34vNDla8KNGK1uV+cFqxRVwv1zEX0EBi1UHZnS+Uk=; b=eB+IlYWLmqtOKIermetougNqNz Tg/xq7L6anv6wmt76oQdei6dSREoNS4n8kv+Jw65Gf/JYN8gEYh8EHqL5vSK1Pn4/cVcOUf26SJ5+ cjiFrKJ1AoCKF5/G1wWtU4db55OQcTUPbyhGxRYzm+LW38FwhT/mmQcVXrROUnqY6itNAUzUIJzxy tx3fv71nwDlB7fV7YUChstnPYfKac3L7eYWsULurNpeKej8IShBael0nAuUMus+a0SR1Az6VRaWbQ 3UZBWWIGsGW4SYSRF8cwtE3Mx3Yu4vgjX0AsSZ+EjdTTHewpgiWJZ67loq4SFvHorrrmTJlU0Zbcb LeN1OJiQ==; Received: from mail-eopbgr150042.outbound.protection.outlook.com ([40.107.15.42] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwle-00EYJl-S7 for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 10:16:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Di+oPNlJ6g7F64FeXfr0mq+uHH6GHadIDlNJPCsb4fwZC0VPwXnd/WrUq6+jiDjQvrUCYAUxertfs6zgNpX7cmc8mPN7Egfn44zVR7Iv/vsVNR2rm+6A7mtoKPnmtJySenUi0THValehSema2RWB04DDDKvjEw/147xTuaXlcsI7QLKm/gsqCjJpRKRN21nX997xjRIGJFOtF6zxgGAzWCC0oxvUkD0jBuPtY9/no8fOVUxYcenYl0RUbliuLu7TIwCI0NHPkjN/qqL67V8W4XqULrnRsWDji/402em4fMq5x5RkHNn6mvnfZfgm6gX8N5ZrewGy3gzVWl+q/1vCKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ea34vNDla8KNGK1uV+cFqxRVwv1zEX0EBi1UHZnS+Uk=; b=KTLybejx2bE3/UjL+g6IWsiIr+3HE+rDBSXWfsJlRIPKE0VI0J15uq4NvW3rGdcGXf1QvKUv1ffGdYU3/7EFQ9L+Yh01gLmzM9rYnMqOTBGhu9OzPePb0jykd+PcT9vSAEDOH0bqLNZ62/tryRfqxxYgm4hnrgr6j2BwBD9Pdruztaii3XNQh0rnpuJrmPMCVGEXjwhtCzqdcJykGkU0f5MyG6OX5lt11urLSrismrkPuL+hBwWb0xe1R3cqqwSJ8pS4AxT35/ej3pJ480uH+FoOGPR4ryKSwe1VFKz7KvqLUOK/I/Qqf4TSkRfbaIK86KnkTGj+6IJXthrWpw6RJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ea34vNDla8KNGK1uV+cFqxRVwv1zEX0EBi1UHZnS+Uk=; b=i8Qv72nXsGFaVzXVyu2sEppwszvTpD47dYZ++As4tTigk6saaZ5Ff2X2R+jQyPazyaOckm4jvsBbbmkGmrKOEraHFKnp2L2N6s+IglBL8ScU3niQQ+HS/Z3Z+Ku5faf/k/tIZ+NjNbONoZU2tx49WZJdVFICesuq3/YXSLr50QE= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM5PR0401MB2450.eurprd04.prod.outlook.com (2603:10a6:203:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.28; Tue, 18 May 2021 10:15:59 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b%2]) with mapi id 15.20.4129.031; Tue, 18 May 2021 10:15:59 +0000 From: Dong Aisheng To: linux-arm-kernel@lists.infradead.org Cc: dongas86@gmail.com, Dong Aisheng Subject: [PATCH 3/4] arm64: mm: drop unused __pa(__idmap_text_start) Date: Tue, 18 May 2021 18:14:04 +0800 Message-Id: <20210518101405.1048860-4-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210518101405.1048860-1-aisheng.dong@nxp.com> References: <20210518101405.1048860-1-aisheng.dong@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) To AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Tue, 18 May 2021 10:15:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aabcdfc0-63c2-46b3-cb44-08d919e5ee47 X-MS-TrafficTypeDiagnostic: AM5PR0401MB2450: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1388; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z6b2nNW91Q1T6Xyv6vSopk/e4ncQDDS4DkxKb/mCT75olWi7OFiACzgjOHmvf5MRvDYCPd5rkXOrw4vE00XLu85AzDZkXsKVNDG0YbF/sa+/wpQJMl74UlrGMjCdS8VjD3sLg63LCUSYWSraetXqKAR58k4nOXHWUPXCevmSmmhJG0MIV09k3qia0NHKUWeJytume0isg9dWDp76/UCwYPg+Dm03ALwK5WdcNcDOHLKm3M/5vAUODGLZBi02mPAQ2SPvtyHMe1Q4NEdpgKtnV2SULfmU4CMPuD9GZ52wO33TPe6Kn+Vus2TOaZX9f3efUNwf5PmaIfUFuz1oUOFtwTms2nTSSRVVQQ6pPs7npVn64pCmiCahFm1O5yydtBPXOmtfKy64TzdrKMaL4jV8k7EbSFaeKiRpa62p200rKFILW9V9vY+rI/W/DxuxvQ3pEe3VyKUHYAEduk1SsvJLL1sdAoMslKjoxUVCf9SAlVgAfhLC28ZZ6vrXD3IoJ5YMvoUWU1rdV5cI0LFduJXsO542MsJNLazpfX4CtpIt8GCW87aTtxcD4b01gaH4xo9kpxV9a2ejhI98Br+ICS6aDeKvHswqIDwHe/D7oL+9PgXzyZFYSGxFFSQ/NueFHCe239wtbWt85q/2XRUEvBqNtoDbbt95lbtS2YYeOwbC68EP7FAcfyR8DvwsaeF0FG76 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4966.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(39850400004)(136003)(366004)(6666004)(316002)(478600001)(6506007)(4326008)(186003)(4744005)(52116002)(16526019)(8936002)(86362001)(6486002)(2906002)(8676002)(2616005)(5660300002)(26005)(66946007)(956004)(66556008)(66476007)(38350700002)(38100700002)(6512007)(6916009)(1076003)(83380400001)(36756003)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: dh2JkcaWhBDDaBJekbGj2cvJfopIojOLgBqQzX5RU/0qnUB3H7250Kkfb9WA+3xx+fJnsBKp8ULWGeZjIv8iEZdl4FssyH4CGZPJXFkzz3EKMlJqho+7Tc/WUH+PwiMqiUZVtth7jYqlEwLGNazhhqnmIJLQOBvrmTDgsTcjt9uoiDzoDrdYF3eAK84F9cxrIW74zgLrfJawkKoYjUb8bjstV45wGbsGp8kaNDAmHXIaJiJcztOMy15PKEUVKA4SKzYAlSRtyx4PWf2jvC3iym2lQdtjPAJTY6NgpSf6viU1ZkTdHBId3s7Yr5kjnz969QWb2ql3yyEFrKEEB9f59nhHBDkeftDpLmlEnTAG0h7d8xNC44U8uwagVuxTBNgoWG/fbCueaE3MbqyRGkNaSrD1DmcCeiHsL1ifpHv5VDT2DBJsr2W3q/agW6bzcQ/9Q9a9YawPV8UbjUKSWJVc8Frkp1WwWTsyuEDuWYJ2HS+QJb3aw1lW6md//57H7pUWPJSK5md1M/tMB0DTc/h47d/snJbghe1P2f6Gmdcjtsjtg2bb3z+4sYSdBVqG6zsuOpWBGTQaL0nMQveAnJ1ZEgKzurfYdXDSMsTxA9jsWpT5Cq9FLnYbeRiBT4dnNZTZgJ7EsZPbJQxy3Wj3SoVr4I1tAE2jdyuSqCEDTU5jLj3DbS6eoiw7iyDcz68FttKZyazUBIkHKSD2hivdj8yuD4v1jg5RltKwNO1/2ZA6UoBVF35r2U8YU3jK7gmjob0zuejmj3PeXGq3z+J4amw4l8Q/v6JfmPwVx9h5SJCJU4cdHYStfbDACZE4J+9PIk233HNbEDOi4mUEQiz9KmDSzi6AlFOPUpe0TT64DbPv7to4YD09I34oTOaJLeKfhPwqPHsdUSJg6U+YvKBOx3x93bOjAbujZbre+g8fUtpxtJtTWpHCtSZp8q+aJmhFThAoK0lRB96PzNH5Y+Oc/zzMbh15NbOVHkCeCNHbnLO+OQvN1a3vEyupUE8fUh4Cfofagb+qhCoZWAmdgvuqVE5/D5VsmrmvR1ZZh7aP3RWGmcEllXD26yf7kcEij4SXXVSoLOcbAAUrGyOnv0FF3u6IloK5miVcoVvAybCgnAz7id4axngvkfGGdm7A3sdpvtnv/s2pMhIP1EwFRwkbNSDc8dUihQPGcNICQvFY03PqOaN5NpZS72uRZdB2Fg95+Xd1uWzlBpg7qWNn0z06xyAz0VenY0+acFs+3+j+UuhbjCaQLnR2ndjdJs0p/4S5uzyVnaDHwQ6L0xtBmN4ZRq5ReILd35DSFP5bNDVA0SRHRhXKAXPpu8HIR+1seqMGWD+G X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: aabcdfc0-63c2-46b3-cb44-08d919e5ee47 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2021 10:15:58.9401 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8gYu5DICy5+SxYaUiMY6aFH781EGlOLIAkjHisR+VNKRvnG7CcBW5lD1p/JWbiDnvB8dCKn4l2M6Ny+va0Bo8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2450 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_031602_928605_7BC4157D X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org x5 is not used in the following map_memory. Instead, __pa(__idmap_text_start) is stored in x3 which is used later. Signed-off-by: Dong Aisheng Acked-by: Mark Rutland Acked-by: Catalin Marinas --- arch/arm64/kernel/head.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index b70db34458ec..d266b4c6287d 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@ -354,7 +354,6 @@ SYM_FUNC_START_LOCAL(__create_page_tables) #endif 1: ldr_l x4, idmap_ptrs_per_pgd - mov x5, x3 // __pa(__idmap_text_start) adr_l x6, __idmap_text_end // __pa(__idmap_text_end) map_memory x0, x1, x3, x6, x7, x3, x4, x10, x11, x12, x13, x14 From patchwork Tue May 18 10:14:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12264521 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 984D7C433B4 for ; Tue, 18 May 2021 10:26:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 28C0F61002 for ; Tue, 18 May 2021 10:26:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 28C0F61002 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XwzVg/xcPaL7H5TTC+1c2uvP6s95l2Dz7/1N/vdUVgE=; b=mmzr0QawO+XOCrPf/GQZ3StJr rzBWEsyA4sLztXiq94+z1S3KbtyYHGy4scMEjaFt3A+wCTsj9QluIuTtyNIt58SICrpix3Nzm3AqD bxREipdKETVMznz8IDwZUmPveUxQsASSFBz2qxTlwTg4C3gI9XQLW2sMUfVxVZg9Fug4K2xBq7abz ebVjAY1TlFh9w7IHdWAfeEwxF2L9/JeBrwT8KR4MkC1Y6JSXoAOR8Knf63J/SwlAstOiNDEzMFdb+ CUj5GWvXel3+x+eiWPvvnkJA+ZTMNieAP/Nev7TT81SceYo00JB2ClDp+AcZyrKyjPlNHHrmtirSq 3AH8UVVPA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liwu4-000MYc-0i; Tue, 18 May 2021 10:24:44 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwli-000Jzs-SL for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 10:16:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=lLXjQtjsyG0fP7MiAhiuBH2BkVoJ21EL7ooBo0UVJgU=; b=30TVR6pKn2+z1B5nV0vwYq+NFQ mZMjkZXatUKYl3YIRwIsMahHrK14mk8uBJZaW/6qcwGF6NZJc3sKkypsDZE/HJ5DF8UUdfHicvuPZ XxX8mL/v6L7KM0ODQe9Y++sPzcdTBc8Fgv4Tmztl74qLB6zbZ2KCgjmQQnb8YcZvJ0QqF6bD16b2o Immt+PH/M6vtjMc8UpvJ78QRxEX5TaVccvk8gR7wiqZV1HXn7L1AKxZAciKblBSthvUYdCPhg2f8a /5Oi7oJCtAEXH95yQ6JYzyLi74Qh3jLcDckLUInX4/SdZz07FPsn8cUrNq3csjcHA+ZszPfHxK/L/ 1KpK5V3g==; Received: from mail-eopbgr150042.outbound.protection.outlook.com ([40.107.15.42] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwlg-00EYJl-Bd for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 10:16:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CX087fCyBH2UkAklrNryTB35NcKYxBukHbYoZng4z6lojgi6RebviaB6jQy/NYl59rM71jgWCBsJ+MNsJGCWVQ3Gq2wwj6ANZckY5khWX3y51vcv3HNRzqOP2gia72jDV+5Ub+drIXxABp3tMr73anNWNSaqEztTz5saM4FZjHmWA02mAA7ezTKNgZF1giMGqek/IDGLRVsDQybynCoBp06bv5s135/r7NOEkrxshwEasXAPF1CEc7wI8Xh3x+CTY1fH7lXPsjJ3m5r4QlT7lG+hdn4vB4mz6pbSK+hazBQe538bi8aALVUuJHUXQeOQkIUvWnYmG68whQf3v7CDBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lLXjQtjsyG0fP7MiAhiuBH2BkVoJ21EL7ooBo0UVJgU=; b=jTg8bPXK3iq1q63VUyf2DSi9tk3lm2MEr4XmaSfe9TXMd3H37yNDQx7yGaQc/wlBSe7DrM9SN4zE0Bsbikob9V0JpO92mLz7a6Y2/nshcQiU2nqIHRN1Z1msxynCG3IyiJAtl/EzWkISjnoLD3DGwjeDsc/GzdXAvIaRb9kIWoHzLLc8YikKWsiUoygwobbisINfee9AxUOrU6HwTsd9ieZ/3U5Eh5ON5RpCim95sBBFo3wgSbAbapv/w4wu61TONSbQqr1XObPOTIs/1kADE16juC+Y1fxl/dgXe1pWOUvYITSS2rkbZr+MGKuL5Fu05TbD3QRNdKolZGippBE98A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lLXjQtjsyG0fP7MiAhiuBH2BkVoJ21EL7ooBo0UVJgU=; b=pRq1it7CBXWA9blDOpGBPN+/JNajOn4OkbWcZguocQvt6j+Z86qKLLWfIuehXwkFg4sQUhQjH73D+N4q2jkVBsgB6moH0Tm+LI76rLvDI5Ah47T6YCo3a/vekDp2KLBihysazVZJLuedkQQxuzSLwJACHBk59nM4hdj0/7ysK5s= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM5PR0401MB2450.eurprd04.prod.outlook.com (2603:10a6:203:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.28; Tue, 18 May 2021 10:16:00 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b%2]) with mapi id 15.20.4129.031; Tue, 18 May 2021 10:16:00 +0000 From: Dong Aisheng To: linux-arm-kernel@lists.infradead.org Cc: dongas86@gmail.com, Dong Aisheng Subject: [PATCH 4/4] arm64: head: fix code comments in set_cpu_boot_mode_flag Date: Tue, 18 May 2021 18:14:05 +0800 Message-Id: <20210518101405.1048860-5-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210518101405.1048860-1-aisheng.dong@nxp.com> References: <20210518101405.1048860-1-aisheng.dong@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) To AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR06CA0217.apcprd06.prod.outlook.com (2603:1096:4:68::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Tue, 18 May 2021 10:15:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e1ff5d34-15fa-4d55-86d1-08d919e5ef6b X-MS-TrafficTypeDiagnostic: AM5PR0401MB2450: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2733; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L4LJfYN6BLtnmw2gJZ6wPA58CVRalzg7GHRAE1zk1wO+vHDtszE+HrGyaRqZQCPSAWyMoT9UEDjizySPHCM0qkNaTrE42VPc8rXEyphPTqLVRG7liWOBXlMfMbd09NyKsn+z/88Qaaa6Kp5mZ4/DdMMvQrl4kVovMCbD+6ql9NDBl9IxtcUUMFa5Duk9uX3r39zJg4dA2aTfyHpQ94FAOe+OuBh5Jq3H1JPCZLQPHdfVXkyGEiHZH6UMwY+5uyz6iLIC43oZjLMdDxuCeWD+TxbRPI8uqHgIFY/ZbkrA4fI57UBNB0KjeQ5N9sVooWkmkuTR7j6KJ3nhHzaITtqNQzR0E0k4Kdmflb/55B+26d9zJQG34+YGVV9hAQZJgiiJW4pm+FJFk4uD19mwdafgLLh/gLOEJpsRmFOLZEuP1dzwOJzh7sWOR0LWWiqUYBpIPXdvRQUfFRZgQissbLOBm9fV/RE1McXE7xB5253zITD4T+9VRLqRt6cvTMIDOwEGRXQ+C849zINfTU3RElDHoZHzwqWKtyt54RkgHKYKN7SIRxYkk2CjhLJUyr65JFlpVmfaLMjYOsdewKzWEm8dlTLRbuF7xRMquRWKeVJNk8tp44pJVgPIkU4iwlt8JBQ94HebRfTMGg1WWOGXW+WZUVyDPjCfgl/oUkoHevP2nTROAXYSL3QAh6ViZALTEM/r X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4966.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(39850400004)(136003)(366004)(6666004)(316002)(478600001)(6506007)(4326008)(186003)(4744005)(52116002)(16526019)(8936002)(86362001)(6486002)(2906002)(8676002)(2616005)(5660300002)(26005)(66946007)(956004)(66556008)(66476007)(38350700002)(38100700002)(6512007)(6916009)(1076003)(83380400001)(36756003)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: H5Eq4rRM5vv0SHBMMCbXmhdy2NxjvRlbMEvQyOyhADic1eDc+YeGSLAQcJ0O/BSx01hhVBMwAMLgZoKfQqq53WnXmGrAQ5my+vxHUq9vQ5J81hBG98A+enMkLyR06FrMdC2kd6MC7xyrgLdwWmLOi1STblHEIHueTSSeVP1p7XeM3mTobI1alvHHu5d+M6NDo69tv+VOEanKCKbPUWSiX4KJr4gxf13DxC4LXQICom1bGI6VW+0Pzjr+s5MrtzoR4elGYUPTKgCeriZefczjuvnHjhiwIB6sTiB56O+4hMWF25Ca6zctIjtZnT5dT0H+cY4gKU7APcBWcji+f67iKDE2TgaXiS4gQlfw+yg/zwlvc5IfdOwlqsZV+TYa5GMpuyBF80/5Ktfzt9OaV0cfwWkjxbAkIQ4AehE2EVO2adGRoODC4ZAPwOY9VLMVLq9zHQXhv9lJnhPH9f1Odq8HSBxApxf3hpHH1LCLGl0VwKgLysuhdPYix1zS6OYDzYbYlxspQNz5FlJVZRzefOHJh47cXDnUgjYy8AC9YdqQIhbGhGe8Z/EbseqHaMlHplLOmMBjwmKnqca4JMY38AmAbU1G37q303QNVB5XK0sUQ46oHu5ovaaDARsYUJe6FSWz52PbnfLXVgj6lVCQwjGJmixXvk6/NVvB5JjfXU26ZJ8Z1v2r7xqECo554ZCc7FWSWjnADjeBIKz91nLK8ebCF8gEADF5xUPgytLOx2z7lX7mQo8ZG2wPAagG0cnUkxx0qaFSkNFW4FLwEd8i+SnmyOWQE+mtMiPBbbgssu02Y5uX66auPtzadbeWUgdYCSBSPFChT0aWs6oEzeGfYb3ul6sFbWvJs1IuDxp5UPtjbUEdSe0eTXYayGFoNe8SRfThrzxM0kgqlvV04XSr9sJxTpl76pQeaxUEVyHOnYhGKAaRr8mIU2o+5Oyw7NemLVKArDUsc7BJHvYdfd3qG63dr65GHF/Xc0R5k4wNuTTsNb9cENongI5EpngMi3JORdeqm4rjPIf/r1re7Az6vdvZJt2h7YKp1uV8Ico/i5Y70zgeZj3t59DUaSEgVQJpDY9ldmdYiJndJvsWtgRjkI0mv+7oFgkaF8cs8unzQGLRV1wH6T9SiSSzD03B+/Jf7ABACQBdxXaGcAkCMzhSnC/fiumu9/g6zNFOE9x1tHUgCT8A0f5KFM0tV4BKK1lEA+iVoWouLD4JM+kbwLHdJYfu9bVIlN1vbomdnmlqjOAF2dTSa/Aqk0JWzJ5QMirDQXGNg6CYSlRGmJAwVauk67D6AiTWkUGNitw+5ZYp/HTmhK/S+Q1AnoRzt06rtiSKkVJv X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1ff5d34-15fa-4d55-86d1-08d919e5ef6b X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2021 10:16:00.8130 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: l63gMfu2U9xwgx7JTnMHxuKb13J9VUy+tCtF5naxKS9Cy+7GCCV7gOdJPsOQh08uuKDu1l5F0OHI5KoryDdRMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2450 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_031604_417733_74F05959 X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Up to here, the CPU boot mode can either be EL1 or EL2. Correct the code comments a bit. Signed-off-by: Dong Aisheng Acked-by: Mark Rutland Acked-by: Catalin Marinas --- arch/arm64/kernel/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index d266b4c6287d..3b88000841d9 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@ -550,7 +550,7 @@ SYM_FUNC_START_LOCAL(set_cpu_boot_mode_flag) cmp w0, #BOOT_CPU_MODE_EL2 b.ne 1f add x1, x1, #4 -1: str w0, [x1] // This CPU has booted in EL1 +1: str w0, [x1] // Save CPU boot mode dmb sy dc ivac, x1 // Invalidate potentially stale cache line ret