Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4920851imu; Mon, 12 Nov 2018 20:51:23 -0800 (PST) X-Google-Smtp-Source: AJdET5cGPXly0gzOyiMyixt4e7ZzjhhreT7QIvbYWANVU2B7uDW123vmLXLUI8gA4WslGj4QPcGj X-Received: by 2002:a63:134f:: with SMTP id 15mr3366383pgt.19.1542084683045; Mon, 12 Nov 2018 20:51:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542084683; cv=none; d=google.com; s=arc-20160816; b=V7xuCXGZGaB7v3IFHYK11t2KG1/uqwO3jmpN7xDZgGGEK7980jBeZdZN35oBFyze5d tsNm/0iQK25xHpPLjBanmtccJ1dnx3jTG6A85E0wxXJXNgfPwf3yfc1gZkYT1PTuWM3w 73Bz17m6MC+vqCriod0aBG0A4zyhrFWEzoEScZyoP8tHUsmdVL1YO+SOHWP54B9iE4V/ afAf99kYOFJY2icdBdtPlWRNuiDLJC8SWQT50XiACtd6/ibk/uvtkv3QKmXlxLLSCCTL ViKRfFa7LDt93L3VFbr/PdeMRxaQolMZPR3d8HBKHvW7TcZ9QDazq6RfVpiD5iwlJyyd X4Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=PSIu/HQdLaK6hL7Oz9vhaTNC72Qhz570Bbuuow7ytEM=; b=Igli8hfYErI9UiXLhuYGC3jUc/nV/Bb6OLDSYjTYIteXwJL1OojQ8j1khUmH8wxXGX k4/593DbknC1/BzkPGbCwB3H5GTGIxhj2Z/tiM0mUFboQSqaallSIPnA4lrgcxXglo/C pXvTCcWUFVpsKMSSOx/qdSaOnTZoiEiot7jqEgKgZDyPM0MTx2jidxs3SyfNqPhakpCh D+4rA0yBo5m7xDBQo5DwkEbpD9j6rXghw59LT4B36BPJbPte67UGDzQM+xfQ70XqPYHN XjRR4zUZlXCcUUW9KSJdrQR7dtF4Ll1ohnvaQ3E9fBY5xofoDwX82aS95+0Kfxs7BsEC AKaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U0J72tEo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r36-v6si18047609pgl.257.2018.11.12.20.51.07; Mon, 12 Nov 2018 20:51:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U0J72tEo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728334AbeKMOrG (ORCPT + 99 others); Tue, 13 Nov 2018 09:47:06 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:47018 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbeKMOrG (ORCPT ); Tue, 13 Nov 2018 09:47:06 -0500 Received: by mail-pf1-f193.google.com with SMTP id s9-v6so5391483pfm.13 for ; Mon, 12 Nov 2018 20:50:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=PSIu/HQdLaK6hL7Oz9vhaTNC72Qhz570Bbuuow7ytEM=; b=U0J72tEobGtHY9ta4NUT73hZCQqukEqWWt73AQlP6VxF9ppZBPVKmC8//bS0A5yajl +lhEgQO2aV5ABRbUqVivMnrqdaoPbSmneDFy4fUVYv3/8jthqJGjTsl/t1J5jJaJl0cn kdpOuywat/Aaoe7bUNdbtSSxXsuzdfAxVIuqPD48gipd3OjYBz0zzdn159yKNv1b6EBv 8IFefEsIDRH8YD7snxMDfOPA69pg1upWwLHN3L2ueSAZHOd5oCoXfGOjLG0IzQwSzE2v 7mBsi86aGFR8i4dJlee0cUvyQhJ3viqi0tqjZuebEwFlaRTHTyL60BMeH0tOf+NFuHjB AwFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=PSIu/HQdLaK6hL7Oz9vhaTNC72Qhz570Bbuuow7ytEM=; b=cpY9AFBAGZJxjWJwaNF29ZebIcmFVpAaQRtnyWeuJM1JTo677rIzJPZu4HGN9Zv/d9 1FYYetkPEVHvRBWUnKUZemszuGHPzvTajbpwEhht2c0AImep5azQ3bJmK5LXSZ20s9rJ oUMCwjjuCwj1vpmJXrb4y6PxXwxm2hPWmlgkTEBfZyLB6vmfn5oIcuiDgUKRY5WMsE7Q B+o/dacMJVuG3/ZzjhBBtPAcjII3OEV6124LojzI3MxvhG7O1VLIifA3VZMCzi8d95AA MXnmYqq2PG4vLyy/fiUHYVGOpowFb+okeOsMZwkF5Ccg1KqnYIs1dsCbLqccYJ+5mp9M fpug== X-Gm-Message-State: AGRZ1gL+I4eLDnZlggbiNTVGP1jIiRAquvqz9npz/vYUbgSt/02lcBKD gYTsxf6oEhznubB82Dbakt8P/CwsCKg= X-Received: by 2002:a63:be4d:: with SMTP id g13mr3440268pgo.378.1542084646374; Mon, 12 Nov 2018 20:50:46 -0800 (PST) Received: from [192.168.1.101] (122-58-176-92-adsl.sparkbb.co.nz. [122.58.176.92]) by smtp.gmail.com with ESMTPSA id r1-v6sm14040611pfb.69.2018.11.12.20.50.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Nov 2018 20:50:45 -0800 (PST) Subject: Re: [RFC PATCH 06/13] m68k: Drop ARCH_USES_GETTIMEOFFSET To: Finn Thain References: <74edaee07800f91eb416ab3e72c4670b8ef4bd4e.1541995959.git.fthain@telegraphics.com.au> Cc: Geert Uytterhoeven , Arnd Bergmann , Stephen N Chivers , Thomas Gleixner , Daniel Lezcano , John Stultz , linux-m68k , Linux Kernel Mailing List , Philip Blundell , Joshua Thompson From: Michael Schmitz Message-ID: Date: Tue, 13 Nov 2018 17:50:37 +1300 User-Agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Finn, Am 13.11.2018 um 16:14 schrieb Finn Thain: > On Tue, 13 Nov 2018, Michael Schmitz wrote: > >> Hi Finn, >> >> Am 12.11.2018 um 22:06 schrieb Finn Thain: >>> On Mon, 12 Nov 2018, Geert Uytterhoeven wrote: >>> >>>> Hi Finn, >>>> >>>> Thanks for your patch! >>>> >>>> On Mon, Nov 12, 2018 at 5:46 AM Finn Thain >>>> wrote: >>>>> The functions that implement arch_gettimeoffset are re-used by >>>>> new clocksource drivers in subsequent patches. >>>> >>>> Disabling this first affects functionality during bisection, right? >>>> >>> >>> It means that all platforms have to use the 'jiffies' clocksource. >> >> So all that happens is timer granularity drops to 10ms, then gets restored by >> the later patches? >> > > Yes, that was the plan, but I can't confirm that it worked out as I don't > have any physical 68k hardware in front of me right now. If you can > confirm this on your Atari Falcon, that would be great. Will do. > (It appears that a QEMU-emulated Mac does not benefit from having a > clocksource that's more accurate than the 'jiffies' clocksource, in spite > of "clocksource: Switched to clocksource via1".) With the current code, kernel log timestamps have 10 ms resolution on Atari. Time resolution of times reported by initcall_debug is roughly 40 us. I'd expect that changes with falling back to jiffies only. Might be worth a try on QEMU Mac. Cheers, Michael > The latest patches can be found at > https://github.com/fthain/linux/commits/mac68k-queue/ >