Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1189633rdb; Fri, 1 Dec 2023 09:09:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsrnAQFBomZ1uzfIUgWmC0sqTOIhbuLkR2lnomksoqeSosWfQJ4n4FyIamv6+off9GIs/D X-Received: by 2002:a05:6a20:1588:b0:18c:2685:57fa with SMTP id h8-20020a056a20158800b0018c268557famr27661308pzj.33.1701450544909; Fri, 01 Dec 2023 09:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701450544; cv=none; d=google.com; s=arc-20160816; b=W1ri7QenWNWsP1ZTmYRDZMSb2277GZQcc1Y7T9om4jI+p+fq5tOpHjYqbofvZV6VDg MOfj3921N0Lm8I8Oe3fRW1k8FRYMhBvReOtbuVuHCGZHa5LiyU6snns2iSNwJWG8MNow nQfiWCyjrmL05ILzqwjd4fjFZ8sFw0puZf9UgFysisaMQOiKwfun6Osna+P7W7LGdtqV SruEpmWif3MG+O6ELqaBz/88AvM3TAIPWf29Mk3l7yXV7GQhB8mWOSwKbPR6MAQvm3L2 bFN8MA1lXB63ZEhQIQpmEemqQWSCry/OWIuAiw5T15vVLRyamQSbQQ1o1nlhMOfJdI6A zlVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:cc:to:from:thread-topic:subject:dkim-signature; bh=LWxdWq/DOS+9khhxJvYujS6PdOihOZyDd4a2PGV9kvA=; fh=UgnDNB4ZXsFLII69IsfGGWX5AIfybuRMBeLe0f8bNrM=; b=LFCMrXvNfF7UkH3JEJSrG92pbRjjt5uQgx5U6trMlntQdXrJcObAUmnxSLkMFe6Ipe SWD/b5YPfBwcBUI0VEFugEDhH+0La6XpYS/Y/Bcku6Ra6WHp82WoSBT/ijNOxgbloftE +KUWPUN2HzI94/fl1N+dYd0587O2f11v3aPFVP+9MWzhahat6uPK2u1z9QTycfjyoz9g PxQllMvlgjdYJnrVcGRTfbep7+7gDdKC/y1JplTMe6Cjzr2Kq4RkLwbuCqJnicUyxEC0 n7OPkGtgDwj7MAcJI6Y4u2rGKtSdUbeHaKTqn5i8fau+57gtapOw0Bcsku4EDMlogU7K Fhlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.co.uk header.s=amazon201209 header.b=srJMT7xc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.uk Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id d25-20020a630e19000000b005657ba564bdsi3563606pgl.826.2023.12.01.09.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 09:09:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.co.uk header.s=amazon201209 header.b=srJMT7xc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 3591F8183F34; Fri, 1 Dec 2023 09:08:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378693AbjLARIe (ORCPT + 99 others); Fri, 1 Dec 2023 12:08:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjLARId (ORCPT ); Fri, 1 Dec 2023 12:08:33 -0500 Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61C6CC1; Fri, 1 Dec 2023 09:08:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.uk; i=@amazon.co.uk; q=dns/txt; s=amazon201209; t=1701450520; x=1732986520; h=from:to:cc:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:subject; bh=LWxdWq/DOS+9khhxJvYujS6PdOihOZyDd4a2PGV9kvA=; b=srJMT7xc+Fvc62twit9fGUpSKTXlJnvtKFcvzhoGFTHfxL6a8gN2sAsG TVySOIPUzxqA5u4sfWdreiQvanPkMLnXiZHsxlUW6CELrmTPSR21XJlLE RklBfKPLkpg2zlZpf6bMqDpwaJG0Zi2rk1TslbDDqhZW6GFxYtn17yoYL 0=; X-IronPort-AV: E=Sophos;i="6.04,242,1695686400"; d="scan'208";a="366070872" Subject: RE: [PATCH 0/2] KVM: xen: update shared_info when long_mode is set Thread-Topic: [PATCH 0/2] KVM: xen: update shared_info when long_mode is set Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-iad-1a-m6i4x-96feee09.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2023 17:08:37 +0000 Received: from smtpout.prod.us-east-1.prod.farcaster.email.amazon.dev (iad7-ws-svc-p70-lb3-vlan2.iad.amazon.com [10.32.235.34]) by email-inbound-relay-iad-1a-m6i4x-96feee09.us-east-1.amazon.com (Postfix) with ESMTPS id C88C24964F; Fri, 1 Dec 2023 17:08:33 +0000 (UTC) Received: from EX19MTAEUA002.ant.amazon.com [10.0.10.100:28276] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.32.35:2525] with esmtp (Farcaster) id caf748da-6362-4926-9a93-c13b544c9c90; Fri, 1 Dec 2023 17:08:33 +0000 (UTC) X-Farcaster-Flow-ID: caf748da-6362-4926-9a93-c13b544c9c90 Received: from EX19D032EUC003.ant.amazon.com (10.252.61.137) by EX19MTAEUA002.ant.amazon.com (10.252.50.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 1 Dec 2023 17:08:32 +0000 Received: from EX19D032EUC002.ant.amazon.com (10.252.61.185) by EX19D032EUC003.ant.amazon.com (10.252.61.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 1 Dec 2023 17:08:32 +0000 Received: from EX19D032EUC002.ant.amazon.com ([fe80::e696:121c:a227:174]) by EX19D032EUC002.ant.amazon.com ([fe80::e696:121c:a227:174%3]) with mapi id 15.02.1118.040; Fri, 1 Dec 2023 17:08:32 +0000 From: "Durrant, Paul" To: Sean Christopherson , Paul Durrant CC: David Woodhouse , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" , "H. Peter Anvin" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Thread-Index: AQHaJEOuWnzn0NGSpk+GH7VJCEKIN7CUozuAgAAF5dA= Date: Fri, 1 Dec 2023 17:08:32 +0000 Message-ID: References: <20231201104536.947-1-paul@xen.org> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.106.82.12] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 01 Dec 2023 09:08:48 -0800 (PST) > -----Original Message----- > From: Sean Christopherson > Sent: 01 December 2023 16:46 > To: Paul Durrant > Cc: David Woodhouse ; Paolo Bonzini ; Thomas Gleixner > ; Ingo Molnar ; Borislav Petkov ; Dave Hansen > ; x86@kernel.org; H. Peter Anvin ; kvm@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: RE: [EXTERNAL] [PATCH 0/2] KVM: xen: update shared_info when lon= g_mode is set >=20 > CAUTION: This email originated from outside of the organization. Do not c= lick links or open > attachments unless you can confirm the sender and know the content is saf= e. >=20 >=20 >=20 > On Fri, Dec 01, 2023, Paul Durrant wrote: > > From: Paul Durrant > > > > This series is based on my v9 of my "update shared_info and vcpu_info > > handling" series [1] and fixes an issue that was latent before the > > "allow shared_info to be mapped by fixed HVA" patch of that series allo= wed > > a VMM to set up shared_info before the VM booted and then leave it alon= e. >=20 > Uh, what? If this is fixing an existing bug then it really shouldn't ta= ke a > dependency on a rather large and non-trivial series. If the bug can only= manifest > as a result of said series, then the fix absolutely belongs in that serie= s. >=20 There's been radio silence on that series for a while so I was unsure of th= e status. > This change from patch 1 in particular: >=20 > -static int kvm_xen_shared_info_init(struct kvm *kvm, u64 addr, bool add= r_is_gfn) > +static int kvm_xen_shared_info_init(struct kvm *kvm) >=20 > practically screams for inclusion in that series which does: >=20 > -static int kvm_xen_shared_info_init(struct kvm *kvm, gfn_t gfn) > +static int kvm_xen_shared_info_init(struct kvm *kvm, u64 addr, bool add= r_is_gfn) >=20 > Why not get the code right the first time instead of fixing it up in a co= mpletely > different series? Sure, I can fold it in. Paul