Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1264459imu; Tue, 11 Dec 2018 16:08:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/WnAOdPxFSAckXuY8GvNBPiTUv5fkWhLr39ogGRGZH4pcGQT3ciTCUkY0hN6lJ4J4TmiCMO X-Received: by 2002:a63:4101:: with SMTP id o1mr16288850pga.447.1544573339470; Tue, 11 Dec 2018 16:08:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544573339; cv=none; d=google.com; s=arc-20160816; b=nuIovKfTbLsr3WN9E5Os2+xXxD30qXzFnGcxSYRikrWFKlvmM0HaXpYhNseu9MhkNM ctPlUCKUC+CwhdFL7vr5lyYrEKTUOfqm1mBZLclfmLMveMsJZiJna5q9jflmw7O6qSPA hW5lOrNFWXnHadtP2Q/P7nQ7NOjvglxmuS6amDlBuC0/TzZti18wUd86WcXuhz+sVpH6 xWLf4UXld4qM0To0MOolfoFnVuAyHzHiJDG1j6K53CDLy0dfJb1RgeP1lI5M2Mk1uJI7 Q+b9+AHJViMEWLBNyg0SHASEuKhk0MB5etRhXoAu/MzXBRLGNAU+KCwle0fH1qzFLF9p SvkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CqVhix/nz6x1C3Dg+rOR++DU3U7H5E19yaaR9iq8eu8=; b=uBWgRO7llZ4JsmvCYVJwfivT9RAhnTM7JmzhirV1/Aff0HOx2078LqV6UC/8U3vEDb rN5jhv80r4z8xwau9DHIgJ5XLgu7f/GMKWSITUraZFKNWJddX0/matUzzE2PtmSnTBIw hdiUUSoVqFBzFJWYd1SH830iiwZnKzLyjin0hKHChe7wBTvSHCQ+C2dxZWJXq7XK0Q3n W4OKGnmDVjXPG2iMjMnqE43fvsurLu24o/2T/d5q4Gq+f21PP2VUpNM1/P0V+b/ZnqEf 3RwU2dPvqTUwozE3dpF+pNNQETABtW2t842rsVPZn6AoH/HEz5WFgvmKjM/MZATlCugG Xi2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=jXAGeb7E; 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=REJECT sp=REJECT dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1si14104827plb.366.2018.12.11.16.08.44; Tue, 11 Dec 2018 16:08:59 -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=@alien8.de header.s=dkim header.b=jXAGeb7E; 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=REJECT sp=REJECT dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726251AbeLLAG2 (ORCPT + 99 others); Tue, 11 Dec 2018 19:06:28 -0500 Received: from mail.skyhub.de ([5.9.137.197]:60962 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726183AbeLLAG1 (ORCPT ); Tue, 11 Dec 2018 19:06:27 -0500 Received: from zn.tnic (p200300EC2BCD2B002DC08A63FFF8C6E5.dip0.t-ipconnect.de [IPv6:2003:ec:2bcd:2b00:2dc0:8a63:fff8:c6e5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id BB23E1EC09F7; Wed, 12 Dec 2018 01:06:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1544573186; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CqVhix/nz6x1C3Dg+rOR++DU3U7H5E19yaaR9iq8eu8=; b=jXAGeb7EcWOcfZwZMBtL6ljZMMUd1buLDqPjcKNKRMcx0SoazHS2iTBFKFir1CLozACC0O gR30FlpN7WWnkPLGluiTfmUPenDKkpFJxccagnp+nus+PzfnWFc1FepxEK1dhU2BM7yDaN 4aY0RJj9cZR9puI6IaWxMLddhC8pbe8= Date: Wed, 12 Dec 2018 01:06:24 +0100 From: Borislav Petkov To: Alexey Dobriyan Cc: luto@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, thomas.lendacky@amd.com, hpa@zytor.com, john.stultz@linaro.org, x86@kernel.org Subject: Re: [RFC PATCH 4/4] x86/TSC: Use RDTSCP Message-ID: <20181212000624.GY27375@zn.tnic> References: <20181211233753.GA26593@avx2> <20181211234308.GW27375@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181211234308.GW27375@zn.tnic> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 12, 2018 at 12:43:08AM +0100, Borislav Petkov wrote: > > And other code in this file uses "c" for clobber. > > Ok. Except that clobbers need to be full register names: ./arch/x86/include/asm/msr.h: In function ‘do_hres’: ./arch/x86/include/asm/msr.h:236:2: error: unknown register name ‘c’ in ‘asm’ asm volatile(ALTERNATIVE_3("rdtsc", ^~~ ... -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.