Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp778214ybk; Wed, 20 May 2020 11:42:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIJOyKfVka+gJaF8P9RVEupO4b3ao5uMuWi8nyj8kPWDMDjApXh/Ntdceyh7BkGUulAZH9 X-Received: by 2002:aa7:d706:: with SMTP id t6mr4886049edq.210.1590000141862; Wed, 20 May 2020 11:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590000141; cv=none; d=google.com; s=arc-20160816; b=cst+EpWaW7r0XKdzkQDdu3sPEnKJ8/wkj9MnnQ2tCfk23FlGjVTFTa8Kq2f0XiAHVU TKMAD3d4h7h0MMJTsEXf6nU4uOuXDhlgDSEN0Fuf/fgmWkh55VlKKITYp2jSGQwFXQvr uaxCBo/N6a7aM1GgI0Z2qVqLpIfZ78v8OTiBLSPp30dJq+gPnaCQ6P7ktAH7snBKcZFE bqJ9cfuTWaI51prynLngu7SIiyBdiyFFKrcW1EOTjZDGZHYdbx/KGy18xGaaEbh7DiLF XCGMxQhFrVff7Yn0TOMFEymeN51DJ32UiGAqzWnbg3paTvJWkoQHzhrwDb4mQt/DuBQV cltw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uDlzYQbbVU49f+u8/PN+0Qe5to6JAs/5e6pqlsmS9G4=; b=HhVoYqrTPr4lXCRgy9XiKjLg2Lxq/UUulee1sh9w9Lz19zlQFoJo6i0QgDzpHvR3yE +z3WPt4M9r2RyfVxVDEuY9P6VhJgjGkyjPtmCG2Thu81ljHR7N0+hZN84/uYF/ynlo6t TT0iElOok1AviIZHICXSYFJmOtdqfu7BD3lNWs/nswgCU4IbG9/Q0PZp6b9xGz9/fZYv UkyDCX4G1bkgNflj9canKnkrmn3zxoCblb5Upx2EFQeLcEM7oTgnmFqkI8z6Z/tZ67Zu sncNYTvPYwD3+vd1ZVbP6N1KwGjLQ7bQwRy2ZILHaYpTdpzc9iNUyEbuoEn1puLqUppP /kbg== 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 p16si1847913edt.222.2020.05.20.11.41.57; Wed, 20 May 2020 11:42:21 -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 S1726775AbgETSkg (ORCPT + 99 others); Wed, 20 May 2020 14:40:36 -0400 Received: from elvis.franken.de ([193.175.24.41]:60592 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbgETSkg (ORCPT ); Wed, 20 May 2020 14:40:36 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jbTdq-0005JR-01; Wed, 20 May 2020 20:40:34 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 952F1C0155; Wed, 20 May 2020 20:40:24 +0200 (CEST) Date: Wed, 20 May 2020 20:40:24 +0200 From: Thomas Bogendoerfer To: Serge Semin Cc: Serge Semin , Alexey Malahov , Paul Burton , Ralf Baechle , Greg Kroah-Hartman , Arnd Bergmann , Rob Herring , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Vincenzo Frascino , Thomas Gleixner , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 18/20] mips: csrc-r4k: Decrease r4k-clocksource rating if CPU_FREQ enabled Message-ID: <20200520184024.GB23855@alpha.franken.de> References: <20200506174238.15385-19-Sergey.Semin@baikalelectronics.ru> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200520115926.lk6ycke75flwzcd2@mobilestation> User-Agent: Mutt/1.5.23 (2014-03-12) 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 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. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]