Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1825603imu; Wed, 21 Nov 2018 02:32:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/UL/FyMJB2lqa6dfNJBqisk2ylfGAhNG5wPuLFu4v6eq39WP59ip9Kg7rNh9mMo3VTHQ0YG X-Received: by 2002:a63:f615:: with SMTP id m21mr5579836pgh.428.1542796334615; Wed, 21 Nov 2018 02:32:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542796334; cv=none; d=google.com; s=arc-20160816; b=bqjPVM6AP5TwO5O/dV5y/keAHQS3I3dwDM3cjh7reEkNiL3XYM2Z0HYy5bIWHavWBA pTWEZNaL+zvzkuWY7PugBqwVqu37QmCdSFjx64BJY6SMcs2vk/THS3bnJs35WhhZmfin 8dBTjYDwnon32JuGSrBhQsm9UhT2pzbzM1jn+hVwG14gIkNVJ/BdyUFTxoMgB2vHDpQl WvCltGuio7aeD6UEjJdNb88nTcCdf9URMgXsCIl++dWXaM6hwTHzByAFtLin1A1DS/mg 4GXBnPXLbI+zqYBkKb5mKKJ7hHt2z0yvUUuO7hHW3av2IuZ4X4Foy+BPLd6XBh5XaWIf axwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=A/vsoEZX/RCA26glmdcIrRU1Fsj9rI/kk4Jt0FnZKbs=; b=Pxsyq68QWgfxvCUvlHNzwqBgZk3RVdpI/YtBlbswfs+LOZwUmhPaqvHwRzdYHu4Y0e 6VnK1xGAhvIHWviSu5n9HHiZ+pt9CFrhhszO8e6uoaoCilkphp5WSEV/o1YQqo+FcrSR e2b6cFFjMW7742+6heu6eyZoxsEfzMKWwwScnj9mkWQopPADILemJEe3rGIJtHnZL/lr VAMKMW2Bt0OBQ5uRLMF0mYyhfN6eavIVqvE+eu8ORXHeCfv5UtAa6YRowE3zEuW/+ljF QbQepfI0of8WVlb1VkNmEKBDA9aFrQKgEp9i+RExd0D2SGDfa8ST/cI0GIM4npeEHR7w yc4Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12-v6si38577075plb.324.2018.11.21.02.31.57; Wed, 21 Nov 2018 02:32:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728575AbeKUUV2 (ORCPT + 99 others); Wed, 21 Nov 2018 15:21:28 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:58814 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728317AbeKUUV2 (ORCPT ); Wed, 21 Nov 2018 15:21:28 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 2F75022A24; Wed, 21 Nov 2018 04:47:38 -0500 (EST) Date: Wed, 21 Nov 2018 20:47:44 +1100 (AEDT) From: Finn Thain To: Geert Uytterhoeven cc: Kars de Jong , Philip Blundell , Andreas Schwab , Arnd Bergmann , Stephen N Chivers , Thomas Gleixner , Daniel Lezcano , Michael Schmitz , John Stultz , Linus Walleij , linux-m68k , Linux Kernel Mailing List Subject: Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset() In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Nov 2018, Geert Uytterhoeven wrote: > The 8520 CIA is almost identical to the 6526 CIA, as used in the C64... > The 6526 CIA datasheet says, "In continuous mode, the timer will count from the latched value to zero, generate and interrupt, reload the latched value and repeat the procedure continuously." This suggests that either 0 or N (the latched value) would result from a read from the counter immediately following an interrupt. Who can say which? Just have to try it. The answer should allow us to avoid the risk of a clocksource that jumps forwards and backwards. --