From patchwork Mon Aug 14 14:24:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 110020 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp4281881obb; Mon, 14 Aug 2017 07:26:34 -0700 (PDT) X-Received: by 10.107.154.75 with SMTP id c72mr19391323ioe.95.1502720793090; Mon, 14 Aug 2017 07:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502720793; cv=none; d=google.com; s=arc-20160816; b=KdhAKb8k5n/dDwqJqcBJB0Hq/bkWS3EmnKQ3FRXhdAN7nMr8ReNZdPKuEdJJICBttE PZHjEcCPnB+aUSuxjt1+B7gyjX5qicdIggFjUrsSsKLlfszaxRYQBZN47ncPUwCOs0S/ 2EUJnU7iFnzVsMh867KEwIQXcFdcnJSq4qVEZoj43Yyohe1y5jDSz59QHVHUXBNcMww6 TcOIxwbMxCzKKVJxP/jUdv9dFhI8g06w+Sv2zZXcroYinJ5obIw8LSMAAISGUmpxiMMK PF+RNwfWsTYtFfy+KJIJfpJa6oJ3mVuqCTcLONIdVaWdUO62MaxuhicJu+s1v6FzB7pL 2zvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:arc-authentication-results; bh=x5dyKJ+TZeTzZWYDZFP0xyPUeIGPRFXnOXATrD1+8YA=; b=BYDtl9rP457WZfpm2uH8s0vJJQfre0QyCP5uhPi29UrSv8H4WXgyBLoPrPxWldt4Mt Taimo15utsGp739EYia8lvP9H+FFR3W2bbVkoyySEe5UErDAdhLjcLaGES9g6Hzr/HSo OwIS9C5U667ZNL/u8CGCCMbgtSGtehU5U3BwGJZJWoF9nFIhthLpZP6mtmE7Pp5Z3P7C lfhpe+YfZjas0bzmg4dvOUbCVHpDBLyZIEXpWOr8HJOzKXxknGtWodi42NwjHZCCwjFs 2q8xqjT8J/rLijAtn7gcRXz3ABxJiKfTUETYC0cexYhnpeNlvzSXI2vXI6KhkKFrqdps hukQ== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id j25si5421261iti.201.2017.08.14.07.26.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Aug 2017 07:26:33 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhGIS-0000Pr-O0; Mon, 14 Aug 2017 14:24:48 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhGIR-0000NR-Gp for xen-devel@lists.xen.org; Mon, 14 Aug 2017 14:24:47 +0000 Received: from [193.109.254.147] by server-3.bemta-6.messagelabs.com id 20/1A-03044-EA2B1995; Mon, 14 Aug 2017 14:24:46 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRWlGSWpSXmKPExsVysyfVTXfdpom RBnunSlks+biYxYHR4+ju30wBjFGsmXlJ+RUJrBkzTx9mL5jCVrF9/wSWBsbTLF2MnBxCApsZ JfZdN+hi5AKyTzNKzD23mBkkwSagKXHn8ycmEFtEQFri2ufLjCA2s0CkxOEPP9hBbGEBa4klv 4+xgdgsAqoSb7ddAKvnFbCS6D/0HywuISAvsavtIiuIzQkU77y7E2qxpcSJ1bPZJjByL2BkWM WoUZxaVJZapGtoqJdUlJmeUZKbmJmja2hgppebWlycmJ6ak5hUrJecn7uJEehfBiDYwfhpWcA hRkkOJiVR3gSf3kghvqT8lMqMxOKM+KLSnNTiQ4wyHBxKErypGydGCgkWpaanVqRl5gADDSYt wcGjJMI7CyTNW1yQmFucmQ6ROsVozNH0YcsXJo5XE/5/YxJiycvPS5US5y0HKRUAKc0ozYMbB IuAS4yyUsK8jECnCfEUpBblZpagyr9iFOdgVBLmPbIBaApPZl4J3L5XQKcwAZ3SB/IFb3FJIk JKqoFxtr1e9e57KvKMFbayL+psihbK2s50rHq10Z3nCrvcqcysJ087yiXmPPl+peCf9zKO+7e dfp6rdzT9xPh+QcKy7I8XxJQl35zp/9Z2bVcbU4TXu+QD0wt/z17xtP59/vOEXQ8UJ3xosTW4 4+Vr5afZ+7XZsvSD1Q2pL8b+0/pkir9Ydn74orlLiaU4I9FQi7moOBEADsxM6HsCAAA= X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-5.tower-27.messagelabs.com!1502720685!106249371!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 8954 invoked from network); 14 Aug 2017 14:24:46 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-5.tower-27.messagelabs.com with SMTP; 14 Aug 2017 14:24:46 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B4E1E199B; Mon, 14 Aug 2017 07:24:45 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C961E3F483; Mon, 14 Aug 2017 07:24:44 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Mon, 14 Aug 2017 15:24:01 +0100 Message-Id: <20170814142418.13267-11-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170814142418.13267-1-julien.grall@arm.com> References: <20170814142418.13267-1-julien.grall@arm.com> Cc: andre.przywara@arm.com, Julien Grall , sstabellini@kernel.org Subject: [Xen-devel] [PATCH 10/27] xen/arm: arm32: Don't define FAR_EL1 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: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" Aliasing FAR_EL1 to IFAR is wrong because on ARMv8 FAR_EL1[31:0] is architecturally mapped to DFAR and FAR_EL1[63:32] to DFAR. As FAR_EL1 is not currently used in ARM32 code, remove it. Signed-off-by: Julien Grall Reviewed-by: Andre Przywara --- xen/include/asm-arm/cpregs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/include/asm-arm/cpregs.h b/xen/include/asm-arm/cpregs.h index 1889d7cbfb..9e138489f0 100644 --- a/xen/include/asm-arm/cpregs.h +++ b/xen/include/asm-arm/cpregs.h @@ -306,7 +306,6 @@ #define DACR32_EL2 DACR #define ESR_EL1 DFSR #define ESR_EL2 HSR -#define FAR_EL1 HIFAR #define HCR_EL2 HCR #define HPFAR_EL2 HPFAR #define HSTR_EL2 HSTR