Message ID | 1399475403-5408-6-git-send-email-stefano.stabellini@eu.citrix.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDWMDO7X3ICBBOE2VGNQKGQE4EQAODI@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 6EBDC202E4 for <linaro@patches.linaro.org>; Wed, 7 May 2014 15:11:52 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id oz11sf3598017veb.10 for <linaro@patches.linaro.org>; Wed, 07 May 2014 08:11:52 -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=RWy/3VTEjmYKpdlhlkuZ6Amdk8hy/lDh0Ut80OEUgUTPalXBsL9VIfDokolbhCsNbL GvBRaIeY6EydApkH3bnJkzFd9oFA3PJqnG9cVgzRMWNKMnetSy+jL2SQnqszI/Al79KE TJq1bZmTLnXbzggtOR4TUkJNPUywLOlIJiYOGitkJJ/Qy3r17XI0xzDQCBUT1zeky8G8 STSw+HHcTY7jSW7e4xam+pyF4bQx45f8uwr3A1I6fGOEt7KKjOC7ghtxFYKPavmC/3p+ lW7thiZVr+kTkw7jCZEWjrWLvQ0DIR0gFubR15fMtPXVBEIAy4Bh2k4jLoQoTP9yjc+M MnYg== X-Gm-Message-State: ALoCoQlPsUeXqisFMtvaQpuICOPsVcJFsoEN00b0+9ibp3LwVtx+/5hw4c6AUrde8W9jJfVH1Nhh X-Received: by 10.58.245.132 with SMTP id xo4mr4330599vec.11.1399475512141; Wed, 07 May 2014 08:11:52 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.40 with SMTP id m37ls3377671qgd.18.gmail; Wed, 07 May 2014 08:11:52 -0700 (PDT) X-Received: by 10.58.116.175 with SMTP id jx15mr32898486veb.9.1399475511832; Wed, 07 May 2014 08:11:51 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id tb2si1515991vdc.129.2014.05.07.08.11.51 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 08:11:51 -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.128.181; Received: by mail-ve0-f181.google.com with SMTP id pa12so1434793veb.26 for <patchwork-forward@linaro.org>; Wed, 07 May 2014 08:11:51 -0700 (PDT) X-Received: by 10.220.7.131 with SMTP id d3mr1245937vcd.45.1399475511745; Wed, 07 May 2014 08:11:51 -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 ib8csp317680vcb; Wed, 7 May 2014 08:11:50 -0700 (PDT) X-Received: by 10.52.175.166 with SMTP id cb6mr32606379vdc.1.1399475510160; Wed, 07 May 2014 08:11:50 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id sq9si2961019vdc.17.2014.05.07.08.11.49 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 07 May 2014 08:11:50 -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 1Wi3UX-0004OZ-Eb; Wed, 07 May 2014 15:10:41 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <Stefano.Stabellini@citrix.com>) id 1Wi3UV-0004Nj-Il for xen-devel@lists.xensource.com; Wed, 07 May 2014 15:10:39 +0000 Received: from [193.109.254.147:64618] by server-6.bemta-14.messagelabs.com id B7/E1-13066-EEC4A635; Wed, 07 May 2014 15:10:38 +0000 X-Env-Sender: Stefano.Stabellini@citrix.com X-Msg-Ref: server-4.tower-27.messagelabs.com!1399475436!3308595!1 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.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 10684 invoked from network); 7 May 2014 15:10:38 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-4.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 7 May 2014 15:10:38 -0000 X-IronPort-AV: E=Sophos; i="4.97,1004,1389744000"; d="scan'208"; a="128639617" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 07 May 2014 15:10:35 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Wed, 7 May 2014 11:10:34 -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 1Wi3UK-0004B3-Qy; Wed, 07 May 2014 16:10:28 +0100 From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> To: <peter.maydell@linaro.org> Date: Wed, 7 May 2014 16:10:01 +0100 Message-ID: <1399475403-5408-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.1405071606230.14596@kaball.uk.xensource.com> References: <alpine.DEB.2.02.1405071606230.14596@kaball.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA1 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(-)