Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1865040rwa; Sun, 21 Aug 2022 19:42:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR45HWhS+FCnIndgtqedXgc4G/SspRuxSTD9eOMgP1+bY7wqWno4aAACcB9XXncTWUCUvh/Y X-Received: by 2002:a63:560a:0:b0:42a:7b1d:4e08 with SMTP id k10-20020a63560a000000b0042a7b1d4e08mr6679190pgb.594.1661136147072; Sun, 21 Aug 2022 19:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661136147; cv=none; d=google.com; s=arc-20160816; b=SeUK3eqMck0edbad8qt0pr1A8RAZ1UA7g7VDzescwGBOmFj1z/xABtK0Qqx3Eteqbc J7uBlc+DUCWr7bFPDa5ZgH4pMJBEX5LqYQiswpSl2bJKFjrpxvNXBpi/bpzdBw6wXLK5 fHCZAeBmu9tnf4JW9f2K5qalKk+P1lzTinHOnvhxo1T5ANS1AIFBsCF7dTFbODCYyIG5 dfYhGrTo5vm+OJ5daw2Zm+cSqAKsrfAPcqAh4cgOuoYWvUjuoAu5viCpQxCA33xP1o3z r2MNVH8pKl5UBALmUBjr98wTOp552XtdgpFXcuZFyq7bjQD+/dTnLizphsaPeY9DlTGT Kv8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Zpk6Rxu700+dm/MkUInp0fC7Hlw+3o59RXo2zuERj0U=; b=WLKdNPajmnr+7LAUGZhME4YYaJuLJWbBfKMi084EFSx5ozVHbqw5jYwbhQKBEzhpGk jzbdyPY4xPgTpH/K5HZj9ciom1VyoVW/BE7tt+HFXC/FHXYLAijOQwT93Hj66+4zAkTq gSv2wuSBDHZDaV4FNc1nh7EFs7gJHHAxVVHL8jG0iPaOtqP8q2BXiCSefbMI8zrQQsaR VqpiZxWja71P/nznNFZCbXRpQ4qLaC4GzGDM0Buq6XBpW+X4rYXLLfpHnQcBty0F9xIL 44UR7krdADvzCOGQ9Ixu0YzCkWxnWlFcfCXfys3WJSdKpZ6AnDYIGU9Ipq8fkjPhXrOW IhVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FfVMuzxf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w29-20020a63935d000000b00412b3d1a154si11149277pgm.734.2022.08.21.19.42.06; Sun, 21 Aug 2022 19:42:27 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FfVMuzxf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232346AbiHVCTj (ORCPT + 99 others); Sun, 21 Aug 2022 22:19:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232251AbiHVCTh (ORCPT ); Sun, 21 Aug 2022 22:19:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D983DDEC9; Sun, 21 Aug 2022 19:19:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 74C4360F12; Mon, 22 Aug 2022 02:19:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE11DC433B5; Mon, 22 Aug 2022 02:19:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661134775; bh=Zpk6Rxu700+dm/MkUInp0fC7Hlw+3o59RXo2zuERj0U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FfVMuzxfJNd6CSHWL3L6vvyrG29BhL3D6t0S/y6HBR97Rb4ybt4WaFhjqcabUYb9k 7mEeojBh8JIhCkTYbSqMa1nfjg7XK+zfrxtWcz3FtGUipAFc8zIWi3BOd+e/BYi4Ii ILc9pybHjCPZvy+jXwdk0Ww0GLM+8CRNrgrhvMa9eV4Fn8ELa7/8HqlClBBB2NDD+L hNP/LlGvSo1nV97qwTvdCQDkWs5loZhSxPtJogaP06zZzaZgatb6fABLRqX8KtWKea ubAE5pbrW10jIig9wDF9uftLq71Uyy8sB5oKz60WW0whLCUXvbjim5r/v6uvMi2Ho9 +oyOUKrqbu/6w== Received: by mail-vk1-f176.google.com with SMTP id 134so1225859vkz.11; Sun, 21 Aug 2022 19:19:35 -0700 (PDT) X-Gm-Message-State: ACgBeo3f4JdZp8QKnDdZBF6ll4qBOGvxeOGkzkqrGZ5RSn9UYXPDbHRB 968gOYhzkyXytPhJwaoDIMXCrteeXgXMD/aEZVM= X-Received: by 2002:a1f:9b90:0:b0:374:f09c:876f with SMTP id d138-20020a1f9b90000000b00374f09c876fmr6652088vke.12.1661134774631; Sun, 21 Aug 2022 19:19:34 -0700 (PDT) MIME-Version: 1.0 References: <20220815124612.3328670-1-chenhuacai@loongson.cn> In-Reply-To: From: Huacai Chen Date: Mon, 22 Aug 2022 10:19:22 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] LoongArch: Use TLB for ioremap() To: Christoph Hellwig Cc: Huacai Chen , Arnd Bergmann , loongarch@lists.linux.dev, linux-arch , Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hi, Christoph On Sun, Aug 21, 2022 at 9:23 PM Christoph Hellwig wrote: > > 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. OK, let me try, thanks. Huacai >