Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1222315ybk; Sat, 16 May 2020 04:59:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpZVPu2LnzHP63JNxBQKl2A+yeI4EhfF0lqm/ckJ0SW5jSNLxO4STKmM4C8675+f4pc12M X-Received: by 2002:a17:906:4a8b:: with SMTP id x11mr7333702eju.107.1589630358971; Sat, 16 May 2020 04:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589630358; cv=none; d=google.com; s=arc-20160816; b=tosHpUVW0QyobKUChdt9CYM2/Jc6h93je+fPTowOMUBFqDhC3OXGT+/Z6gqNRmGj3y 1grvVkMLLJHOZqNN8ULmY0GLIalVbGq+WP+waHXkVaX54LylyEZL3R4xglHADufjBQ+l h2EdGsCDFyNsZAV3sKu6H8Y+nOo+CfDAzYGMgpX5xLeNuqTNNqwPS0d60th+cYiLf1iq 4smW4C2p/SJbSlnHwtiq7vj7uqfsb0lmYHdXpcYwJaNYr5a06mqLkbdB17ArTbXTto4r R7GLQUPLnbNDeMb16gcgH9lMiL1tAKZYoglLrRe/rQDbpH+41PV00b3iWIkk3Ts3pLM0 6sWw== 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=SMtmocQ6lcJ5LHRt0PGTZm8PAGiMC7qFryf+It+V9OU=; b=thSeY8FvoaR/kGz+MlEHe435Ztav6iIFdeB95huV5GPxaQ5Y6jV+MFXoYaInMc7jYe vUPEpdhP9H4JeEY5ZyFYyyDPcnNvzWeg6HqWvO4QnNnGbPtox0Ddnpit8TuOFMTZGzFo +y2YDSkC6RUKiD0RxAEdQEhwCyxMHXgMpbUuPSCua9G/tVEJzX5vDSHF9rjb4VmKApMD PUpVuhRimheJwJ7AuJL6ucY4E5uMdyzwDZ1FWBDE4dOwxpKlzye4NIQMc70nk+bGMnpb zUCVlnScd2/Kq0SBwomMOKW0ba2KDdL8+LZ5oh1DtN1VB1fwaD9zNG5TSyJWy7socnEV TTsA== 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 u23si3442995ejr.391.2020.05.16.04.58.19; Sat, 16 May 2020 04:59:18 -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 S1726233AbgEPLzL (ORCPT + 99 others); Sat, 16 May 2020 07:55:11 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:39954 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbgEPLzL (ORCPT ); Sat, 16 May 2020 07:55:11 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id E88598030875; Sat, 16 May 2020 11:55:08 +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 Ih4dynNzh_Sx; Sat, 16 May 2020 14:55:07 +0300 (MSK) Date: Sat, 16 May 2020 14:55:05 +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: <20200516115505.6ybwxuv2bsu2myry@mobilestation> 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200515210647.GA22922@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 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. Then it's settled. I'll resend the series with csrc-r4k updated to have the tsc-like design implemented. -Sergey > > Thomas. > > -- > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a > good idea. [ RFC1925, 2.3 ]