From patchwork Mon Aug 14 14:24:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 110003 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp4281474obb; Mon, 14 Aug 2017 07:26:10 -0700 (PDT) X-Received: by 10.36.67.81 with SMTP id s78mr6035833itb.101.1502720770852; Mon, 14 Aug 2017 07:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502720770; cv=none; d=google.com; s=arc-20160816; b=qiPn2vu9DsJjPXCG0RukwKqSJFylSid5NQ4CiIB45Lzy5M1QzaK5JkOYWCSfGLea2P SIEdZmknJO1w7wXxkquOsJMcYaq9eBGFiAozhbK1y09O4uGocN44fkLhxFQBhV+piK92 HULlgFCdOfuyPnAbcEEj9nJKUM+jlFowrlV1Lpa52xawpP+YC7N/diEIBel7soZsC+9O QJuDN2X9anflhI3rCvqIdXLR8GELhwfMeLWoSYwPPfZJxAN3CbQjlBkgfcoI4S7SLJeQ UAfSxkAu/xbo89ETjGLocccSZrAJ90p4TDSXGq6gsUgLnDF4NlCluP9ZvH3WDr9CjW5e Cxcg== 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=l1KcEgdKj2u6I9ZY/QdYUXo9iBUTZdEnp+urjNAkVpM=; b=KeZGalq0uxNWonkYRO752MLdqUvxWp2wIVUHb1ox+QIPLc9pVqhtB8SZI/z9FhWW7p OqgjvgrfAciCt9Js8vP8qZg7K122edM7XELODVWKiG6GC8915isXkyUTYizaxTMlkMDy DLPdXAhaXU4erCQPW6O+r6cqqghubhFn/PEYvdnfuIuOAyTHcEjCgw6ZhUdgJ7oamDZn rCThhMT6kBpOQ1244SNgLc+PDYA0MztMxXBhzrxn5hKEvfr9QicYmy0ZEi/ZTQe+G3On WZCcoWIu/tHk1wmrAPuODHVP+e68VOhjkYPcYJjRhC5KgxQEdYWclbCT7kgDOp9X6XI1 jZ8A== 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 y31si7066588ioi.281.2017.08.14.07.26.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Aug 2017 07:26:10 -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 1dhGIa-0000gw-91; Mon, 14 Aug 2017 14:24:56 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhGIZ-0000fZ-Od for xen-devel@lists.xen.org; Mon, 14 Aug 2017 14:24:55 +0000 Received: from [193.109.254.147] by server-5.bemta-6.messagelabs.com id DD/A8-03368-7B2B1995; Mon, 14 Aug 2017 14:24:55 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRWlGSWpSXmKPExsVysyfVTXfbpom RBrc2qVss+biYxYHR4+ju30wBjFGsmXlJ+RUJrBmHG86zF6xgq5gw8wBzA+Nc1i5GLg4hgc2M Ep1/57JDOKcZJfrntjF2MXJysAloStz5/IkJxBYRkJa49vkyWJxZIFLi8Icf7CC2sICvxO8Xv cxdjBwcLAKqEhN2uIOEeQWsJFYvuQJWLiEgL7Gr7SIriM0JFO+8u5MFxBYSsJQ4sXo22wRG7g WMDKsYNYpTi8pSi3QNDfSSijLTM0pyEzNzgDwzvdzU4uLE9NScxKRiveT83E2MQP8yAMEOxuP v4w4xSnIwKYnyJvj0RgrxJeWnVGYkFmfEF5XmpBYfYpTh4FCS4E3dODFSSLAoNT21Ii0zBxho MGkJDh4lEd5ZIGne4oLE3OLMdIjUKUZjjqYPW74wcbya8P8bkxBLXn5eqpQ4bzlIqQBIaUZpH twgWARcYpSVEuZlBDpNiKcgtSg3swRV/hWjOAejkjDvZpApPJl5JXD7XgGdwgR0Sh/IF7zFJY kIKakGxkalOxwV+1ukg5X2iGWvPWjxkm2drV/SPEOn7k0l9vwfMnofzxNO321+59rVUJkuqYz C535iH4S++nunyfnu3Hlct/p4tqPb8rTKLz8mXrBxFSydGPbtdcepO8FR3jKOGyUOXf6kq7Cd Y/Fufy4eh7+aa5m9WCfa/RO8rvRPI+59nOuNGWaXlViKMxINtZiLihMBiCQPDHsCAAA= X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-2.tower-27.messagelabs.com!1502720694!52177981!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests=UPPERCASE_25_50 X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 37622 invoked from network); 14 Aug 2017 14:24:54 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-2.tower-27.messagelabs.com with SMTP; 14 Aug 2017 14:24:54 -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 E91E01713; Mon, 14 Aug 2017 07:24:53 -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 096343F483; Mon, 14 Aug 2017 07:24:52 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Mon, 14 Aug 2017 15:24:08 +0100 Message-Id: <20170814142418.13267-18-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 17/27] xen/arm: page: Use directly BUFFERABLE and drop DEV_WC 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" DEV_WC is only used for PAGE_HYPERVISOR_WC and does not bring much improvement. Signed-off-by: Julien Grall Reviewed-by: Andre Przywara --- xen/include/asm-arm/page.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h index 465300c6e5..660e1779c5 100644 --- a/xen/include/asm-arm/page.h +++ b/xen/include/asm-arm/page.h @@ -55,11 +55,10 @@ #define WRITEBACK 0x3 #define DEV_SHARED 0x4 #define WRITEALLOC 0x7 -#define DEV_WC BUFFERABLE #define PAGE_HYPERVISOR (WRITEALLOC) #define PAGE_HYPERVISOR_NOCACHE (DEV_SHARED) -#define PAGE_HYPERVISOR_WC (DEV_WC) +#define PAGE_HYPERVISOR_WC (BUFFERABLE) /* * Defines for changing the hypervisor PTE .ro and .nx bits. This is only to be