From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D89DB3; Sun, 19 Nov 2023 23:05:21 -0800 (PST) Received: from dggpemm100001.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SYdhg3CDpzsRJy; Mon, 20 Nov 2023 15:01:23 +0800 (CST) Received: from [10.174.177.243] (10.174.177.243) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 20 Nov 2023 15:04:49 +0800 Message-ID: <1f013eda-b82f-4ae0-99ad-0eec70d45146@huawei.com> Date: Mon, 20 Nov 2023 15:04:48 +0800 Precedence: bulk X-Mailing-List: linux-hexagon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] asm/io: remove unnecessary xlate_dev_mem_ptr() and unxlate_dev_mem_ptr() Content-Language: en-US To: Arnd Bergmann , Geert Uytterhoeven CC: Linux-Arch , , , , , , , , , , Richard Henderson , Ivan Kokshaysky , Russell King , Brian Cain , "James E . J . Bottomley" , Nicholas Piggin , Christophe Leroy , Yoshinori Sato , Rich Felker , "David S . Miller" , Stanislav Kinsburskii References: <20231118100827.1599422-1-wangkefeng.wang@huawei.com> <2a7bff92-8e25-4cf7-acf1-8ed054691fd8@app.fastmail.com> From: Kefeng Wang In-Reply-To: <2a7bff92-8e25-4cf7-acf1-8ed054691fd8@app.fastmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm100001.china.huawei.com (7.185.36.93) X-CFilter-Loop: Reflected On 2023/11/20 14:40, Arnd Bergmann wrote: > On Mon, Nov 20, 2023, at 01:39, Kefeng Wang wrote: >> On 2023/11/20 3:34, Geert Uytterhoeven wrote: >>> On Sat, Nov 18, 2023 at 11:09 AM Kefeng Wang wrote: >>>> >>>> -/* >>>> - * Convert a physical pointer to a virtual kernel pointer for /dev/mem >>>> - * access >>>> - */ >>>> -#define xlate_dev_mem_ptr(p) __va(p) >>>> -#define unxlate_dev_mem_ptr(p, v) do { } while (0) >>>> - >>>> void __ioread64_copy(void *to, const void __iomem *from, size_t count); >>> >>> Missing #include , according to the build bot report. >> >> Will check the bot report. > > I had planned to pick up the series from > > https://lore.kernel.org/lkml/20230921110424.215592-3-bhe@redhat.com/ Good to see it. > > for v6.7 but didn't make it in the end. I'll try to do it now > for v6.8 and apply your v1 patch with the Acks on top. Thanks. > > Arnd