Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2853482iog; Mon, 27 Jun 2022 04:24:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uMcuVZJQY6CbcXbS8JmXoE192AXFJWR+dxdfEvYjTQT3pI3kq2/j9RKjfVneyrgzEuKBNk X-Received: by 2002:a17:906:7007:b0:6ff:8028:42e with SMTP id n7-20020a170906700700b006ff8028042emr12364595ejj.278.1656329040262; Mon, 27 Jun 2022 04:24:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656329040; cv=none; d=google.com; s=arc-20160816; b=VSAGZHR0IG7nPI8zWpEWh5U7YaiWpkF9eH2Vtl7/McjbDC32EiQCIwrPQUba+luC39 zeRpQvZdf8L6AS697eF1pfx3ICa3537h4MroHrTqsINubS3z+ZvPVWWcmkQv7NYKzSMZ eSjJDuddyHN2PHqN4ZdoCHkd2Mr62HkwP2poz/kzhhwKz1qoSCPknoOA406yTwrJrkuH Ji18Wc84/i9wGiswjrdFN5Kaoq2Eagb0uMEguERrfz14B5VaYfsJ0PjYs8jvDFMrAWwJ LWdeMqO+7M5+nr2GxIVWx3zu/i4h/voHuffJEdVQvQWTWlZK2uC63oPPQzBpZRHLIUuc 4RuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=zX4vvfWdU6wZvqNnlwRbzIzIT2tP88JAa94vlq0x0f0=; b=guVSnWT/YnTrk2NlfncIuBwCs+Vt+zGsIEIAHaYYVCkWDA2kgtu2ar305FFZt5yXly SbM0ebkPy35HP7tFIKe65ToGnuz6hukZmPVTG7OjYzq0yvTI2isTcmcNQUr+HmAMrKXM AJd6wEcCyz7FWMNZnHo3IdBHxu9QS7FmyS0Vz8u3+ztvDdriGCJ9E5ZpOTX3b3lHFnpi VnhlCpmTB6dmRcpwXtzRZv0sYogkN/QreGnSwpwxXKafIh900qWoWvyhGGxyhFCzlv29 hjKLfV5NlfVdvqxpEJ1IGUEvDN4/VtKpMcOwOPn4e7dYQqE0yZVNmfKrBH4DDJEyCYSM CisA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e18-20020a056402191200b0043590d1c8b6si14794732edz.223.2022.06.27.04.23.35; Mon, 27 Jun 2022 04:24:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234415AbiF0LGt (ORCPT + 99 others); Mon, 27 Jun 2022 07:06:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234409AbiF0LGq (ORCPT ); Mon, 27 Jun 2022 07:06:46 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA9D864CD for ; Mon, 27 Jun 2022 04:06:44 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LWlJ51YrSzkWZx; Mon, 27 Jun 2022 19:05:25 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 27 Jun 2022 19:06:43 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 27 Jun 2022 19:06:42 +0800 Message-ID: <3f99f9a1-5598-1c0a-b552-186ec6ff01ca@huawei.com> Date: Mon, 27 Jun 2022 19:06:41 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v5 0/6] arm64: Cleanup ioremap() and support ioremap_prot() Content-Language: en-US From: Kefeng Wang To: , , , , CC: , , , References: <20220607125027.44946-1-wangkefeng.wang@huawei.com> <9a6e61da-0a5c-02bb-d769-98cf1f602de8@huawei.com> In-Reply-To: <9a6e61da-0a5c-02bb-d769-98cf1f602de8@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/6/14 11:21, Kefeng Wang wrote: > Hi Catalin, could you help to pick up it, thanks. Kindly ping... > > On 2022/6/7 20:50, Kefeng Wang wrote: >> 1. Enhance generic ioremap to make it more useful. >> 2. Let's arm64 use GENERIC_IOREMAP to cleanup code. >> 3. Support HAVE_IOREMAP_PROT on arm64, which enable >> generic_access_phys(), >>     it is useful when debug(eg, gdb) via access_process_vm device memory >>     infrastructure.