Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp766189imm; Fri, 14 Sep 2018 06:07:29 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda+qlWWLMuA3vc0jx9RdFeova+SFHfTJ4KYGExpQhDb6203eCPeJSkflA8HGEKXhtzdyIKz X-Received: by 2002:a63:6a89:: with SMTP id f131-v6mr12080209pgc.165.1536930449905; Fri, 14 Sep 2018 06:07:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536930449; cv=none; d=google.com; s=arc-20160816; b=tXoH1nXfdAzozA05gAk86a16T6md0XJO+soCOFukXWGuZ15l2wznmyBT+jVCg5aNl7 nlZXfRMVvD8IfM+89c728HDPLzOeRPMJaRcMVE7lYBJSN/NpL4rjFAhDI0UmWVDvErt0 IOiDbENgQcHZBlBNGbJDvt2TCkaqhwTBBp3HWXjrji4iKBJpen7QqC0ezp0iiEU6R8Ym 4UjKgTeDkjDNv21tSzfA9/WsF7Y5THnEr0L+ULsFnkkuJstLVHfnLngyjyJn2B3NeWDj JkssgggXqP3GHofkQnPU6LHMWumVhVRx+VFgBS1Kc+v//cA4MrUvDhc1V/3y/4OSOQc+ wUdg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=+p3lBv6W6KRxC9fIKo8PcKgIWKZVCJ1B0H3xAfeZDbM=; b=iNfxb+Ram6CLgWHvCA3qnTpXUeqDC0R4qa4CMW2BH8Bc8QLQuy15mI5HrtmO7ZolM0 rseB9XoIVVmacVuLEDJbqC4lZDugh98jieIMa1JBJovCtgjwqBQsIICEZDBJjdopeVEb Q1C7VzL07EFMfU9raYvRm/yUSm+Wj/OOfKW9lVISuswmz18KRISz7SPJE780A33llgmT bzn9hmxl1Zh4K0nWbINo7iMa26iNQ/H6nOfGgNtwKKxfVnm4Leb6A5OqDe7C/ujwglbT W7Io88JJeU1bntg1N07QM5VpYJQTBN1UV2hTgqrPd2USsc+rX84Lngm87pB+C/Ny4M3T wqaw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az1-v6si6686349plb.513.2018.09.14.06.07.13; Fri, 14 Sep 2018 06:07:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728290AbeINSVP (ORCPT + 99 others); Fri, 14 Sep 2018 14:21:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38302 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbeINSVP (ORCPT ); Fri, 14 Sep 2018 14:21:15 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 22B8730832F2; Fri, 14 Sep 2018 13:06:51 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-116-110.ams2.redhat.com [10.36.116.110]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4602427C3E; Fri, 14 Sep 2018 13:06:48 +0000 (UTC) Subject: Re: [patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support To: Thomas Gleixner Cc: LKML , Andy Lutomirski , x86@kernel.org, Peter Zijlstra , Matt Rickard , Stephen Boyd , John Stultz , "K. Y. Srinivasan" , Vitaly Kuznetsov , devel@linuxdriverproject.org, virtualization@lists.linux-foundation.org, Paolo Bonzini , Arnd Bergmann , Juergen Gross References: <20180914125006.349747096@linutronix.de> <2f723b28-8f81-4b02-861c-42f756a8825a@redhat.com> From: Florian Weimer Message-ID: <63a0f67d-fdb1-e2fc-5d4d-4f3cfbf86fd1@redhat.com> Date: Fri, 14 Sep 2018 15:06:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Fri, 14 Sep 2018 13:06:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/14/2018 03:05 PM, Thomas Gleixner wrote: > On Fri, 14 Sep 2018, Florian Weimer wrote: > >> On 09/14/2018 02:50 PM, Thomas Gleixner wrote: >>> Matt attempted to add CLOCK_TAI support to the VDSO clock_gettime() >>> implementation, which extended the clockid switch case and added yet >>> another slightly different copy of the same code. >>> >>> Especially the extended switch case is problematic as the compiler tends to >>> generate a jump table which then requires to use retpolines. >> >> Does vDSO code really have to use retpolines? It's in userspace, after all. > > Unless you have IBRS/STIPB enabled, you need user space ratpoutine as well. I don't think this is a consensus position, and it obviously depends on the (sub)architecture. Thanks, Florian