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.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 8A4A3C433DF for ; Thu, 28 May 2020 07:46:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 75E3E21475 for ; Thu, 28 May 2020 07:46:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725779AbgE1HqS (ORCPT ); Thu, 28 May 2020 03:46:18 -0400 Received: from elvis.franken.de ([193.175.24.41]:42134 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbgE1HqR (ORCPT ); Thu, 28 May 2020 03:46:17 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jeDF0-0000aG-01; Thu, 28 May 2020 09:46:14 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id D3155C05A4; Thu, 28 May 2020 09:44:48 +0200 (CEST) Date: Thu, 28 May 2020 09:44:48 +0200 From: Thomas Bogendoerfer To: Lichao Liu Cc: Paul Burton , Robin Murphy , Geert Uytterhoeven , Max Filippov , jiaxun.yang@flygoat.com, 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: <20200528074448.GB10708@alpha.franken.de> References: <20200528011031.30472-1-liulichao@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200528011031.30472-1-liulichao@loongson.cn> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Thu, May 28, 2020 at 09:10:31AM +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 > --- > arch/mips/mm/dma-noncoherent.c | 1 + > 1 file changed, 1 insertion(+) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]