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 X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07916C433DF for ; Thu, 28 May 2020 06:05:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C8E792075F for ; Thu, 28 May 2020 06:05:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="gif+VHiI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726932AbgE1GFv (ORCPT ); Thu, 28 May 2020 02:05:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725859AbgE1GFv (ORCPT ); Thu, 28 May 2020 02:05:51 -0400 Received: from vultr.net.flygoat.com (vultr.net.flygoat.com [IPv6:2001:19f0:6001:3633:5400:2ff:fe8c:553]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57B63C05BD1E for ; Wed, 27 May 2020 23:05:51 -0700 (PDT) Received: from halation.net.flygoat.com (unknown [IPv6:240e:390:496:b320::d68]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 9D96D20CD9; Thu, 28 May 2020 06:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1590645949; bh=Ho4pFiBTK0b1RFHQK73QvDFA2lb+uBeQcoEsdeDMBAs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gif+VHiIQWuyc38H12mkESetQ0SP42fyoAidJyO4hCLBZVRQs4mMERuCbu3P5AJvE PPx/lGRSoMFhl6owVNizz7M4QTx2THrxZ4x98adMNKdl/4v95frKxg7QuhPqhkkSXr 8t6w7Y7h5/Z2sa+NIf05WoO/M0aQfOVUYo1K4NKmzpmLxl/YNIElyhbPSJVPwJUMCi o7dw74FcoEI9f4hZaBnyVg0o9XBm4XvchLTkCdRpbe8rawrzSjZJklm8BRhh+TAD64 cBvz+KHaQPcFLp5ngA2bqVlK+yI9AD8B/ou3Qu8N7f/ObzS/tVpf+9PgDB4b3dFLNM JpKO/zWac4/1w== Date: Thu, 28 May 2020 14:05:35 +0800 From: Jiaxun Yang To: Lichao Liu Cc: Thomas Bogendoerfer , Paul Burton , Robin Murphy , Geert Uytterhoeven , Max Filippov , yuanjunqing@loongson.cn, linux-mips@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] MIPS: CPU_LOONGSON2EF need software to maintain cache consistency Message-ID: <20200528140535.1e2d9154@halation.net.flygoat.com> In-Reply-To: <20200528011031.30472-1-liulichao@loongson.cn> References: <20200528011031.30472-1-liulichao@loongson.cn> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Thu, 28 May 2020 09:10:31 +0800 Lichao Liu wrote: > CPU_LOONGSON2EF need software to maintain cache consistency, > so modify the 'cpu_needs_post_dma_flush' function to return true > when the cpu type is CPU_LOONGSON2EF. > > Cc: stable@vger.kernel.org > Signed-off-by: Lichao Liu Reviewed-by: Jiaxun Yang Thanks! [...]