From patchwork Wed Jul 26 11:56:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Cooper X-Patchwork-Id: 9864643 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4FDFD6038F for ; Wed, 26 Jul 2017 11:59:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F97A2837D for ; Wed, 26 Jul 2017 11:59:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4305D28396; Wed, 26 Jul 2017 11:59:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A8459283AF for ; Wed, 26 Jul 2017 11:59:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daKvO-0007yd-9G; Wed, 26 Jul 2017 11:56:22 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daKvN-0007yR-OV for xen-devel@lists.xen.org; Wed, 26 Jul 2017 11:56:21 +0000 Received: from [193.109.254.147] by server-10.bemta-6.messagelabs.com id 72/54-03582-56388795; Wed, 26 Jul 2017 11:56:21 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRWlGSWpSXmKPExsXitHSDvW5Kc0W kwdnvmhZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8bvbf/ZC7ZwVnyYdYa5gXEORxcjJ4eEgL/E i67t7CA2m4C+xO4Xn5hAbBEBdYnTHRdZuxi5OJgFtjJK3NpxhBkkISxgL3Hp6V8wm0VAVeLCl 3tgzbwCnhIfJz5hghgqJ3H++E+wGk4BL4lZE+6C2UJANX/Pv2aDsNUkrvVfguoVlDg58wkLiM 0sICFx8MUL5gmMvLOQpGYhSS1gZFrFqFGcWlSWWqRrZKyXVJSZnlGSm5iZo2toYKaXm1pcnJi empOYVKyXnJ+7iREYPgxAsIPxz/zAQ4ySHExKoryTTCsihfiS8lMqMxKLM+KLSnNSiw8xynBw KEnwbm8EygkWpaanVqRl5gADGSYtwcGjJMJ7CiTNW1yQmFucmQ6ROsWoy/Fqwv9vTEIsefl5q VLivMZNQEUCIEUZpXlwI2BRdYlRVkqYlxHoKCGegtSi3MwSVPlXjOIcjErCvMEgU3gy80rgNr 0COoIJ6Ig5M0pBjihJREhJNTCGLn8iMZVPMKDRqEiv3JB9OZtOwp6cuJdnnVet2/mNW9XzfDh vz0bPlTOeF0ve+bBeMljxc3Jx0Ab/vg+Wx201NDffNz3x/cSvmZ9zb+5punqg9McpvoAXj6ee /7tYNU53b7m/+1SDhmk5d2veHlAQfOnf2/yNx2u1a+LNoF83J9hUVs1bwzRDiaU4I9FQi7moO BEAvUMGXaUCAAA= X-Env-Sender: prvs=373d266c5=Andrew.Cooper3@citrix.com X-Msg-Ref: server-3.tower-27.messagelabs.com!1501070179!108656656!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31178 invoked from network); 26 Jul 2017 11:56:20 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 26 Jul 2017 11:56:20 -0000 X-IronPort-AV: E=Sophos;i="5.40,415,1496102400"; d="scan'208";a="441385641" From: Andrew Cooper To: Xen-devel Date: Wed, 26 Jul 2017 12:56:14 +0100 Message-ID: <1501070174-19058-2-git-send-email-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1501070174-19058-1-git-send-email-andrew.cooper3@citrix.com> References: <1501070174-19058-1-git-send-email-andrew.cooper3@citrix.com> MIME-Version: 1.0 Cc: Andrew Cooper , Boris Ostrovsky , Suravee Suthikulpanit , Jan Beulich Subject: [Xen-devel] [PATCH 2/2] x86/svm: Drop unused SVM_REG_* definitions X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP These are entirely unused, and are actually the general x86 register encoding, rather than being SVM specific. Signed-off-by: Andrew Cooper Reviewed-by: Boris Ostrovsky --- CC: Jan Beulich CC: Boris Ostrovsky CC: Suravee Suthikulpanit --- xen/include/asm-x86/hvm/svm/svm.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/xen/include/asm-x86/hvm/svm/svm.h b/xen/include/asm-x86/hvm/svm/svm.h index c954b7e..0956f86 100644 --- a/xen/include/asm-x86/hvm/svm/svm.h +++ b/xen/include/asm-x86/hvm/svm/svm.h @@ -23,23 +23,6 @@ #include #include -#define SVM_REG_EAX (0) -#define SVM_REG_ECX (1) -#define SVM_REG_EDX (2) -#define SVM_REG_EBX (3) -#define SVM_REG_ESP (4) -#define SVM_REG_EBP (5) -#define SVM_REG_ESI (6) -#define SVM_REG_EDI (7) -#define SVM_REG_R8 (8) -#define SVM_REG_R9 (9) -#define SVM_REG_R10 (10) -#define SVM_REG_R11 (11) -#define SVM_REG_R12 (12) -#define SVM_REG_R13 (13) -#define SVM_REG_R14 (14) -#define SVM_REG_R15 (15) - #define svm_vmload(x) svm_vmload_pa(__pa(x)) #define svm_vmsave(x) svm_vmsave_pa(__pa(x))