Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp563805ybk; Wed, 20 May 2020 06:41:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUoySOhprXpF44v77HiS9JBNiMbT4rT4iPxd8T1lxEUSi9iODJbSk6Y6XKdsG8gioYLZGy X-Received: by 2002:a05:6402:296:: with SMTP id l22mr3593989edv.353.1589982063975; Wed, 20 May 2020 06:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589982063; cv=none; d=google.com; s=arc-20160816; b=D/Z+/ExilawWZXarQyJaHBgPMLrLt5e8tQOCub6GdvC9VOzs+xwYs1XyVSq07hBn3a Uf2NfJ4iVvJ24Pm0D1bKxULso2RtGUxuzlrz+beIxGpmFF92OCZ3yxEv9fhq2cWMNDZO hf1rxXZAI2HyjWPMizuZQX8RyncaeNMY9r1EaqOAr967UWkM3a8FinumSP8zPK1zG65c sPjeEym/UW/mWyLquPKnurigbT+311p34lbsoInyrk5yJDptH141wtSoDHq9Gv/lsCzy 2veGpFi85woEVgn0cCl2k/iF3hzblheWHuTiPYutfAYBWvMxEpko64spaPQ8STuMyqWA ic0w== 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=BonZ4rSe0AhrS9iV45Q6BukpjSVb00Qxn+/0VyaVPDo=; b=0yZwFm1/04LDHnObZACziklh9nK76JczsoP1I4s2mVmpiBCNZfrF8jeJ2ujxm+izgu TDuk9QLR0oY3X3ZISus31kUn4t6uctZUjhlhFob/iDN/0o4Ms9nvTQrk/GpmRXk+fYx3 Kxr4EKk6wjf4IsWWOHTY4kkpd3jeXnTaqzoxA7KaNhd7bnna4sMxv1WlkUpPvfWiaiyn lKSHhrXLE3mVqQsQqVHTRf9kfbvSplKRtthhe5aoeDsRqOVno/d99DG/dZrTCVPknzJJ SbTSKqHjeam9zMt8V6qOmfWRUTs0TbMy06aueB2IVX1xsAzemjLh+ZDbnwGnt8X1P0iC BccQ== 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 x26si1480214edv.448.2020.05.20.06.40.40; Wed, 20 May 2020 06:41:03 -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 S1726832AbgETNik (ORCPT + 99 others); Wed, 20 May 2020 09:38:40 -0400 Received: from elvis.franken.de ([193.175.24.41]:60382 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbgETNij (ORCPT ); Wed, 20 May 2020 09:38:39 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jbOvd-0002ik-00; Wed, 20 May 2020 15:38:37 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id D8600C014D; Wed, 20 May 2020 15:38:27 +0200 (CEST) Date: Wed, 20 May 2020 15:38:27 +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: <20200520133827.GA17714@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> <20200520121201.wohv6u646rx5otkf@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200520121201.wohv6u646rx5otkf@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 03:12:01PM +0300, Serge Semin wrote: > Since you don't like the way I initially fixed it, suppose there we don't have > another way but to introduce something like CONFIG_MIPS_CPS_NS16550_WIDTH > parameter to select a proper accessors, like sw in our case, and sb by defaul). > Right? to be on the safe side it's probably the best thing. But I don't know enough about CPS_NS16550 to judge whether shift value correlates with possible access width. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]