From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A63BC32772 for ; Sun, 21 Aug 2022 13:24:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbiHUNYA (ORCPT ); Sun, 21 Aug 2022 09:24:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbiHUNXz (ORCPT ); Sun, 21 Aug 2022 09:23:55 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59CA615716; Sun, 21 Aug 2022 06:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=wh63hAobc1uVljLnJ+kI643Y5QH17ip9W3Tm3J/v7dA=; b=lxj1L3R2YRxu87z0ZJ+bgooI9o NW+gwuzuGaPN6AVBGJEnno6SRG/SZI/L7Mw92tlmqNgofzA+R2NxMM+1vvkWneixst24iTCG0fLE2 QAEPW+mAidZGlp+z3Ly5puWR6vbkyF8qYSz6k7Ozu1t8BmOEKwnxuofPKfBvwIIKc3v/agPHJGayN BZY2G/GdiNbcqH9CeHCKs8WEl5y68hpqBECAriNXK4baid8DOFkJPre9Z2XXKjZKdSO+gQI9MQDPk X7YqXRbYA7+bW18hThXnPobhomG40fhktnPgkeBrwzmznPSWIyH8dOwn/9pCr5Ir2XjbvCA9FePGG LHySku4Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPkvP-00Ac7b-7l; Sun, 21 Aug 2022 13:23:35 +0000 Date: Sun, 21 Aug 2022 06:23:35 -0700 From: Christoph Hellwig To: Huacai Chen Cc: Arnd Bergmann , Huacai Chen , loongarch@lists.linux.dev, linux-arch@vger.kernel.org, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , linux-kernel@vger.kernel.org Subject: Re: [PATCH] LoongArch: Use TLB for ioremap() Message-ID: References: <20220815124612.3328670-1-chenhuacai@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815124612.3328670-1-chenhuacai@loongson.cn> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 15, 2022 at 08:46:12PM +0800, Huacai Chen wrote: > We can support more cache attributes (CC, SUC and WUC) and page > protection when we use TLB for ioremap(). Please build this on top of the series that extents the generic ioremap code for these use cases instead of duplicating the generic ioremap code.