From patchwork Mon Aug 14 14:24:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 110000 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp4281382obb; Mon, 14 Aug 2017 07:26:04 -0700 (PDT) X-Received: by 10.36.125.11 with SMTP id b11mr6165026itc.47.1502720764892; Mon, 14 Aug 2017 07:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502720764; cv=none; d=google.com; s=arc-20160816; b=uopGYfg/YY8fq56UO8Q4C/TPYZVI8s3qiDHg5v4/qzcH8Xd26lvqpzQXwJ6JvBx89m dU81CH9vwHGgsI792ALbcnIU0h4O6Zt1PVU8DNXo/uUCh9mPsFTTYtZ6PhqSaQSsPk3c e7lXS5hVPsf6wgUs3IlFQ3Y+QEtGhC3IDMsZf7Ae7zoepr6BOHIP5NMXgZvL3Xb8HZ9t fgE0sdPkvqJs8qVB0p4NyOAwGOuGzEKoua3ajrxpWn7o9NZqRObCkWQsO/ZdIX0XhMiq PjdB6RaJkDXOqPveUIa75mWUVh5LQ25Ztq1HNqBvo7rk1ip/JUIHIsp2flTwHvkjYJbo kW1g== 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=zmEND3D9v9yURw0wae5NJL34eBFUbI4d8al1nqMEEyc=; b=CPlaQnlRFSUVNVdHuU/jMk2rHMmKStBBQwWCAlJT7ZeKqmN7zqBUQq1+s/Rd/9Y1zq wb4A14yKsB+oxN5o5dBY1RoPGdF/T83mYdBmQnWN7a2uwHRroVuO381pAqTRdXuKa2Dt AkWlRkT9AePbDbroMJdPRK9yR2gMAwwQWzF3SO65wOo9ZgYnJF4DjrXG6uvlT+FpefOn n7W+xln2bf1IxWukbZjnly4uoZN4TijAIKIga55lMvk4xk3n0Ld5R3JVjbWtm17NCEk1 gXhqW8Ssoya/uPbpcM1lKmAf55a2T2evyColhuYtdtRiMIiTSkJzdR9iym4QjOgZWzNy CUkw== 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 y14si7142457ioy.189.2017.08.14.07.26.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Aug 2017 07:26:04 -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 1dhGIT-0000RK-V6; Mon, 14 Aug 2017 14:24:49 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhGIS-0000PW-Tl for xen-devel@lists.xen.org; Mon, 14 Aug 2017 14:24:49 +0000 Received: from [85.158.143.35] by server-5.bemta-6.messagelabs.com id AA/58-03368-0B2B1995; Mon, 14 Aug 2017 14:24:48 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMLMWRWlGSWpSXmKPExsVysyfVTXf9pom RBu+Pqlos+biYxYHR4+ju30wBjFGsmXlJ+RUJrBnTHn9lKfjNXXFo2grGBsb/HF2MXBxCApsZ JQ49nMMC4ZxmlFj75C5TFyMnB5uApsSdz5/AbBEBaYlrny8zgtjMApEShz/8YAexhQUsJfouL gSLswioSqx8voUFxOYVsJKYsOk1mC0hIC+xq+0iK4jNCRTvvLsTLC4E1Hti9Wy2CYzcCxgZVj FqFKcWlaUW6Roa6yUVZaZnlOQmZuboGhqY6eWmFhcnpqfmJCYV6yXn525iBHqYAQh2MH5ZFnC IUZKDSUmUN8GnN1KILyk/pTIjsTgjvqg0J7X4EKMMB4eSBG/qxomRQoJFqempFWmZOcBQg0lL cPAoifDOAknzFhck5hZnpkOkTjHqcrya8P8bkxBLXn5eqpQ476sNQEUCIEUZpXlwI2Bhf4lRV kqYlxHoKCGegtSi3MwSVPlXjOIcjErCvE4gq3gy80rgNr0COoIJ6Ig+kPt5i0sSEVJSDYxhui ktFxiPsGhI6yVcUi9ldg8J2LGj8+jLWuHV3Q6dwnzPS9ckRi9XYYn9UPZ8w3L7EHultT1dZha ZSh8WvRbofll8RS/ghLPNnBzvy19Yj0x1ZDfdZTVzvsv7eUtOHG3gOVreu0ApJDNG7P3tt28k f9fbn71eNn1i1u7cKcm/g2bu0DeKjVJiKc5INNRiLipOBAB0cmrYdgIAAA== X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-12.tower-21.messagelabs.com!1502720687!77838684!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 60455 invoked from network); 14 Aug 2017 14:24:47 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-12.tower-21.messagelabs.com with SMTP; 14 Aug 2017 14:24:47 -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 DF2B01713; Mon, 14 Aug 2017 07:24:46 -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 F39A53F483; Mon, 14 Aug 2017 07:24:45 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Mon, 14 Aug 2017 15:24:02 +0100 Message-Id: <20170814142418.13267-12-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 11/27] xen/arm: Add FnV field in hsr_*abt 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" FnV (FAR not Valid) bit was introduced by ARMv8 in both AArch32 and AArch64 (See D7-2275, D7-2277, G6-4958, G6-4962 in ARM DDI 0487B.a). Signed-off-by: Julien Grall Reviewed-by: Andre Przywara --- xen/include/asm-arm/processor.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xen/include/asm-arm/processor.h b/xen/include/asm-arm/processor.h index 51645f08c0..3ef606c554 100644 --- a/xen/include/asm-arm/processor.h +++ b/xen/include/asm-arm/processor.h @@ -509,7 +509,8 @@ union hsr { unsigned long s1ptw:1; /* Stage 2 fault during stage 1 translation */ unsigned long res1:1; /* RES0 */ unsigned long eat:1; /* External abort type */ - unsigned long res2:15; + unsigned long fnv:1; /* FAR not Valid */ + unsigned long res2:14; unsigned long len:1; /* Instruction length */ unsigned long ec:6; /* Exception Class */ } iabt; /* HSR_EC_INSTR_ABORT_* */ @@ -520,10 +521,11 @@ union hsr { unsigned long s1ptw:1; /* Stage 2 fault during stage 1 translation */ unsigned long cache:1; /* Cache Maintenance */ unsigned long eat:1; /* External Abort Type */ + unsigned long fnv:1; /* FAR not Valid */ #ifdef CONFIG_ARM_32 - unsigned long sbzp0:6; + unsigned long sbzp0:5; #else - unsigned long sbzp0:4; + unsigned long sbzp0:3; unsigned long ar:1; /* Acquire Release */ unsigned long sf:1; /* Sixty Four bit register */ #endif