From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7BBDC433E0 for ; Tue, 19 May 2020 09:18:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A552E20756 for ; Tue, 19 May 2020 09:18:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589879906; bh=SZOxCYwn1E36zdZQTDfsq61IamxmccNBhSdJ1qTjYrc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=TF4XC4Yq5OuHuM+MqSceOUoWTvJCfvxn9xiqRbJMPg5wBUH6dMOED6zuveLUOp5Ot vHc8do4qs8gYESr5uPxUyenc0AyA8lRe5fivWTErj4/ktax791cU3wRnFhkYB5J5YX HbhKnsxc5sFHkn27JGJ4+Mle9pG08s7BKiJrWpDc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726388AbgESJS0 (ORCPT ); Tue, 19 May 2020 05:18:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:56958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbgESJS0 (ORCPT ); Tue, 19 May 2020 05:18:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 13C52206D4; Tue, 19 May 2020 09:18:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589879905; bh=SZOxCYwn1E36zdZQTDfsq61IamxmccNBhSdJ1qTjYrc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Lu7xxmkzrwFOEEo0n6p2VytA4vzHv1cW2KQp/K31QevBRf4XAmysev9K6tIw0P1o0 67dxQ10Fy9qBCkRWnEjyGUdJhC/eicM7pi8Nobxag+Vx5807bK8YeMCfjfGOlu5vzI IHvFbqFPbZ7FmyJBCfhJwzNrJL6Q4p9OnMEjYwjg= Date: Tue, 19 May 2020 11:18:22 +0200 From: Greg KH To: Frantisek Hrbata Cc: Marcelo Tosatti , rhkernel-list@redhat.com, Andrew Jones , stable@vger.kernel.org, Bandan Das , Igor Mammedov , Paolo Bonzini , Vitaly Kuznetsov Subject: Re: [RHEL 8.3 BZ 1768622 PATCH 3/3] KVM: x86: use raw clock values consistently Message-ID: <20200519091822.GA4143612@kroah.com> References: <20200518191516.165550666@fuller.cnet> <20200518191759.624834612@fuller.cnet> <20200519085852.GE20516@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200519085852.GE20516@localhost.localdomain> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, May 19, 2020 at 10:58:52AM +0200, Frantisek Hrbata wrote: > Hi Marcelo, > > I'm marking this as superseded by pwid 303977 > > http://patchwork.lab.bos.redhat.com/patch/303977/ > > which was included in kernel-4.18.0-196.el8 > > commit 9751522d92195bc64883c71e2bee8ed0fcbc5007 > Author: Vitaly Kuznetsov > Date: Mon Apr 20 15:20:04 2020 -0400 > > [x86] kvm: x86: use raw clock values consistently > > Message-id: <20200420152004.933168-1-vkuznets@redhat.com> > Patchwork-id: 303977 > Patchwork-instance: patchwork > O-Subject: [RHEL8.3 virt PATCH v2 312/614] KVM: x86: use raw clock values consistently > Bugzilla: 1813987 > RH-Acked-by: Andrew Jones > RH-Acked-by: Paolo Bonzini > RH-Acked-by: Tony Camuso > > Note there is a difference between yours and Vitaly's patch in the > following hunk > > +@@ -1656,6 +1656,18 @@ static void update_pvclock_gtod(struct timekeeper *tk) > > write_seqcount_end(&vdata->seq); > } > @@ -14,12 +16,12 @@ > +static s64 get_kvmclock_base_ns(void) > +{ > + /* Master clock not used, so we can just use CLOCK_BOOTTIME. */ > -+ return ktime_get_boottime_ns(); > ++ return ktime_get_boot_ns(); > +} > #endif > > > This is in !CONFIG_X86_64 path, so I'm not sure how much we care about > this. Anyway Vitaly's patch corrects this, because > rhel does not have upstream commit 9285ec4c8b61d4930a575081abeba2cd4f449a74 Gotta love private git repo discussions on a public mailing list :) greg k-h