From patchwork Thu Dec 19 12:04:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11303369 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 A3A19138D for ; Thu, 19 Dec 2019 12:06:33 +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 7E0BB20716 for ; Thu, 19 Dec 2019 12:06:33 +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="eO5yTVks" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E0BB20716 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 1ihuYD-0001tF-G0; Thu, 19 Dec 2019 12:05:05 +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 1ihuYB-0001t9-RS for xen-devel@lists.xenproject.org; Thu, 19 Dec 2019 12:05:03 +0000 X-Inumbo-ID: c985537a-2257-11ea-9191-12813bfff9fa Received: from smtp-fw-6001.amazon.com (unknown [52.95.48.154]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id c985537a-2257-11ea-9191-12813bfff9fa; Thu, 19 Dec 2019 12:05:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1576757103; x=1608293103; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lQPeT1+tZNPL5cg2HY3I6xHQICswBH7lS2kd+pHT9Qs=; b=eO5yTVksbLlzzU1bmeSDTam2aAM5HeAQIC4wtXxnA3gvyxVdRi3yEWX8 sQS/LUsr5025oC9ob2HvqrsXgv8qRLD9XAXUJxk3MB+8GueCXtaQmHRl1 pMhQwVdggEQ8tjI+GADs/x/RoF0xXdeoyFy0uZfFcmdnrua2QpA1zttO4 c=; IronPort-SDR: exDHRye/Mmg5on9IeLwfTb4S2IVDKjNnIfcy/HUKFwmPdDgMl7BUva4wFtR4sMGxh/Fpa0L/wV UhszGBMNZJJA== X-IronPort-AV: E=Sophos;i="5.69,331,1571702400"; d="scan'208";a="9773324" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1a-821c648d.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 19 Dec 2019 12:05:02 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1a-821c648d.us-east-1.amazon.com (Postfix) with ESMTPS id 9570BA2007; Thu, 19 Dec 2019 12:05:00 +0000 (UTC) Received: from EX13D32EUB001.ant.amazon.com (10.43.166.125) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 19 Dec 2019 12:05:00 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D32EUB001.ant.amazon.com (10.43.166.125) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 19 Dec 2019 12:04:59 +0000 Received: from u2f063a87eabd5f.cbg10.amazon.com (10.125.106.135) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 19 Dec 2019 12:04:57 +0000 From: Paul Durrant To: Date: Thu, 19 Dec 2019 12:04:55 +0000 Message-ID: <20191219120455.13357-1-pdurrant@amazon.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: Bulk Subject: [Xen-devel] [PATCH v2] 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 --- Cc: Jan Beulich Cc: Andrew Cooper Cc: "Roger Pau Monné" 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..b3d445acf7 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 - 40 reserved for Amazon */ + /* * Largest type-code in use */