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: 112275 Delivered-To: patch@linaro.org Received: by 10.80.202.13 with SMTP id d13csp5674449edi; Tue, 12 Sep 2017 03:05:44 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC+SwLS5sZgIxt70rtMNH+5YN2Rp1s5HzhzI8PWmyfWPNaR/9wyUJhFTpHelli79mXMfdTg X-Received: by 10.36.50.150 with SMTP id j144mr248483ita.52.1505210744813; Tue, 12 Sep 2017 03:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505210744; cv=none; d=google.com; s=arc-20160816; b=v11UAVxYvodkU8a14l3z8TUmVvaSZ+sDO2yAPvepZn+5tsL+2jXoWrl/Z3OBN7uv+f LDaSuuyS4/5rwIA0coIykdlbax1vucBLZVM+vIfmPEj9G37o0yNX/b3aiW6ZNEjKMCu2 vD/pEKU6ZT5uSVwlW8oNiqoOJDOPL7/hAGtV6d7MLClY1DXtEKk457Yh6khFq3C2JcPW kKAZiYzemL2v6pOdOHxQDbtwH96NuxKLViM4RH/X/Np+XsdZ0jn2f5hZ7qHHSCSHXN0C MvJvMlvOvMafLTZmyRHrCd26l98CbLJiB1fiscBhRpG2JSTV2RM9vyThpnScaHLJwxdt 9QPA== 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=QzSPQmQTGmLXImXmsozNT5jsNfb3ZHMWFXiCPO4pkA4=; b=QflxFjgDJe0XJ5BVHrc7nI/1eGn2SSZA6zeZ5C8j0wONBjqzVFBKSYIZvSrDo/n2u6 yZ+w/LECJQo4NukUVHfQBuIs12Sp/niBjrK8o7TbVfigHTsicxxi0aJQc2l8gbXigCdS G34Dg5qYQE64bA1Ixt69e+mRz6A0+grI2XluwoPd34RJbMjVZFof/VQGRzVm1pmox9Da kE8q3/eJ+Ze+eV+8doYQA5QvWmtgPtDePi6kZiI6C/Ne+N5qlHNPme2+KwOK+JRIWnZq a/oFNQEoOzLpVHd118u0zIcBADqjhVzfEO2yhvDEfWYImFZ4hlHLEnltOI6aEPxjBfuc yH+A== 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 b129si283872itb.66.2017.09.12.03.05.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 03:05:44 -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 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" 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