Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2857283ybk; Mon, 18 May 2020 09:34:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6lx7V11+svEkweOD+AKBVpBODwaugFWLEx3vXJhmRFpFxYDA2iDARVM1LFxY26sEnnaWH X-Received: by 2002:a17:906:660f:: with SMTP id b15mr14619858ejp.113.1589819654712; Mon, 18 May 2020 09:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589819654; cv=none; d=google.com; s=arc-20160816; b=xfi9SLNXNZOMbozB8yj5zce78wcgL57A/Xwyg2oJPo3MOJbt4KZ2niTmgpK4HWY7lW YNIk7YrmKMtOxddxrJ4MlDck36CKJ6z2W2wFavJrJyjh3f/4eCjz3w+EfZtDs5W5UFsh Zj2XIN6WsNloRLU3NUSavemFoluqcfik0Of92DAfZmVCINkT7R33G0n6khrjEsrbFIrH d8XWzGfwENhVTgqzTxmGszSuhy4cGPzPiF7seL1jJU1JUzkaeR3sVM/ETpNVF0/GNisT w5qrpUhVJ35Ak8ieh/00p90ZcIe2SdCD1ajOfiAFcaVNrGbrnV9ZmS65ciyldkqVckg1 JDkg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Zhu0n4bujdn/0FnsKGNgrifebzfQA8p57aFOen4/GjA=; b=WKWsGOXm5VzH9w0zIIqW3dwhCQGI1zxM7/8sGyduP1IhIn4Q3JDLqIwnDQfkTuKQOR utlCplpdaWAHWbR0xuamVSJEXtSvd7MrxE0TDjSj67j4sD1Pyal2IWldqNsH/SBaqpaA SwbXKR+jJ95ALSLyJV0c+GjkJ1p37IQ5GsL+PCbDxX9rAWYg1NQDqPX2Ii8QfuGCuSUF ShymUu3FPGh7aoMvIkxTh2pxdtSobwvAu5/anaUdCfTdzlqKOxSsGsbJmbBT1I5+THzj jYeN7ZNFDD39AkCAf2IUELt/ElwgYi3GNxD3oWhgI9vq9s3yCWY2JzR7MWJiL5E9N+TJ jCYA== 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 a3si1027593edx.588.2020.05.18.09.33.50; Mon, 18 May 2020 09:34:14 -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 S1727973AbgERQcX (ORCPT + 99 others); Mon, 18 May 2020 12:32:23 -0400 Received: from elvis.franken.de ([193.175.24.41]:58105 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726958AbgERQcX (ORCPT ); Mon, 18 May 2020 12:32:23 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jaiga-0006ss-00; Mon, 18 May 2020 18:32:16 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 8F3ACC010D; Mon, 18 May 2020 18:32:06 +0200 (CEST) Date: Mon, 18 May 2020 18:32:06 +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: <20200518163206.GA17800@alpha.franken.de> References: <20200306124807.3596F80307C2@mail.baikalelectronics.ru> <20200506174238.15385-1-Sergey.Semin@baikalelectronics.ru> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200518134820.wedoumgbsllvhem6@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 Mon, May 18, 2020 at 04:48:20PM +0300, Serge Semin wrote: > On Fri, May 15, 2020 at 11:06:47PM +0200, Thomas Bogendoerfer wrote: > > On Fri, May 15, 2020 at 10:48:27AM +0300, Serge Semin wrote: > > > Thomas, > > > Could you take a look at my comment below so I could proceed with the > > > patchset v3 development? > > > > I can't help, but using r4k clocksource with changing frequency is > > probaly only usefull as a random generator. So IMHO the only two > > options are disabling it or implement what arch/x86/kernel/tsc.c does. > > > > Thomas. > > Thomas, could you proceed with the rest of the patches review? > ├─>[PATCH v2 16/20] bus: cdmm: Add MIPS R5 arch support > ├─>[PATCH v2 15/20] mips: cdmm: Add mti,mips-cdmm dtb node support both are not my call, but look ok to me. > ├─>[PATCH v2 13/20] mips: early_printk_8250: Use offset-sized IO-mem accessors that's broken. A reg shift of 2 doesn't mean we could use 32bit access to the registers on other platforms. As I don't think adding some ifdefery makes things nicer, just implement the your prom_putchar in board code. > ├─>[PATCH v2 12/20] mips: MAAR: Add XPA mode support looks ok so far. > ├─>[PATCH v2 10/20] mips: Add CONFIG/CONFIG6/Cause reg fields macro that is fine > └─>[PATCH v2 09/20] mips: Add CP0 Write Merge config support this is IMHO a dangerous change. Enabling write merging for any CPU supporting it might triggers bugs. Do it in your board bringup code and at the moment I don't see a reason for the rest of that patch. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]