Message ID | 1412773221-15150-3-git-send-email-stefano.stabellini@eu.citrix.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDWMDO7X3ICBB27M2SQQKGQELRORJVA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F148A202E7 for <linaro@patches.linaro.org>; Wed, 8 Oct 2014 13:04:43 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf4042517wib.9 for <linaro@patches.linaro.org>; Wed, 08 Oct 2014 06:04:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=hGzgfVf9dnd3CcYjGo81A4a7Ew3rv7l048SXt3UXCss=; b=hKqoCotSBYTydegu0rtQj3kBQ/5Zgfeswc2cGgy0bjbMgYjuOpb2+nS6R+JZ3xMalT wR0vtuxcLRCv6afZoWbPFXpP/5Z5VuvVCDWLEINmxFx9bd7ovcSHYtqVzonlEw3VS7IO 3DfGTRMgKQzIbom+XgEj3o5YNlzHmL2ifjEW8DluHfPo2BXMaNuPe9wzx+yorZF4GK9u KUsGaAarJJiz4FwovnAZFr05Gyff0momNCWEP6juVKlvPh9VNUdq8XJNemk4UBf/CZqx G6y6X+FRbwFdO1S2FayclJHfDMAhnFywiAKimOCyWKEdfy/6UVtZrHAnlwo2nVFKyQnS 37Kg== X-Gm-Message-State: ALoCoQlF2dBx+BhpzdS6Kee4fROvRaQHkJGO4mGjv4yGErIqEHGFsytM4WOqitVRx6exAhlc6FJg X-Received: by 10.112.52.165 with SMTP id u5mr361683lbo.12.1412773483150; Wed, 08 Oct 2014 06:04:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.167 with SMTP id uf7ls57312lac.100.gmail; Wed, 08 Oct 2014 06:04:42 -0700 (PDT) X-Received: by 10.112.199.40 with SMTP id jh8mr10950948lbc.44.1412773482746; Wed, 08 Oct 2014 06:04:42 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx.google.com with ESMTPS id xx3si32929872lbb.122.2014.10.08.06.04.42 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Oct 2014 06:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id n15so989218lbi.11 for <patchwork-forward@linaro.org>; Wed, 08 Oct 2014 06:04:42 -0700 (PDT) X-Received: by 10.112.5.133 with SMTP id s5mr3176798lbs.102.1412773482677; Wed, 08 Oct 2014 06:04:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp57645lbz; Wed, 8 Oct 2014 06:04:41 -0700 (PDT) X-Received: by 10.221.48.201 with SMTP id ux9mr4599832vcb.68.1412773480805; Wed, 08 Oct 2014 06:04:40 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id cu2si12572021vcb.107.2014.10.08.06.04.40 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 08 Oct 2014 06:04:40 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1XbquG-0001DL-0h; Wed, 08 Oct 2014 13:03:52 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <Stefano.Stabellini@citrix.com>) id 1XbquE-0001CT-5l for xen-devel@lists.xensource.com; Wed, 08 Oct 2014 13:03:50 +0000 Received: from [85.158.137.68:3613] by server-11.bemta-3.messagelabs.com id 33/F4-01568-53635345; Wed, 08 Oct 2014 13:03:49 +0000 X-Env-Sender: Stefano.Stabellini@citrix.com X-Msg-Ref: server-5.tower-31.messagelabs.com!1412773423!12241162!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.12.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6687 invoked from network); 8 Oct 2014 13:03:49 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 8 Oct 2014 13:03:49 -0000 X-IronPort-AV: E=Sophos;i="5.04,677,1406592000"; d="scan'208";a="179346695" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Wed, 8 Oct 2014 09:02:48 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from <stefano.stabellini@eu.citrix.com>) id 1Xbqt0-0003n2-WF; Wed, 08 Oct 2014 14:02:34 +0100 From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> To: <xen-devel@lists.xensource.com> Date: Wed, 8 Oct 2014 14:00:19 +0100 Message-ID: <1412773221-15150-3-git-send-email-stefano.stabellini@eu.citrix.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <alpine.DEB.2.02.1410081353510.17038@kaball.uk.xensource.com> References: <alpine.DEB.2.02.1410081353510.17038@kaball.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: julien.grall@citrix.com, Ian.Campbell@citrix.com, Stefano Stabellini <stefano.stabellini@eu.citrix.com> Subject: [Xen-devel] [PATCH v3 3/5] xen/x86: introduce more cache maintenance operations X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/xen/include/asm-x86/page.h b/xen/include/asm-x86/page.h index 9aa780e..9103d8e 100644 --- a/xen/include/asm-x86/page.h +++ b/xen/include/asm-x86/page.h @@ -346,6 +346,10 @@ static inline uint32_t cacheattr_to_pte_flags(uint32_t cacheattr) /* No cache maintenance required on x86 architecture. */ static inline void flush_page_to_ram(unsigned long mfn) {} +static inline void clean_xen_dcache_va_range(const void *p, unsigned long size) {} +static inline void invalidate_xen_dcache_va_range(const void *p, unsigned long size) {} +static inline void clean_and_invalidate_xen_dcache_va_range + (const void *p, unsigned long size) {} /* return true if permission increased */ static inline bool_t
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- xen/include/asm-x86/page.h | 4 ++++ 1 file changed, 4 insertions(+)