From patchwork Thu Dec 19 17:38:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11304091 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45EA814F6 for ; Thu, 19 Dec 2019 17:39:57 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2047B20674 for ; Thu, 19 Dec 2019 17:39:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="JgDmRFQl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2047B20674 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ihzkq-0006GN-Bz; Thu, 19 Dec 2019 17:38:28 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ihzkp-0006GI-7C for xen-devel@lists.xenproject.org; Thu, 19 Dec 2019 17:38:27 +0000 X-Inumbo-ID: 5cdee9dc-2286-11ea-9238-12813bfff9fa Received: from smtp-fw-2101.amazon.com (unknown [72.21.196.25]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 5cdee9dc-2286-11ea-9238-12813bfff9fa; Thu, 19 Dec 2019 17:38:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1576777106; x=1608313106; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rgsXm5wx04IMIdD91vD9lT9sPMfHSGm8KZsX/ynXuRc=; b=JgDmRFQlqVQG3nU3lxh9Cd/lROq9UCWMlDOIa7NdeILB0wD2iyQjFAjV g2j7FiTV8n5BtyFiQeZtHdZiKkRaYHtuGR8fFKXjSAU3QArWDg87sK6e/ GFa7orGOM47VeSxSJQ3kPeZeH2+sz1tsa5UIrUWnRknXFyX0ghX+SIpyZ U=; IronPort-SDR: 8bXb22/8DhlDsXKgMCEBpTk9Jrv6CxcMaQZIrYZox/K/vpg961C1XrXsNkA2GqrH5/GUZL5ocr I2jrxuKbqLgA== X-IronPort-AV: E=Sophos;i="5.69,332,1571702400"; d="scan'208";a="9299699" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 19 Dec 2019 17:38:25 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com (Postfix) with ESMTPS id EB893A2349; Thu, 19 Dec 2019 17:38:24 +0000 (UTC) Received: from EX13D32EUB003.ant.amazon.com (10.43.166.165) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 19 Dec 2019 17:38:24 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX13D32EUB003.ant.amazon.com (10.43.166.165) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 19 Dec 2019 17:38:23 +0000 Received: from u2f063a87eabd5f.cbg10.amazon.com (10.125.106.135) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 19 Dec 2019 17:38:21 +0000 From: Paul Durrant To: Date: Thu, 19 Dec 2019 17:38:19 +0000 Message-ID: <20191219173819.14065-1-pdurrant@amazon.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: Bulk Subject: [Xen-devel] [PATCH v3] x86/save: reserve HVM save record numbers that have been consumed... X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Andrew Cooper , Paul Durrant , Jan Beulich , Wei Liu , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" ...for patches not (yet) upstream. This patch is simply adding a comment to reserve save record number space to avoid the risk of clashes between existent downstream changes made by Amazon and future upstream changes which may be incompatible. Signed-off-by: Paul Durrant Reviewed-by: Wei Liu Acked-by: Jan Beulich --- Cc: Jan Beulich Cc: Andrew Cooper Cc: "Roger Pau Monné" v3: - Reduced range and clarified inclusivity v2: - Reduce patch to just a comment --- xen/include/public/arch-x86/hvm/save.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/public/arch-x86/hvm/save.h b/xen/include/public/arch-x86/hvm/save.h index b2ad3fcd74..468c28dedb 100644 --- a/xen/include/public/arch-x86/hvm/save.h +++ b/xen/include/public/arch-x86/hvm/save.h @@ -639,6 +639,8 @@ struct hvm_msr { #define CPU_MSR_CODE 20 +/* Range 22 - 34 (inclusive) reserved for Amazon */ + /* * Largest type-code in use */