Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2766742imm; Sun, 16 Sep 2018 02:40:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYFHp7mlbFy+w3CeW0vtvo6JitvdlKylrjTIGjw1XoG7Kh7/LkkxugHJ94Fs27R7Lnij5gL X-Received: by 2002:a62:b20c:: with SMTP id x12-v6mr20731918pfe.201.1537090806439; Sun, 16 Sep 2018 02:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537090806; cv=none; d=google.com; s=arc-20160816; b=QdhsnjRiRd/70XKn5Y0fksJobsGMSuF4sxhWW6sp8hXKFvOOb1zH6edFh0tOqXbu2F gT3k5yG+XDci8HKovHnYcoetcjZN7Dtr5vnjX9woIIilHT6H8D2bYfc5oLX9qwULSN3K hqpftLK6TS/1RaIxd8m+ndfpRDUSHQ6UFwdJtoIlE5i/IegCRIZdRCNcB+3tw2lFvkWy GduBPk+TILBR45ifKlzVoCismpU6Guj+zNNNZPwBiEZwpwrzM9B3gs4KVgLy6juUQNLN jAGv/KhjWQ1WlKLiKLHO/QBKVOlGoI9dKCUKmzQC63Yuu2RNHatmq7+4QEgatxyw47WS TMwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=3xr1x1nxRWCl+KM5oIbkiuyX3397A/Xcftls550+dZ8=; b=V9itpLzgf3nE4JtDwoDRLaWWeRo02RvkIuILZyeDa0lBd9rUpVcplmtdcRCQn5G9kv mrod3O3lQMBEGHtM4N9oJomHjVvH5TxFqnpigyJnKzHFxCLO/Vdu5YP5tAMs0GuLiYkj 4N7AoBp680X0YhUHONHKPzyEUgwBTpOfEyvcW3KEGvnWg22eyT6j4DFH/VHHdV/FS7IG zZb474ausEOoAqlRnp0kSxS/vZ+oDwYCQ+T3Zqwr4lit0JAz+CcO6QaxhP5wvoePoi8u 4DGSbllZ9c0hyj8V05WxEK5V7e5UEwsR1uZ6/1ER2QjG/J2TOyvMVqAeXCC67aX759ux jkPA== 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 s65-v6si12915385pfb.271.2018.09.16.02.39.51; Sun, 16 Sep 2018 02:40:06 -0700 (PDT) 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 S1727864AbeIPPBc (ORCPT + 99 others); Sun, 16 Sep 2018 11:01:32 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:52724 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727391AbeIPPBc (ORCPT ); Sun, 16 Sep 2018 11:01:32 -0400 Received: from p5492e4c1.dip0.t-ipconnect.de ([84.146.228.193] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1g1TWC-0005LS-UG; Sun, 16 Sep 2018 11:39:05 +0200 Date: Sun, 16 Sep 2018 11:39:04 +0200 (CEST) From: Thomas Gleixner To: Andy Lutomirski cc: LKML , Andy Lutomirski , x86@kernel.org, Peter Zijlstra , Matt Rickard , Stephen Boyd , John Stultz , Florian Weimer , "K. Y. Srinivasan" , Vitaly Kuznetsov , devel@linuxdriverproject.org, virtualization@lists.linux-foundation.org, Paolo Bonzini , Arnd Bergmann , Juergen Gross Subject: Re: [patch 11/11] x66/vdso: Add CLOCK_TAI support In-Reply-To: Message-ID: References: <20180914125006.349747096@linutronix.de> <20180914125119.081037164@linutronix.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1473863026-1537090744=:1650" X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1473863026-1537090744=:1650 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT On Fri, 14 Sep 2018, Andy Lutomirski wrote: > > On Sep 14, 2018, at 7:27 AM, Thomas Gleixner wrote: > > On Fri, 14 Sep 2018, Andy Lutomirski wrote: > >> That’s... horrible. In an amazing way. Can you add BUILD_BUG_ON somewhere > >> to assert that this actually works? > > > > Sure, but changing any of the clock ids will cause more wreckage than that. > > > I’m more concerned that we add a new one and break the magic > masking. Maybe two start sharing the same slot. You are right. The obvious extension is CLOCK_BOOTTIME. That's id 7 which indeed conflicts. I'll remove the magic. Thanks, tglx --8323329-1473863026-1537090744=:1650--