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 908CDC6FD1C for ; Fri, 24 Mar 2023 13:13:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231983AbjCXNNx (ORCPT ); Fri, 24 Mar 2023 09:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231569AbjCXNNn (ORCPT ); Fri, 24 Mar 2023 09:13:43 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B4099F970; Fri, 24 Mar 2023 06:13:40 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1pfhEh-00010v-03; Fri, 24 Mar 2023 14:13:39 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 6F8D4C1B8C; Fri, 24 Mar 2023 14:12:57 +0100 (CET) Date: Fri, 24 Mar 2023 14:12:57 +0100 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, hch@lst.de Subject: Re: [PATCH v2 3/4] MIPS: Always select ARCH_HAS_SYNC_DMA_FOR_CPU for noncoherent platforms Message-ID: <20230324131257.GD15824@alpha.franken.de> References: <20230222132425.7442-1-jiaxun.yang@flygoat.com> <20230222132425.7442-4-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230222132425.7442-4-jiaxun.yang@flygoat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 22, 2023 at 01:24:24PM +0000, Jiaxun Yang wrote: > As now we are telling the necessity of post DMA flush per CPU type, > there is no need to select ARCH_HAS_SYNC_DMA_FOR_CPU on per platform > bias, just select it unconditionally and we can sort it at runtime. > > Signed-off-by: Jiaxun Yang > --- > arch/mips/Kconfig | 9 +-------- > 1 file changed, 1 insertion(+), 8 deletions(-) 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 ]