Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp869686ybk; Wed, 20 May 2020 14:14:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQ/4J5Drt535pGEvp2L/peUFhKSt17u5TU0zPeOa0TpiN3XmtewFQTpw6PUniv4ZytBu4b X-Received: by 2002:aa7:d8c2:: with SMTP id k2mr5309726eds.145.1590009294625; Wed, 20 May 2020 14:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590009294; cv=none; d=google.com; s=arc-20160816; b=Yk+j5nLHH4ArAZuyI2gfXZs7DYh4fVa1ApnOHrB/kGH8IRcMtE230WkeOfpjVdaz6w aefTfi8TBUdayNRjG/V6ofRiTv/jDobtA8EWd0OQKfEtcdqVuAyd2MaJh0+nT0ye5yL1 awE9RuemhFYTAhlNQn0ezWyHpKgesj9pfrFq8AmUyDJQuJY4HY9d7MejQOM5aFg978x2 qMKwxDJIdMOi0NdebqjWP33eL7QgO8fZ+9+97vtBWQmWBzp99J6C7q1yyuh3t3UGg4Z+ /DsjvaG2FD4dUWoabxaJ72GvKIihTI/qqELye4w7uyO2ruZnCy/RzIyww2jXCINElz7X j/bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=IQwO3fwKfalm9zf43sgaUV+h8c/7WzBXoTJimtbgO7M=; b=ZVa+qGuAcnce3WoumNqwKmJ7R+WwaeSHzptS60U4LmbAFKQwg5v4jFKhSePvava3zq DKpK8soEngUagYRVu/I8huKQ1IXaWsZHrAWtwutoToRFVliDs7c2FmYX8S8Tw8caABfn 0l9+nI+QdxmTmLW13FWvpzlO4Azk0EFM1x4+wyx34BWcNJNTe4ofJouD16AG3J+R4zGs fxeMwBAxATu4q8CMXGnInXDkRK2PYOL8ovu21uqwSbK9tpLWe3LZdmSUXt4Ys5wYlQKw GzrnxgKTnP1Ny6pUVLPlX9TBd4GbHSHz9MpuaHAlNGpig8iIiunybhbSdSXOgtGIgcf5 B/Og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id la1si2332709ejb.235.2020.05.20.14.14.32; Wed, 20 May 2020 14:14:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728294AbgETVNO (ORCPT + 99 others); Wed, 20 May 2020 17:13:14 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:60824 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727018AbgETVNO (ORCPT ); Wed, 20 May 2020 17:13:14 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id DFFF580307C1; Wed, 20 May 2020 21:13:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vhE8g358omkw; Thu, 21 May 2020 00:13:10 +0300 (MSK) Date: Thu, 21 May 2020 00:13:09 +0300 From: Serge Semin To: Thomas Bogendoerfer CC: Serge Semin , Alexey Malahov , Paul Burton , Ralf Baechle , Greg Kroah-Hartman , Arnd Bergmann , Rob Herring , , , Vincenzo Frascino , Thomas Gleixner , , Subject: Re: [PATCH v2 18/20] mips: csrc-r4k: Decrease r4k-clocksource rating if CPU_FREQ enabled Message-ID: <20200520211309.y4phl4unnkbvztfe@mobilestation> References: <20200508154150.GB22247@alpha.franken.de> <20200511133121.cz5axbwynhmqkx7x@mobilestation> <20200515074827.6p5zx4sb3bmavjih@mobilestation> <20200515210647.GA22922@alpha.franken.de> <20200518134820.wedoumgbsllvhem6@mobilestation> <20200518163206.GA17800@alpha.franken.de> <20200518205752.txbylbjt2zkwdwwe@mobilestation> <20200519155053.GB15797@alpha.franken.de> <20200520115926.lk6ycke75flwzcd2@mobilestation> <20200520184024.GB23855@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200520184024.GB23855@alpha.franken.de> X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 20, 2020 at 08:40:24PM +0200, Thomas Bogendoerfer wrote: > On Wed, May 20, 2020 at 02:59:26PM +0300, Serge Semin wrote: > > I think there is a misunderstanding here. In this patch I am not enabling > > you are right, I've missed the fact, that this also needs to be enabled > in TLB entries. Strange that MIPS added the enable bit while R10k simply > do uncached acclerated, whenever TLB entry selects it. > > > If there is no misunderstanding and you said what you said, that even enabling > > the feature for utilization might be dangerous, let's at least leave the > > MIPS_CONF_MM, MIPS_CONF_MM_FULL and MIPS_CONF_MM_SYS_SYSAD fields > > definition in the "arch/mips/include/asm/mipsregs.h" header. I'll use > > them to enable the write-merge in my platform code. > > > > What do you think? > > I withdraw my concerns and will apply the patch as is. Great! Thanks. -Sergey > > Thomas. > > -- > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a > good idea. [ RFC1925, 2.3 ]