Received: by 10.223.176.46 with SMTP id f43csp533178wra; Fri, 19 Jan 2018 23:22:24 -0800 (PST) X-Google-Smtp-Source: AH8x224vSO4bdUAsyKtRe243pYUAlsA6UKvVbaEDSp6m2nxB8MLVbUckB6YoFhtmM7CRoAGZ6y3n X-Received: by 10.99.149.67 with SMTP id t3mr1154878pgn.411.1516432944460; Fri, 19 Jan 2018 23:22:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516432944; cv=none; d=google.com; s=arc-20160816; b=I8ITgVee91KWM2PEmgLNbH68hu6rjNjPSCXdsIoMKdL24CHOEcr3IYjbc/FJNP0n69 aVGfEMZMpscJ45wzYO0Q/A8HQ1A5cXTP9IUE/Y6IdZMWRexP14LQn4joHB3kK9O793gM nXdBgfY1x7WHtYU0rWVydd3hPEfcDGE1pV1ku1jQRttm1y4aFKLu5Qk5eHsNaGScDiH4 7byLSU3XB3dE2Nl+qac5wE6JZGfRIxnozvHY6Tn7tGnLCEEjL+Paf6Q0R1+yqvtRMwgw zjKiS14dyqJNbgx+YEdykc+KoqRXnMKMgsd8ybMBeYR+TwnRGeJHPRkko5L14l14nSor 2xjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=bQL7Njv8bDQ1A6JttsJM+hA91vUIAksnUKKzTfnLplk=; b=lSu+inMEYPf88KCWqTtI8/So3D0GNpi6797FxT4df5GTGN2M99Fj7W94JDdf1LNenK n2ERf0pQ/9H1p4UKVAOeJpesBCGLKu0B6rRiHlaDOQAHsnmC2z00PtvchdyoHDt3IMa+ O8zxoc3ib5uWNC12Ij7SBNx99ytXYel4O1hMccdmjYO9Lq7zamB6QPKs/bwGpeTajuFz 1nBABE70tR99CFrOkV2pZ71wM10T1SmC/sE/mlQkhdf06X+r2NxUc/tjWU3bQCGTAlMD 44x+bnVkubyaEuO3HPujDxJh62NJx9wr6VkY5Fid09Kr2YcjPn5b+lAEV6zeZFCovB9Q relA== 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 t88si10872685pfj.196.2018.01.19.23.22.09; Fri, 19 Jan 2018 23:22:24 -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; 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 S1751334AbeATHVb (ORCPT + 99 others); Sat, 20 Jan 2018 02:21:31 -0500 Received: from terminus.zytor.com ([65.50.211.136]:39503 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750984AbeATHVY (ORCPT ); Sat, 20 Jan 2018 02:21:24 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w0K7JCB7027651; Fri, 19 Jan 2018 23:19:12 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w0K7JBFo027648; Fri, 19 Jan 2018 23:19:11 -0800 Date: Fri, 19 Jan 2018 23:19:11 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Jan Kiszka Message-ID: Cc: mingo@kernel.org, jan.kiszka@siemens.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, jailhouse-dev@googlegroups.com, hpa@zytor.com Reply-To: linux-kernel@vger.kernel.org, hpa@zytor.com, jailhouse-dev@googlegroups.com, tglx@linutronix.de, jan.kiszka@siemens.com, mingo@kernel.org In-Reply-To: <975fbfc9-2a64-cc56-40d5-164992ec3916@siemens.com> References: <975fbfc9-2a64-cc56-40d5-164992ec3916@siemens.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/platform] x86/jailhouse: Set X86_FEATURE_TSC_KNOWN_FREQ Git-Commit-ID: 11f19ec025dd421c54978c69e42d86758fa310de X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 11f19ec025dd421c54978c69e42d86758fa310de Gitweb: https://git.kernel.org/tip/11f19ec025dd421c54978c69e42d86758fa310de Author: Jan Kiszka AuthorDate: Fri, 19 Jan 2018 11:06:17 +0100 Committer: Thomas Gleixner CommitDate: Sat, 20 Jan 2018 08:15:43 +0100 x86/jailhouse: Set X86_FEATURE_TSC_KNOWN_FREQ Otherwise, Linux will not recognize precalibrated_tsc_khz and disable the tsc as clocksource. Signed-off-by: Jan Kiszka Signed-off-by: Thomas Gleixner Cc: Jailhouse Link: https://lkml.kernel.org/r/975fbfc9-2a64-cc56-40d5-164992ec3916@siemens.com --- arch/x86/kernel/jailhouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c index 7ade152..2b7ebbe 100644 --- a/arch/x86/kernel/jailhouse.c +++ b/arch/x86/kernel/jailhouse.c @@ -176,6 +176,7 @@ static void __init jailhouse_init_platform(void) pr_debug("Jailhouse: PM-Timer IO Port: %#x\n", pmtmr_ioport); precalibrated_tsc_khz = setup_data.tsc_khz; + setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); pci_probe = 0;