Message ID | e892748a-c268-9622-e568-4c361366bce1@epam.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.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 C5E49603B4 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 15 Jun 2018 06:59:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4C4828CF3 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 15 Jun 2018 06:59:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A954C28CFE; Fri, 15 Jun 2018 06:59:27 +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=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2F7F828CF3 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 15 Jun 2018 06:59:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A589F6EAD5; Fri, 15 Jun 2018 06:58:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0041.outbound.protection.outlook.com [104.47.2.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id D5E346E989 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jun 2018 06:32:34 +0000 (UTC) Received: from [10.17.182.9] (85.223.209.53) by AM6PR0302MB3205.eurprd03.prod.outlook.com (2603:10a6:209:16::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.14; Fri, 15 Jun 2018 06:32:29 +0000 Subject: Re: [PATCH v4 5/9] xen/gntdev: Allow mappings for DMA buffers To: Oleksandr Andrushchenko <andr2000@gmail.com>, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, jgross@suse.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com References: <20180615062753.9229-1-andr2000@gmail.com> <20180615062753.9229-6-andr2000@gmail.com> From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@epam.com> Message-ID: <e892748a-c268-9622-e568-4c361366bce1@epam.com> Date: Fri, 15 Jun 2018 09:32:25 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180615062753.9229-6-andr2000@gmail.com> Content-Type: multipart/mixed; boundary="------------F4451C5F6BC93CF3F350F4FA" Content-Language: en-US X-Originating-IP: [85.223.209.53] X-ClientProxiedBy: AM0PR06CA0067.eurprd06.prod.outlook.com (2603:10a6:208:aa::44) To AM6PR0302MB3205.eurprd03.prod.outlook.com (2603:10a6:209:16::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 82c56714-2756-4591-41fc-08d5d289c50a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(2017052603328)(7153060)(49563074)(7193020); SRVR:AM6PR0302MB3205; X-Microsoft-Exchange-Diagnostics: 1; AM6PR0302MB3205; 3:En9DCidGcpVlYMG9R33iuYQJQZxXyMRy3Up1QzHG/SSE6t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89BjVn3PlBl6jzt2HejzdX72A14Jv+zciRi7acb2BG7DW80yt1khr6fu1ovaShA/o6DfR79otfikMtw7uLgr0ekhUI9PpsOwi2MK1bpF05HQjq2NiYA2hq3uvidBqS4ELhHhQpYFVU6okREMjm/Etp7H9RpJo8xHP6J1Vy4rCZD7q56GxhUEsks2CTwnHDGmH98eq3nnu2iLQOjRGFLEiObWg91bs2UYQVjCsxi58X1VcFYEFXOrHpNaSDxyjmcUPlTxHE70XLqIrI5QsvEQtzXjoEp5G+ww9x; 4:SeBgSR3k72Gk0+dVzBcYU4BLcNG9SWNJ5tT0vt2G2nUjoT0/vz1e2N1QCmbZWCDpoo5B4hp8UWADfW4727pD02XNelT/qmwTKvRRW4z76NE8QfUm1y9tRSJlvTaD1q9H2C8rioCKC0FRkg67ajzjSmwfgVtgpcrDnD/wWsPYjcMyJLGIat4VFON3HOoIYKP0IyWIwM/7EBy+dDSGkjTnpeIjp5T0kT7M6zyWN3wwbpE8CBM4r78EGclTXfQ7frYhokvFA8BCfs2LDbXEM0jPnjVHJYbWVtjDZzDYZoZ9GHQ68L0s5gQcGHqNP4ab5cgleqDtmL08YTTbJZCcQ+Sjq1XDBfVoc1XfsgH1Ek6awpkDlfukCwWaxacif8xW0PJi X-Microsoft-Antispam-PRVS: <AM6PR0302MB32057D1E5ADE22F6BE2C1773E77C0@AM6PR0302MB3205.eurprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(4114951738403)(84791874153150)(146099531331640); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:AM6PR0302MB3205; BCL:0; PCL:0; RULEID:; SRVR:AM6PR0302MB3205; X-Forefront-PRVS: 0704670F76 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(366004)(376002)(39380400002)(346002)(39860400002)(199004)(189003)(25786009)(53936002)(16576012)(39060400002)(966005)(6246003)(486006)(229853002)(7736002)(97736004)(4326008)(6486002)(64126003)(476003)(305945005)(446003)(956004)(11346002)(72206003)(58126008)(8936002)(77096007)(16586007)(37036004)(2616005)(6116002)(53546011)(66066001)(26005)(65806001)(65956001)(478600001)(16526019)(80792005)(186003)(3846002)(316002)(55236004)(36756003)(68736007)(4610100001)(270700001)(568964002)(65826007)(386003)(84326002)(6306002)(76176011)(31686004)(86362001)(31696002)(6666003)(81156014)(7416002)(2476003)(106356001)(5890100001)(105586002)(5660300001)(52116002)(81166006)(2906002)(33964004)(59450400001)(8676002)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0302MB3205; H:[10.17.182.9]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: epam.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR0302MB3205; 23:wfqPaaesNMbcrqLg/PqnWzROgI2Ye1gk5BlBDrN?= =?us-ascii?Q?n9Q+8uLfdrz+y7/9wm4VorVRrPr91CSL7jEx+maJIAbBpSqf5rYh27YFcGDc?= =?us-ascii?Q?AujhhKVIAje0GKb7kil4ck7OC4QJqttF8tGX9+YNJ/IHuy+QAEr69k5tCCCB?= =?us-ascii?Q?PeISzzPzpOnL7WfnEjQ34OU63HPIudeIBtmCEBzvDK7D0vUDMDU4SH8SRaY1?= =?us-ascii?Q?7z1uf1RNUPMRGrkx9t+uohnzrivBrirA9zgCJwC6XvpRUXTSe3Z8e7jaD+wB?= =?us-ascii?Q?AwzNP4sio3U8r7r3dWMsXvMbiTJfXmOX+trrXcg3WL56EIorDRwmfCNGcSEH?= =?us-ascii?Q?7vjzDCJUJjZssV8RNhKF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HREl9XK2ujUrBdw9j21i/lqhcR5FHALaOyoTf6jmKjwclftKSyRuGVIXqh2/uLHSISBrwBcOSs2MU+Y4ErywbrMK65YOKQifxxkpHqAX6NRey6DKQR4f7tjjNxGFnFUo6zGuJw9wZgWo1vI+wL8N8vsutlVGyBUU79mUfFmLbxAImnug==; 5:+3SC+jxFm8/kt/+lGO1nCkdamlrMqNU1FQzmRJOMI6883QGsq9UKuEz7p2MttsxkjCxxWBKgl+sA9arO3y859a32j3+QfJksK+D74kMz1T6B9cNsR+8QE60/mpaNVeJuY8RDo7ljpjquZLxLdIV3SZqCjZKbouG3sH/C7+FHZX8=; 24:m+CPnDTbS7PbAlW9puZay6ugWtI+aqo2Fv9eZ7lM0KfDmIq9Wh89p+BrEavzZBD+1WnbYYHL3aM6Z3grH0+8VM8GAH/nlbH7qlt6msll7fU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM6PR0302MB3205; 7:IcjBkBIlssHL4gCjL+XlDOp/0BgM6sLDxZm6+nuBGeLsh35gIcZVHCSZOguK7Po/E1HLM9FlZ2D19luT9Lsd4a3KotAKewbIuaqOaJF9Xc+QL13aHzNkFCoTTMxzt8uYLzh3qHq4LyRU7po8KfhodPALAt4xp/3BMuz6TqsZG2k7bt5xOwVl/7r4VGG3/ArEJuBq/GruFCLGtIourd1tYIdwVG6kDiYTmDgzCeTj6YE7nPDPO19tXrTeF3tOiXvt X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2018 06:32:29.5148 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 82c56714-2756-4591-41fc-08d5d289c50a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0302MB3205 X-Mailman-Approved-At: Fri, 15 Jun 2018 06:57:42 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: daniel.vetter@intel.com, dongwon.kim@intel.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
From bd96819f5c3fd94b878698ec8c1579c7115ff293 Mon Sep 17 00:00:00 2001 From: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Date: Fri, 15 Jun 2018 08:55:57 +0300 Subject: [PATCH] xen/gntdev: fix of_dma_configure API change Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> --- drivers/xen/gntdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index 46cee32c2a37..fd680a8c8ece 100644 --- a/drivers/xen/gntdev.c +++ b/drivers/xen/gntdev.c @@ -604,7 +604,7 @@ static int gntdev_open(struct inode *inode, struct file *flip) * Fix this by calling of_dma_configure() with a NULL node to set * default DMA ops. */ - of_dma_configure(priv->dma_dev, NULL); + of_dma_configure(priv->dma_dev, NULL, true); #endif pr_debug("priv %p\n", priv); -- 2.17.1