Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp761348imu; Tue, 20 Nov 2018 06:36:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/WiJuzBgzIaxDaf2mNNXyX4Urg7Ea9L1vgWr8XfnQsU+ziteYezZnUVj9GWsYZtdz6ngT/s X-Received: by 2002:a17:902:b118:: with SMTP id q24mr2491806plr.209.1542724586060; Tue, 20 Nov 2018 06:36:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542724586; cv=none; d=google.com; s=arc-20160816; b=AWXLOHSFeG+2ZbeRsxoG1aIrsP1FvZkoOj5dDNuw0nVeGIc0epdoTMHTBgYSFyf+zC 5dwJk+/hTtDIVuBUlxjMQq1Ar4DPI34715VXD+rELsxY7rzMdP7PPAGPdJ/byBKicxeF JUm9Wtt4PocyELZnFl21lNOIGI7rYHxUb0TiWGcKsKmPeEqyOYL5IuK3/WMGRuM9zm57 Hh715B9epRvPyFHpK7R/7DM5CpjlCDX6cpwOXn99QfA/ykmWqHdOIEngXAXhom/Bu29z mnPOPIJZ44yfhNmMKi2IshaE8dss/8RSJb1wEXos0oyMa5sv8gX6JH6rRKY3crbPhtge LAxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=l1aXOe8O8JAT/r3b/fcHFbIJbYGE4HWaiWXOnwYcHGA=; b=ZrI2c70t5W4B7chjTZ4YSHZPKHy2d5Q0fzPc2zlAYFIDEdjVJCIuxfGVjPa5REkqt6 inbpJfGi3BejpFAxdKL0tVVP0piRDh6UaDfwB64eIfz9aWTLEvZeEvO9ua1iQ1kpxg9J 4DaST1tXF/l2FkLfG3J5O2jFINL+6YSKp8sk+lq0nx6XdXYsS/2zHlzkeYIFd63fIPnW LZMRMe6tbtyQnzlwfRO1AJ1Y3yQ1GYqOrYFh5IEjE/gT/rE++TP4QoDux7HIYG4bHDVc a921uFfIykzQuBcDZJyILdplHsW6lbuQlgg2odU1rua7W+CAWU4/vV5ukIDoryaGSzDO L61A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LkuIjJYP; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2-v6si49065039pfb.66.2018.11.20.06.36.09; Tue, 20 Nov 2018 06:36:26 -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=@linaro.org header.s=google header.b=LkuIjJYP; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728161AbeKTU1g (ORCPT + 99 others); Tue, 20 Nov 2018 15:27:36 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:46871 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726107AbeKTU1f (ORCPT ); Tue, 20 Nov 2018 15:27:35 -0500 Received: by mail-lf1-f66.google.com with SMTP id f23so867919lfc.13 for ; Tue, 20 Nov 2018 01:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l1aXOe8O8JAT/r3b/fcHFbIJbYGE4HWaiWXOnwYcHGA=; b=LkuIjJYP46v+GXFQHfw8PK7oJfxfCLmAgq4qgkYjAKdAIXME+5vadsny2GK0rRFrDW E4lb5GUOl/B/ChDwelUhZ82OLiqb6IYN04o1jh1sZh7RK14Nuu84RSuMCPCdcXos86QC thFpF9+ML5pzLEfx1t3sl+Oxba7I29mj8lpnw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l1aXOe8O8JAT/r3b/fcHFbIJbYGE4HWaiWXOnwYcHGA=; b=AgCC6H3Be7AXKKVlVfQR52w3hc0VnP6Rb91Q3PIWWz8qUN6ntJFDBHdIr0P6uZSNNN iblB23eQmj3z1uAu/nYtgMMIU9/FHbkOJiHQVRDGYKukJtZB+cgb2+2rk9FjBdy5wKpp hGOgDrMi+U24gzY9HvWVqT9Oy5HmQj9si3CM2NryqLxOSjjAgqvTYx9Ta+hyfDR3QqXi misj9VdFBTOJ6ZPPPRExz+cz8Wy03cWka0T0/UK6gtxUZPWjJwSgkvkpk4qwoyphDTMi D4ah48kl90PphO4X96w3aBiS9u7wT+va7GWKqithXOnXJmkDKwFhSLD9unAQbW9DWkDi gv2w== X-Gm-Message-State: AGRZ1gIubqCgvPOS/JLwzlbGUSWuBnfa5SQAaIN2vsUAYH6HLkwR8X5f cDFPB/GZXyXPSIJhiozPZW4e59v3yWcxFxd+qkuA8g== X-Received: by 2002:a19:c801:: with SMTP id y1mr722147lff.53.1542707957289; Tue, 20 Nov 2018 01:59:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Tue, 20 Nov 2018 10:59:05 +0100 Message-ID: Subject: Re: [RFC PATCH v2 10/14] m68k: mac: Convert to clocksource API To: fthain@telegraphics.com.au Cc: Geert Uytterhoeven , funaho@jurai.org, schwab@linux-m68k.org, Arnd Bergmann , schivers@csc.com.au, Thomas Gleixner , Daniel Lezcano , schmitzmic@gmail.com, John Stultz , linux-m68k@lists.linux-m68k.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 20, 2018 at 10:00 AM Finn Thain wrote: > If you use one timer as a clock event device and the other as a > clocksource, there are no timers left to run the existing > timer_interrupt() handler. So this arrangement would require > GENERIC_CLOCKEVENTS=y, right? I think so, yes. > Then, wouldn't all relevant platforms have to support > GENERIC_CLOCKEVENTS=y, if a single binary was to support all of those > platforms? Good point. I wonder of there is a path forward where we could have peaceful GENERIC_CLOCKEVENTS and !GENERIC_CLOCKEVENTS co-existence. Yours, Linus Walleij