Message ID | alpine.DEB.2.10.1701131015040.14454@sstabellini-ThinkPad-X260 (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 67756601E5 for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 13 Jan 2017 18:41:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 589BB2875D for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 13 Jan 2017 18:41:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B1DE28766; Fri, 13 Jan 2017 18:41:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C6DC12875D for <patchwork-xen-devel@patchwork.kernel.org>; Fri, 13 Jan 2017 18:41:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1cS6l4-0007r4-UZ; Fri, 13 Jan 2017 18:39:26 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <sstabellini@kernel.org>) id 1cS6l3-0007qv-VW for xen-devel@lists.xen.org; Fri, 13 Jan 2017 18:39:26 +0000 Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id 89/7A-04025-DDE19785; Fri, 13 Jan 2017 18:39:25 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRWlGSWpSXmKPExsVybKJsh+5tuco Ig1VdUhZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8bPs+oFK8Qr3sx5z9jA+Feoi5GLQ0hgKqPE pEn7GLsYOYGc2UwS/477gtgsAtoS8/7vYwWx2QQMJf4+2cTWxcjBIQFkL/nMARIWETCTuNP8n BlkDrPADxaJvQceMYMkhAViJGY83soEYnMKOEg8WHCRBaSXV8BbYsvsRIi9y5glZjbOB5svKq ArcejfHzYQm1dAUOLkzCcsIDazgJbE8unbwGwJgQyJeT1zWCFsL4lFNy5B2WoSV89tYp7AKDg LSfssJO0LGJlWMWoUpxaVpRbpGlnoJRVlpmeU5CZm5ugaGpjq5aYWFyemp+YkJhXrJefnbmIE Bmc9AwPjDsa+VX6HGCU5mJREeb+rVkQI8SXlp1RmJBZnxBeV5qQWH2KU4eBQkuCdJlsZISRYl JqeWpGWmQOME5i0BAePkggvMzBWhHiLCxJzizPTIVKnGHU5Tt04/ZJJiCUvPy9VSpx3O8gMAZ CijNI8uBGwmL3EKCslzMvIwMAgxFOQWpSbWYIq/4pRnINRSZiXBWQVT2ZeCdymV0BHMAEdcdG mHOSIkkSElFQDY0efBmPvutmrtq3urDO/4H83Z5XKQoegfz9ZNt7SMzgmtcnuE1OK6PG0t1eO z9DNbP2REH798YROi1kfwy0ffb6z6YO4vuT0O0q9m85PyZbezNzy6nrh8y3HrgQnfztd9Shid nIhx1VDxso18bbB+hZvrTPkpG/9zhffbb6dcc27RVKJDgq6n5RYijMSDbWYi4oTAU6xm1LUAg AA X-Env-Sender: sstabellini@kernel.org X-Msg-Ref: server-7.tower-206.messagelabs.com!1484332762!79690282!1 X-Originating-IP: [198.145.29.136] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 65532 invoked from network); 13 Jan 2017 18:39:23 -0000 Received: from mail.kernel.org (HELO mail.kernel.org) (198.145.29.136) by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 13 Jan 2017 18:39:23 -0000 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7AE1520123; Fri, 13 Jan 2017 18:39:20 +0000 (UTC) Received: from [10.1.10.56] (96-82-76-110-static.hfc.comcastbusiness.net [96.82.76.110]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E012A200D9; Fri, 13 Jan 2017 18:39:18 +0000 (UTC) Date: Fri, 13 Jan 2017 10:39:17 -0800 (PST) From: Stefano Stabellini <sstabellini@kernel.org> X-X-Sender: sstabellini@sstabellini-ThinkPad-X260 To: "Pooya.Keshavarzi" <Pooya.Keshavarzi@de.bosch.com> In-Reply-To: <40fc7a67-3f23-daa9-44a3-4c2566f76d8f@de.bosch.com> Message-ID: <alpine.DEB.2.10.1701131015040.14454@sstabellini-ThinkPad-X260> References: <f3dfc7c3-0b0a-3c3b-c988-6fe04d59dce5@arm.com> <5f7e4c02-3312-3726-7c9b-576b7cc00694@epam.com> <79a88682-1d58-7e68-2385-ae3a82f519bb@epam.com> <aa7a29ca-6d16-393c-cbc5-993cfacbbf03@arm.com> <2a5febf2-31c2-9002-55c9-b39e809f01f0@de.bosch.com> <e8043026-a45f-1952-8316-0b3943cee35e@de.bosch.com> <alpine.DEB.2.10.1701121034500.14454@sstabellini-ThinkPad-X260> <40fc7a67-3f23-daa9-44a3-4c2566f76d8f@de.bosch.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP Cc: Artem Mygaiev <artem_mygaiev@epam.com>, "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>, Dirk Behme <dirk.behme@de.bosch.com>, Andrii Anisov <andrii_anisov@epam.com>, Lars Kurth <lars.kurth@citrix.com>, Dario Faggioli <dario.faggioli@citrix.com>, Andrii Anisov <andrii.anisov@gmail.com>, Alex_Agizim@epam.com, stewart.hildebrand@dornerworks.com, Julien Grall <julien.grall@arm.com>, Stefano Stabellini <sstabellini@kernel.org>, Meng Xu <mengxu@seas.upenn.edu>, anastassios.nanos@onapp.com, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Xen Devel <xen-devel@lists.xen.org> Subject: Re: [Xen-devel] Xen ARM community call - meeting minutes and date for the next one X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 87e6035..17c65fa 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c @@ -409,9 +409,9 @@ dma_addr_t xen_swiotlb_map_page(struct device *dev, struct page *page, if (map == SWIOTLB_MAP_ERROR) return DMA_ERROR_CODE; + dev_addr = xen_phys_to_bus(map); xen_dma_map_page(dev, pfn_to_page(map >> PAGE_SHIFT), dev_addr, map & ~PAGE_MASK, size, dir, attrs); - dev_addr = xen_phys_to_bus(map); /* * Ensure that the address returned is DMA'ble