Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp414466rwi; Thu, 27 Oct 2022 03:06:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48fl3aiMO3pN3PUCNS2tKV7NuSoqIfReyzsQYdqUcQZobELi+vfM+STr7pnoPaI/ko4djg X-Received: by 2002:a17:907:86a2:b0:791:910e:cce4 with SMTP id qa34-20020a17090786a200b00791910ecce4mr42077200ejc.36.1666865167638; Thu, 27 Oct 2022 03:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666865167; cv=none; d=google.com; s=arc-20160816; b=ifWLc19AKkn+ArPE2tTN6s7JZSgw83PdJOFxyRh0TZ5deDaykk9fmXPoDsnW/kDjOs 1hfxKSU9XspfvOiKDzxwzNEg2ej77Lgec0NDdmKWfx0jzk9tNr1kMus7u8bvE9L+KDh6 hxgTWedpCv12EbXiTVFnbeZehozdUMccBfX4WY/dFxwNsikGz6FNjHuXMD+Shuid8WuZ oGRPhVDrAfIobYM80yT2Csd61I4u5kxQgFHsWaWZGRi8HUWVmtKjhpptffFo+2vF99z1 V13f9pRNCzUtDU5PG/JPhY9pZQDBZaXZC+DFCJ3UVcZ55wMkquVwkKnCF0MUAxqRKtOm Fq5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-filter; bh=pn5m/fsuZt2o/sMJ3Kn65n/0LQdWBVSALoeLYn13kis=; b=F4WmQpTjg1Yt5kgGyiM/lpGEMlXNKCTFm8FvATM1vYd3TnsNZ2s0AwkZMGS7GdLzYD 2Uv6gDEJ8JyQMLXyzbmPuxqoOzGkijsRXkaClf92M8DW1KLzQUtpgnzReOx47PulqKwf Sw87PSD92HSRSd55xG5ekGnPArZyBKEmmLpznIktbF0ZZH8b7cSvnBcr98nOYc1HWOfJ FUmCniP2UUCIo5zA6X1lLAsS6BUp0xT0pMhRm2BZTkfNztOlkPiLGo6LHjeUoQjNAMY9 4lshRMcNpG2LR7wESp8RkKKSr2eUDfXXf8Kfzbr92BEIGPexz8xIWFA7koLeCdmK17bT RJLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="BThGiM/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf26-20020a1709077f1a00b00797a5ba1347si1111326ejc.594.2022.10.27.03.05.39; Thu, 27 Oct 2022 03:06:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="BThGiM/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234916AbiJ0KDn (ORCPT + 99 others); Thu, 27 Oct 2022 06:03:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234283AbiJ0KDS (ORCPT ); Thu, 27 Oct 2022 06:03:18 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DCDF8BCBA; Thu, 27 Oct 2022 03:03:13 -0700 (PDT) Received: from anrayabh-desk (unknown [167.220.238.193]) by linux.microsoft.com (Postfix) with ESMTPSA id F007A210D86A; Thu, 27 Oct 2022 03:03:08 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com F007A210D86A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1666864993; bh=pn5m/fsuZt2o/sMJ3Kn65n/0LQdWBVSALoeLYn13kis=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BThGiM/wSe52io/Na6nHbCaIO+y+/fTPYtARe06SNx7lqq/Albe4ZBQtIfdGy5UWQ wtwLuEnHqfslFG8LwSBUtlpUbdD5gid4c3igIcQ0h7V4Ojd2SzhPVRDZ9XesVShyoJ SD++xnCACEu8BRi7ZB8IzqtyTfnR1oGmcvOd6CX8= Date: Thu, 27 Oct 2022 15:33:03 +0530 From: Anirudh Rayabharam To: "Michael Kelley (LINUX)" Cc: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "wei.liu@kernel.org" , Dexuan Cui , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "hpa@zytor.com" , "daniel.lezcano@linaro.org" , Arnd Bergmann , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "kumarpraveen@linux.microsoft.com" , "mail@anirudhrb.com" Subject: Re: [PATCH 0/2] Fix MSR access errors during kexec in root partition Message-ID: References: <20221026134715.1438789-1-anrayabh@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-19.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 26, 2022 at 02:57:58PM +0000, Michael Kelley (LINUX) wrote: > From: Anirudh Rayabharam Sent: Wednesday, October 26, 2022 6:47 AM > > > > Fixes a couple of MSR access errors seen during kexec in root partition > > and opportunistically introduces a data structure for the reference TSC > > MSR in order to simplify the code that updates that MSR. > > > > Anirudh Rayabharam (2): > > x86/hyperv: fix invalid writes to MSRs during root partition kexec > > clocksource/drivers/hyperv: add data structure for reference TSC MSR > > Could these two patches be sequenced in the opposite order, to avoid the > need to change the TSC code in hyperv_cleanup() twice? The new > data structure for the Reference TSC MSR and clocksource driver changes > would be in the first patch. Then the second patch would update > hyperv_cleanup() and could use the new data structure. I just sent a new version with the ordering you suggested. Thanks, Anirudh. > > Michael > > > > > arch/x86/hyperv/hv_init.c | 11 +++++++---- > > drivers/clocksource/hyperv_timer.c | 28 ++++++++++++++-------------- > > include/asm-generic/hyperv-tlfs.h | 9 +++++++++ > > 3 files changed, 30 insertions(+), 18 deletions(-) > > > > -- > > 2.34.1