Message ID | 1399479718-7351-6-git-send-email-stefano.stabellini@eu.citrix.com |
---|---|
State | Accepted |
Commit | 8b6bb0ad17ab776239ba2bfc99ff107ada01c506 |
Headers | show
Return-Path: <patchwork-forward+bncBDWMDO7X3ICBBAV4VGNQKGQEAAP4CMY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C05AB20534 for <linaro@patches.linaro.org>; Wed, 7 May 2014 16:23:30 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id oz11sf3874972veb.10 for <linaro@patches.linaro.org>; Wed, 07 May 2014 09:23:30 -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=Ui0bNSNJfd0spBVf580qrqt6yY3EwpWLP7M3zYWIecg=; b=JIN1mlQjgHWakAzMtdSiIKyUchkuWM39iIADAkVsLtr/pLmYehRjo6M/9s+kChDBUb bCk0ZCslJ4fVZVrcZTkhvoCv04L9ZKw3WEfTXzVs9pGfuz2wCLDADY3kbGRE3A/zMPLA qv/UjiDTo0BFJWbra94pTO3licPI6hro7HkrxLGJzTPjzwOw6hq1jUesSu6w6D0fj4rs 1SIrhJ0YiLaHTTlqDOVdM87p/QMNo6fL211JPfeZIlfaZpK42SsMnMoWGMaeCpn7gfwc 6EuWWgavnRcMWNjaRIxLUhL3O9q4/IZpFjcHFIhsMdiqU6bgnxlUqpBVe/HMpizoKQUT xB6A== X-Gm-Message-State: ALoCoQltKFYjmrhxS/YSU6Wyq8vn5doq8XpUOrdZPdkCqyECoJleBHfrJInpEJt/r52XkEOZ/+Om X-Received: by 10.52.4.164 with SMTP id l4mr4151613vdl.3.1399479810522; Wed, 07 May 2014 09:23:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.177 with SMTP id r46ls3428826qgd.98.gmail; Wed, 07 May 2014 09:23:30 -0700 (PDT) X-Received: by 10.58.195.202 with SMTP id ig10mr7524360vec.33.1399479810393; Wed, 07 May 2014 09:23:30 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id vg8si2995697veb.93.2014.05.07.09.23.30 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 09:23:30 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so1621353vcb.29 for <patchwork-forward@linaro.org>; Wed, 07 May 2014 09:23:30 -0700 (PDT) X-Received: by 10.58.179.115 with SMTP id df19mr2443948vec.41.1399479810327; Wed, 07 May 2014 09:23:30 -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.220.221.72 with SMTP id ib8csp323646vcb; Wed, 7 May 2014 09:23:30 -0700 (PDT) X-Received: by 10.221.64.80 with SMTP id xh16mr7526711vcb.35.1399479809916; Wed, 07 May 2014 09:23:29 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id lt7si2988777vcb.158.2014.05.07.09.23.29 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 07 May 2014 09:23:29 -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 1Wi4c3-000539-79; Wed, 07 May 2014 16:22:31 +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 1Wi4c1-000526-CP for xen-devel@lists.xensource.com; Wed, 07 May 2014 16:22:29 +0000 Received: from [85.158.137.68:40807] by server-2.bemta-3.messagelabs.com id F5/08-23530-4CD5A635; Wed, 07 May 2014 16:22:28 +0000 X-Env-Sender: Stefano.Stabellini@citrix.com X-Msg-Ref: server-6.tower-31.messagelabs.com!1399479746!2440492!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 4824 invoked from network); 7 May 2014 16:22:27 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 7 May 2014 16:22:27 -0000 X-IronPort-AV: E=Sophos; i="4.97,1004,1389744000"; d="scan'208"; a="127773624" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 07 May 2014 16:22:27 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Wed, 7 May 2014 12:22:25 -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 1Wi4bs-0005PV-DH; Wed, 07 May 2014 17:22:20 +0100 From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> To: <peter.maydell@linaro.org> Date: Wed, 7 May 2014 17:21:57 +0100 Message-ID: <1399479718-7351-6-git-send-email-stefano.stabellini@eu.citrix.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <alpine.DEB.2.02.1405071719030.14596@kaball.uk.xensource.com> References: <alpine.DEB.2.02.1405071719030.14596@kaball.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: olaf@aepfle.de, xen-devel@lists.xensource.com, Stefano Stabellini <stefano.stabellini@eu.citrix.com>, qemu-devel@nongnu.org, anthony@codemonkey.ws, Anthony.Perard@citrix.com, pbonzini@redhat.com Subject: [Xen-devel] [PULL 6/7] pass an inclusive address range to xc_domain_pin_memory_cacheattr X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> 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=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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-hvm.c b/xen-hvm.c index 0a49055..a64486c 100644 --- a/xen-hvm.c +++ b/xen-hvm.c @@ -323,7 +323,7 @@ go_physmap: xc_domain_pin_memory_cacheattr(xen_xc, xen_domid, start_addr >> TARGET_PAGE_BITS, - (start_addr + size) >> TARGET_PAGE_BITS, + (start_addr + size - 1) >> TARGET_PAGE_BITS, XEN_DOMCTL_MEM_CACHEATTR_WB); snprintf(path, sizeof(path),
xc_domain_pin_memory_cacheattr expects an inclusive address range: adjust the parameters. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- xen-hvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)