Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4103187imu; Sat, 24 Nov 2018 18:45:35 -0800 (PST) X-Google-Smtp-Source: AJdET5duAT+hBIcerEQ9E5XIOAk4wa87QO13tc21kx6HoWNDFr5QO/fokPZfXo69RoIXv4NX3Iug X-Received: by 2002:a62:4bc2:: with SMTP id d63-v6mr23256840pfj.170.1543113935475; Sat, 24 Nov 2018 18:45:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543113935; cv=none; d=google.com; s=arc-20160816; b=sDsPsKjflT6aU/iLOhdU0xZWuSTISi047lXRxibyEPBn36Iwp00qfs9zLGjJUL9Lzb VFizPcjbNgBPviwn+66Iv8ae2b6Rzbg1chz1u1Its8QihFJWM83OO6RSJpHCjP4H64b+ C0NRTkSpkBNLXqzY+3eNQ1VFKZipoiigkH2FlOS8a3d0szqIeamRCNxQ2AfE4macqeif N9tZ4k9KD4vQrtK2yqOn7aQLbIEWavmQvp9/4osELmiL870MQp7SRDROvkhQ+yYeDP3G hcMfdpm5KFF0ndhej5dF7/uv1qt78F0eMGKSil9+Rn9P6wZRMW7mK94c6qJitB31/gki iOvg== 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=hMuploDnEdcZzBOSrvREITOrPwp67uGDmyvlX5GyxQ4=; b=pDzBk1HHBNcxzrxo679sa6r9lKNUL5aEC8QzWf6Qd+YcuOJkqnR418HL/RybRlDacn fWL5SKM17bGhxqK9jUXSBjJInKGGi9yKYEE5xqvQtAQhRIfmIcypnXfhc6jBol6C3LTr GN9dga6JTHDCYroE1Mky3J80HLfkP5w3v6ZIWW3L2vkm6i0DDnVuVT/NzZBSk0sG2fV6 oxc4lcucokm4kU9usWvRDObW8IFrxG6lnAT5wrF96jJ9NFHSCtjWKAt5RzuKqPcneCrH lHj2xrjfmlOUtuhvg5NHd1DOIIGwTnOMNKjKutEY/GykzTmFf+lIFrovSxtIHThjbqjD oLsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cokX/umg"; 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 w185si56190831pgd.518.2018.11.24.18.45.20; Sat, 24 Nov 2018 18:45:35 -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="cokX/umg"; 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 S1726984AbeKYNeo (ORCPT + 99 others); Sun, 25 Nov 2018 08:34:44 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:45447 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbeKYNen (ORCPT ); Sun, 25 Nov 2018 08:34:43 -0500 Received: by mail-pg1-f194.google.com with SMTP id y4so4565532pgc.12 for ; Sat, 24 Nov 2018 18:44:45 -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=hMuploDnEdcZzBOSrvREITOrPwp67uGDmyvlX5GyxQ4=; b=cokX/umgn0K8VfZiNzf2wcl2uEzh7cB1VECQyjEJQeDrBQoPS8Hsq4EqSVakePIPh4 3YTsraZMtEDUKRbKEtTMzM7aiHI0PjlgNivdXUq2f2PfDzt0sYWo0HTFobRiFVhoAKTX QGwiJ9hILBpDD7XCOzHB7zvcyw4y1QPWKKZ+oJQ1S2Cjeo7YvVSH0TaRfreC5f5VC8gg IWIV/th4a0wOSbDUeQNMO9zmU7+AxZ6s8FVaxWrNoC3yKxQ30zPcdQKdJj+YTu50YDdt LSd+ymTCAcB/Gt0UyiT1n5foZCjxKQ3AJaKq7FsSXTKEFWbJH+K8PyWCpeZyWHHPqDIY sRbA== 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=hMuploDnEdcZzBOSrvREITOrPwp67uGDmyvlX5GyxQ4=; b=tT/mMMLcTpL3dCi0rjum0cMoAUQd0GGDN1wVIsFmpb+3FESd2c50gbv1Ge2yNj1fsV Fot6PWELwiggkDzlowsbgfpXTza6PNx4woYo0IhRam2vpONTD7dgsy704zaRjWTZVD73 wVwb4EnxQzvFvlYjxotQSZGqzfGywRbSyd4YOHuZBseq25YkLKlidfcTy7REsW1zOrc9 qXbOCqoSVdybUb+q9BuTHTMwEMtRYTsatakbrfcj/gFMyJE30NblRZHY0TB5jJkORZ3D nD2zi8vEmr1z28j2vPJ9Rb7+PBg9ktVD7IXW/315V+Sdw/h2Hbroxx+TwWiepBLLD18y /r2w== X-Gm-Message-State: AA+aEWYwV8lqN/fLdoJ2RaBLgSRFe1MTu4nqECzzo/VkJi0wFN7FCTWb DXQupmsBhhU08zgB1F2t7NcFCql3tIM= X-Received: by 2002:a63:a35c:: with SMTP id v28mr19658891pgn.205.1543113884618; Sat, 24 Nov 2018 18:44:44 -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 r130sm31790537pfr.48.2018.11.24.18.44.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Nov 2018 18:44:43 -0800 (PST) Subject: Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset() To: Finn Thain , Geert Uytterhoeven References: Cc: Kars de Jong , Philip Blundell , Andreas Schwab , Arnd Bergmann , Stephen N Chivers , Thomas Gleixner , Daniel Lezcano , John Stultz , Linus Walleij , linux-m68k , Linux Kernel Mailing List From: Michael Schmitz Message-ID: <36b78174-5038-a1ac-4c70-d84a34edd275@gmail.com> Date: Sun, 25 Nov 2018 15:44:33 +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 25.11.2018 um 14:15 schrieb Finn Thain: > Maybe the timer interrupt has a sufficiently high priority and latency is > low? Maybe cia_set_irq() is really expensive? > > I don't know the platform well enough so I'm inclined to revert. We can > benchmark gettimeofday syscalls on elgar but is that hardware > representative of other relevant models? I suppose the CIA is on the main board, so running with the slower clock speed that you'd see with a vanilla Amiga without 060 accelerator board. Ought to be representative enough? Adrian has a few other Amigas with different hardware base, so we might be able to get test coverage on more than one model. Cheers, Michael > [1] > https://github.com/mamedev/mame/commit/e2ed0490520f538c346c8bdaa9084bcbc43427cb > > [2] > http://vice-emu.sourceforge.net/vice_9.html > > [3] > https://www.commodore.ca/manuals/funet/cbm/documents/chipdata/cia6526.zip >