From patchwork Tue Sep 12 10:03:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 9948891 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 A249A60360 for ; Tue, 12 Sep 2017 10:06:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92F08283BB for ; Tue, 12 Sep 2017 10:06:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 878CF28ECB; Tue, 12 Sep 2017 10:06:08 +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 38F55283BB for ; Tue, 12 Sep 2017 10:06:08 +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 1dri2t-0002ye-L6; Tue, 12 Sep 2017 10:03:55 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dri2r-0002vt-F8 for xen-devel@lists.xen.org; Tue, 12 Sep 2017 10:03:53 +0000 Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id 98/A4-02208-801B7B95; Tue, 12 Sep 2017 10:03:52 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRWlGSWpSXmKPExsVysyfVTZd14/Z Ig/YfvBZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8bRxg/sBVvZK3oat7E1MB5m7WLk4hAS2Mwo sfzySjYI5zSjxILLq1i6GDk52AQ0Je58/sQEYosISEtc+3yZEcRmFoiUOPzhBzuILSxgJzHzd gcbiM0ioCrxc8kfoBoODl4BC4nVZ5RBwhIC8hK72i6ygticApYSKz7+AisXAir5/vIH4wRG7g WMDKsYNYpTi8pSi3QNDfWSijLTM0pyEzNzdA0NTPVyU4uLE9NTcxKTivWS83M3MQL9ywAEOxh XtjsfYpTkYFIS5T2yfnukEF9SfkplRmJxRnxRaU5q8SFGGQ4OJQneaSA5waLU9NSKtMwcYKDB pCU4eJREeK+BpHmLCxJzizPTIVKnGI05bjy8/oeJo+Pm3T9MQix5+XmpUuK8b0BKBUBKM0rz4 AbBIuASo6yUMC8j0GlCPAWpRbmZJajyrxjFORiVhHnvgEzhycwrgdv3CugUJqBTeC5tATmlJB EhJdXAaFfDczK1waC2hbk1yf5KloWD9hnZ2wmh579/L5z111Wk7Dfzrpz1k3/6etZ5nqs1iuf KZ30U9KVooXeQ/qUJyQkfNi36X/1msd4G7eenfP6/m7XJVt7mtr7Lct3lZ98yGU9Pc5T7UZFr EpPWpBTPZn927qL1r6OuWDEuWZyec/DTjqCg5q1rlViKMxINtZiLihMBsVh86HsCAAA= X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-10.tower-206.messagelabs.com!1505210628!82692588!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 64404 invoked from network); 12 Sep 2017 10:03:49 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-10.tower-206.messagelabs.com with SMTP; 12 Sep 2017 10:03:49 -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 6C52E15A2; Tue, 12 Sep 2017 03:03:48 -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 7E5303F578; Tue, 12 Sep 2017 03:03:47 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Tue, 12 Sep 2017 11:03:13 +0100 Message-Id: <20170912100330.2168-8-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170912100330.2168-1-julien.grall@arm.com> References: <20170912100330.2168-1-julien.grall@arm.com> Cc: andre.przywara@arm.com, Julien Grall , sstabellini@kernel.org Subject: [Xen-devel] [PATCH v2 07/24] 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" X-Virus-Scanned: ClamAV using ClamSMTP 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 IFAR. As FAR_EL1 is not currently used in ARM32 code, remove it. Signed-off-by: Julien Grall Reviewed-by: Andre Przywara Acked-by: Stefano Stabellini --- Changes in v2: - Fix register name in the commit message - Add Andre's reviewed-by --- 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