Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp959037pxb; Thu, 5 Nov 2020 18:55:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLA2SmZZbhn0Oe2FiRdI12S2kFQNADH/xHrQDamVtNF/u5TuHDQ4SlgkCxFX4cn/jl6Etp X-Received: by 2002:a50:ab15:: with SMTP id s21mr5862919edc.88.1604631302800; Thu, 05 Nov 2020 18:55:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604631302; cv=none; d=google.com; s=arc-20160816; b=Wp1xGZN6yZOlxuD0khPgnrqdAgsyZdMSwJ13cXCA5e+6oPg1yfTBSajR8NgrpMdovp zm1vTRxTC90/01x5KypJlt3jh/88daGhfJ5eUzanVHlofYnVFn1xw+Zqqp7v2GcsHdbu K+wsVYX69ZURVSmYwkozeXBJGyuospuGF0lOWPCh+cLHB+IxUyLu3qm1Gnik+ZneyPnf UCOt8yA5iJTDyZloNxo8Mz+SI5GwjW0jR8K7CVvA/VJYaXNxjmDg0lqPLgfHnl81UcLk IlcZiDgP69pIBnsAXLB0MozqCi5t1F+zA/bECxPJPu/8J5DZIfioXi/Tmuh3S/NoRF4J WVUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=KAcAZi3JfAcB1ObteAqdpC6m+XHZsyEkNA3kcasbfjw=; b=h2nlr2z71gy35zo/WJDJTiWfIdHY0kfrIVoX26lZuXJQPi6HSSis05aRXajjZXQ3bk dIs8YX8XPQdEb7REywCsq71tqUk2D93LG90l/W3LruNbkZqWDDYMkJVy9iZuNHgLViIK ikNLIx+b3nd/VuS+qCb3YtL35/xW1HsWYghUCU4OKBHGxjzd4ARjWVrMJREsmhtWfM29 0IkfDpPVoGCtTeMzc4T1KySEkiSBsco+3KgHrILKzedjOE0eLTNi0mAWCHx/O5LzS/kf gg4VhSg+6Wnib2TU4F6rJEbpotej2gusb4hnzYMawnimJ6lZrpOP1Uwrd/XuBhts+fQN VKtg== 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 r25si2775578edy.166.2020.11.05.18.53.53; Thu, 05 Nov 2020 18:55:02 -0800 (PST) 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 S1725938AbgKFCwJ (ORCPT + 99 others); Thu, 5 Nov 2020 21:52:09 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:47018 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725835AbgKFCwJ (ORCPT ); Thu, 5 Nov 2020 21:52:09 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 4D86F22C30; Thu, 5 Nov 2020 21:52:02 -0500 (EST) Date: Fri, 6 Nov 2020 13:52:01 +1100 (AEDT) From: Finn Thain To: Geert Uytterhoeven cc: Arnd Bergmann , "linux-kernel@vger.kernel.org" , Russell King , Tony Luck , Fenghua Yu , Greg Ungerer , Philip Blundell , Joshua Thompson , Sam Creasey , "James E.J. Bottomley" , Helge Deller , Thomas Gleixner , Daniel Lezcano , John Stultz , Stephen Boyd , Linus Walleij , "linux-ia64@vger.kernel.org" , Parisc List , linux-m68k , Linux ARM Subject: Re: [RFC 13/13] m68k: mac: convert to generic clockevent In-Reply-To: Message-ID: References: <20201008154651.1901126-1-arnd@arndb.de> <20201008154651.1901126-14-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Oct 2020, Geert Uytterhoeven wrote: > > > > The arm/rpc timer seems to be roughly in the same category as most > > > > of the m68k ones or the i8253 counter on a PC. It's possible that > > > > some of them could use the same logic as > > > > drivers/clocksource/i8253.o as long as there is any hardware > > > > oneshot mode. > > > > > > There appear to be 15 platforms in that category. 4 have no > > > clocksource besides the jiffies clocksource, meaning there's no > > > practical alternative to using a periodic tick, like you did in your > > > RFC patch: > > > > > > arch/m68k/apollo/config.c > > > arch/m68k/q40/q40ints.c > > > arch/m68k/sun3/sun3ints.c > > > arch/m68k/sun3x/time.c > > > > Do any of these have users? I'm fairly sure sun3x has never worked in > > mainline, sun3 seems to still need the same few patches it did 20 > > years ago. I couldn't find much about Linux on Apollo or q40, the > > information on the web for either of them seems to all be for > > linux-2.4 kernels. > > They probably don't have any users. I have access to several Sun 3 machines but no time to work on that port, unfortunately. Are these 4 platforms (those with no clocksource besides the "jiffies" clocksource) the only reason for CONFIG_TIME_LOW_RES on m68k?