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 097E4C6FD1D for ; Wed, 15 Mar 2023 04:33:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230338AbjCOEd3 (ORCPT ); Wed, 15 Mar 2023 00:33:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbjCOEd1 (ORCPT ); Wed, 15 Mar 2023 00:33:27 -0400 Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13B402364C for ; Tue, 14 Mar 2023 21:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1678854802; bh=dnx8mYuIXKhY0u6LRcFBOzoqXdx1e7QKqhBvWdPzpZ8=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=VgEC4Y46BOhmxYa8KoD9dQnAmGzAcqArZr0zdsHqekEdduwtfswHmehsoGT391Rm8 bqoYsvYYjFe8Je30ruve6ZLKXqw/o95+2EShlqvf8wMo5Dd5rrd0rfkuUb0ajpLz0I q9IbRDObDqGGVGwHgZUMOT6HlNVEj2yllOMwS83I= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 41E4165907; Wed, 15 Mar 2023 00:33:21 -0400 (EDT) Message-ID: <0f07fc368ef9a365f4928f97819f203e45deb345.camel@xry111.site> Subject: Re: [PATCH V2] LoongArch: Make WriteCombine configurable for ioremap() From: Xi Ruoyao To: Huacai Chen , Huacai Chen Cc: loongarch@lists.linux.dev, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Date: Wed, 15 Mar 2023 12:33:19 +0800 In-Reply-To: <20230315004450.508486-1-chenhuacai@loongson.cn> References: <20230315004450.508486-1-chenhuacai@loongson.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIzLTAzLTE1IGF0IDA4OjQ0ICswODAwLCBIdWFjYWkgQ2hlbiB3cm90ZToKCi8q IHNuaXAgKi8KCj4gK2NvbmZpZyBBUkNIX1dSSVRFQ09NQklORQo+ICvCoMKgwqDCoMKgwqDCoGJv b2wgIkVuYWJsZSBXcml0ZUNvbWJpbmUgKFdVQykgZm9yIGlvcmVtYXAoKSIKPiArwqDCoMKgwqDC oMKgwqBoZWxwCj4gK8KgwqDCoMKgwqDCoMKgwqAgTG9vbmdBcmNoIG1haW50YWlucyBjYWNoZSBj b2hlcmVuY3kgaW4gaGFyZHdhcmUsIGJ1dCB3aGVuIHBhaXJlZAo+ICvCoMKgwqDCoMKgwqDCoMKg IHdpdGggTFM3QSBjaGlwc2V0cyB0aGUgV1VDIGF0dHJpYnV0ZSAoV2Vhay1vcmRlcmVkIFVuQ2Fj aGVkLCB3aGljaAo+ICvCoMKgwqDCoMKgwqDCoMKgIGlzIHNpbWlsYXIgdG8gV3JpdGVDb21iaW5l KSBpcyBvdXQgb2YgdGhlIHNjb3BlIG9mIGNhY2hlIGNvaGVyZW5jeQo+ICvCoMKgwqDCoMKgwqDC oMKgIG1hY2hhbmlzbSBmb3IgUENJZSBkZXZpY2VzICh0aGlzIGlzIGEgUENJZSBwcm90b2NvbCB2 aW9sYXRpb24sIHdoaWNoCj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