Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2592258imm; Mon, 10 Sep 2018 03:39:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYROmpMondtyQGhoGosPgePVFKnkj5+W1z3/UXirHxpC4qC0IO55LDHKcJIi8kGKBcroSOa X-Received: by 2002:a17:902:8f93:: with SMTP id z19-v6mr20938532plo.263.1536575980816; Mon, 10 Sep 2018 03:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536575980; cv=none; d=google.com; s=arc-20160816; b=0FlQFpXSRr/LPs4aLlkrMH+M+QlQJSf6O3NPFc+3YtAjol6a3LTmANtTFvA+2lw0T5 CZOtf04XMzrfKGv4989t4Zr57FwEugZN72o9YCwea5mSmxEJIsQYT3h8EqKN5+Gni8l0 78dBs+kWIiJ2l2SwyS69avo/fXHqbTjuosM3EL3vD2VQQhdLo1K9GzpGtdu/q6jEF/t/ D0/sQlveR8rUyJ1U3AYdEgcfNj4h7T8K2+rg1ysvH4dJvQwGlz8dHzPjtRAr3msBbCNp OT52CMEawXVGgL5MMfFd0dLGHWblgpihMuYdAy5oYU2H87OU/AoV0BxDGZVzMQCC5Dtw MtuQ== 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=ZSSLGzTw8XhG+I6gNK3eNsgcpaNm0pXzqcooPXV0m0k=; b=LCkfBOd3w03ufqh9AYYjemIKC+2N1oqkiM/Y5ev/o+O2iEjxKalTeSlppbZx2Jc596 mA+WX2t5MTDXhXGBCHxB1JqHoNQ1CBCFZKeN/HKPLWA69b1qKHoCMOHQ45CvooFSabWl q/X96fNPYSXytFATH6T6P/OClvJPtyA4Zl6TT1fwt6Mcz56iQacaMI6z0arbP4tg6bZ4 RuGNUDnTWOnrDHrI6YeXx+/Gi5d3uqFigYdQvfYwHmxLT4ATXH2CaY2r767HOziFt03x /C8PrNTr1soMSN5Z/xwsm5InfdQTx6U5glsYIv/rj/nUwLO2daXgT6D2hdZZAQo1IRHl tewQ== 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 z20-v6si6055581pgl.594.2018.09.10.03.39.24; Mon, 10 Sep 2018 03:39:40 -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 S1728322AbeIJPbk (ORCPT + 99 others); Mon, 10 Sep 2018 11:31:40 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:38935 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727980AbeIJPbj (ORCPT ); Mon, 10 Sep 2018 11:31:39 -0400 Received: from p4fea45ac.dip0.t-ipconnect.de ([79.234.69.172] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fzJa4-0005NV-Ev; Mon, 10 Sep 2018 12:38:08 +0200 Date: Mon, 10 Sep 2018 12:38:07 +0200 (CEST) From: Thomas Gleixner To: Andy Lutomirski cc: Matt Rickard , Florian Weimer , Stephen Boyd , John Stultz , X86 ML , LKML Subject: Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO In-Reply-To: Message-ID: References: <20180901015935.CCF0B18E20A9@virtux64.softrans.com.au> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 On Sun, 9 Sep 2018, Thomas Gleixner wrote: > #ifdef BUILD_VDSO32_64 > typedef u64 gtod_long_t; > #else > typedef unsigned long gtod_long_t; > #endif > + > +struct vgtod_ts { > + gtod_long_t sec; and actually this wants to become u64 unconditionally as we need to provide the full seconds even on 32bit for the upcoming y2038 support. We still have to truncate it for the current 32bit interface, but the core code can be made ready now. Thanks, tglx