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