Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2293502ybt; Sun, 21 Jun 2020 15:36:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp9/iupMfFxSzn9kKb1nAO+5V7gN+XQbsNfZkLtEK8MdRa8piATqVvmDVoYMSekZd3f/xa X-Received: by 2002:a17:906:7e5a:: with SMTP id z26mr13772632ejr.263.1592778986385; Sun, 21 Jun 2020 15:36:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592778986; cv=pass; d=google.com; s=arc-20160816; b=EgkxzhjXNMQZMjBUfOppR8NBWiZQ6PQvQevF6tjNsDFHjeQNv90K78Wh4vE1u10uTw 8BH4FO4EEdc9p4KpFAOAubp5EkeNcYvSYkuowxtAXcpnbYsTHOOcwrjmrXOmlqnUX0ft cDQFYwiY26Mor+bq75AqTiFiQinGCPZKDDjmAkcB+cSmkQtoZ0UAONDEFYIOx+3cF8In XXFkPkTEKCrDHBGDmpd0aqsmTcUqhQuPNZAwEkMhfrXeND2WhgKh9CYSJMFtxSwW0d3U cFKAWJQkQo7vJiZ5A2HT2INbv8/LkDQ4Ih9qbqxEHXnGIfcZD6ReYoV4bKf/ylOhxJer ry3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=BNqxjqCZyARJL1fL/feIU5z7rx/+jDQll/inQrkpOfM=; b=Klp3N4rxqVvJJKUmjRsqH5PXxdTKj1LoGULTWo/Vmd0weY4b01byJqrqZ/mS9PXg+S bG+c/2WSDrErWxzg/ckIBChebxxZ9oFygkn88cwDuMWYWiNLTRdgQ53c433zDpjkTCzH Ye0wbBdBF6xYGr5SRValFhbBIWRuCxbeIBbBEpMQ/0wIN1oXREL8ZxVINKFnvHeKP277 8orsgjKRZQ4+Lr6hFSITdpvkvDsLm2KVqykn+kbQEFymeMVDfkWO0N1ZL6piuDPaHFBd GISK9Kb1ZhOxad2asa1AiqWywgYBVmGd/gnyQ7Gt7Mr0/7z6jEub337LENM3oTq1MBym r/Kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cern.onmicrosoft.com header.s=selector2-cern-onmicrosoft-com header.b=FrKak7qM; arc=pass (i=1 spf=pass spfdomain=cern.ch); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw8si8279066ejb.83.2020.06.21.15.36.03; Sun, 21 Jun 2020 15:36:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cern.onmicrosoft.com header.s=selector2-cern-onmicrosoft-com header.b=FrKak7qM; arc=pass (i=1 spf=pass spfdomain=cern.ch); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726499AbgFUWcZ (ORCPT + 99 others); Sun, 21 Jun 2020 18:32:25 -0400 Received: from mail-eopbgr50071.outbound.protection.outlook.com ([40.107.5.71]:8105 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726335AbgFUWcZ (ORCPT ); Sun, 21 Jun 2020 18:32:25 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jhRVYaq5N5wouL1ybivqlkl4DxpSOF03W/RSKcAe/F9o/tIRTRUDvhA9UQtLTZEL4kQavEKYFA8ebkKJEQq2O+oQy9cH/26vHQA2jEZDHugcQDP2z17w2nwTOB1RqiK1txu30QLvuEKmjgdXewB1ebjA9uvFU2KfvyzpwKbnVtlIjK4GcmlTeM/zvJMkqXDwBt/TNZqhOAJK09qo0JAsZi+mLIlKLojnDcQEy5F2cKv7j/OKDOYhGrOK8pdGL5KGhj4xqBROFXCr07lFw4ahdImAu3a64U85WBeflk5xFV7hISdY8HAg+KM9ZmIGTo/fqglTdFujtP3v/1GtDw15uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BNqxjqCZyARJL1fL/feIU5z7rx/+jDQll/inQrkpOfM=; b=HbPcusEVxfRCYLxEhOLkBno4pXB0eXfivmKMBYO3EDxTqscITrQagvLKusO5N329Gbke8Dmqnr9q6m9kf02tX2X/iG5UAz9FsuKxNEv16xL4UXedDPYfExKYgn6/ltwibUnA9uKzXEZG+/EZjcHWYrCsDcHXmzuXx63JMYp8BQPoXD0bs4DTo3kA3D68quQbDtt+KQjhXTCAFFDfv4tkv4TI88sGDRPUUiY9vf+524Bjv6srkLUEDmQGqbdk5cKcqNXNRvqM+JxTIxttBQetMC8qdAUaGEEmY82PQ8NlvMfWZWRjdztNkL8DavoFmfZb/4j1BtY0Hq+rb8lsG0qrvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 188.184.36.46) smtp.rcpttodomain=gmail.com smtp.mailfrom=cern.ch; dmarc=bestguesspass action=none header.from=cern.ch; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cern.onmicrosoft.com; s=selector2-cern-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BNqxjqCZyARJL1fL/feIU5z7rx/+jDQll/inQrkpOfM=; b=FrKak7qMWGPUxzCHl0s3O55hZCVxKIUcRS2Jxrz1AvjKhqDN5tbiiYcbfigD/uyBaDixiSuW0Uq24l8eUhKUQ8qE3afxQh8/uPUIn9ysMrgxun+i3zXrC3v6aOdYw0EEI6fAF+A+aHopWurEuywt70pjOODIk9Xa9cLVgq7tbtE= Received: from AM6PR0502CA0046.eurprd05.prod.outlook.com (2603:10a6:20b:56::23) by VI1PR06MB3967.eurprd06.prod.outlook.com (2603:10a6:802:63::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.23; Sun, 21 Jun 2020 22:32:21 +0000 Received: from AM5EUR02FT019.eop-EUR02.prod.protection.outlook.com (2603:10a6:20b:56:cafe::65) by AM6PR0502CA0046.outlook.office365.com (2603:10a6:20b:56::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.21 via Frontend Transport; Sun, 21 Jun 2020 22:32:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 188.184.36.46) smtp.mailfrom=cern.ch; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=bestguesspass action=none header.from=cern.ch; Received-SPF: Pass (protection.outlook.com: domain of cern.ch designates 188.184.36.46 as permitted sender) receiver=protection.outlook.com; client-ip=188.184.36.46; helo=cernmxgwlb4.cern.ch; Received: from cernmxgwlb4.cern.ch (188.184.36.46) by AM5EUR02FT019.mail.protection.outlook.com (10.152.8.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.3109.22 via Frontend Transport; Sun, 21 Jun 2020 22:32:21 +0000 Received: from cernfe01.cern.ch (188.184.36.42) by cernmxgwlb4.cern.ch (188.184.36.46) with Microsoft SMTP Server (TLS) id 14.3.487.0; Mon, 22 Jun 2020 00:32:15 +0200 Received: from cwe-513-vol689.cern.ch (2001:1458:d00:7::100:1c8) by smtp.cern.ch (2001:1458:201:66::100:14) with Microsoft SMTP Server (TLS) id 14.3.487.0; Mon, 22 Jun 2020 00:32:17 +0200 Date: Mon, 22 Jun 2020 00:32:15 +0200 From: Federico Vaga To: Richard Weinberger CC: Vinod Koul , Dave Jiang , "Dan Williams" , , LKML Subject: Re: DMA Engine: Transfer From Userspace Message-ID: <20200621223215.xsbjqlhg6m2gz5im@cwe-513-vol689.cern.ch> References: <5614531.lOV4Wx5bFT@harkonnen> <20200621072457.GA2324254@vkoul-mobl> <20200621203634.y3tejmh6j4knf5iz@cwe-513-vol689.cern.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Disposition: inline In-Reply-To: X-Originating-IP: [2001:1458:d00:7::100:1c8] X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:188.184.36.46;CTRY:CH;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:cernmxgwlb4.cern.ch;PTR:cernmx13.cern.ch;CAT:NONE;SFTY:;SFS:(396003)(136003)(376002)(39860400002)(346002)(46966005)(5660300002)(4744005)(1076003)(8676002)(2906002)(70586007)(54906003)(70206006)(316002)(55016002)(86362001)(83380400001)(4326008)(7696005)(44832011)(186003)(426003)(82740400003)(16526019)(6916009)(47076004)(26005)(356005)(478600001)(336012)(7636003)(82310400002)(8936002);DIR:OUT;SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: be5c7f13-5af0-45dd-d8c3-08d81632f68d X-MS-TrafficTypeDiagnostic: VI1PR06MB3967: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-Forefront-PRVS: 04410E544A X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CU0oXPxcWcpLQjepkwYDkdbTSasUCYA9WMGLg8kK/jgpnNNljY6P3rbdI8DqUfHiVHk2ozJZTWUKQ4AnFHAbsjxrG3v8LZdrzW+sSYN7r42xCvna9y//rlkDVKqMUl2+rCqL2bEFaU8cwntOZQFQfozgQ/kp+IMFsMpG5R6IxauAuP/svoEj9AbN+lPNadtjeBN85TD5C+acR1SeFJGMOYuIcP3i/xfQTNak2oS53Zt2GnslqoaKJiMOxLlFlUpdB72tn6HTi1TCkFykzN+jaFV/Zwu+GfcO0tBNj1fCF9ZcgDQLfF2cSbr11wBir52cmHv/2yj2TY3KJSd9ROgE+LkJ+uMPH+rvvOAZcE+egdsTwb5/9n0zI37vcsAIrAVyF3W4+v5wisbTb9Ss/Vsz6Q== X-OriginatorOrg: cern.ch X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2020 22:32:21.1143 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: be5c7f13-5af0-45dd-d8c3-08d81632f68d X-MS-Exchange-CrossTenant-Id: c80d3499-4a40-4a8c-986e-abce017d6b19 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c80d3499-4a40-4a8c-986e-abce017d6b19;Ip=[188.184.36.46];Helo=[cernmxgwlb4.cern.ch] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR06MB3967 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 21, 2020 at 10:45:04PM +0200, Richard Weinberger wrote: >On Sun, Jun 21, 2020 at 10:37 PM Federico Vaga wrote: >> >Federico, what use case do you have in mind? >> >> Userspace drivers > >Is using vfio an option? I do not know the subsystem. Could be, thanks for the suggestion I will have a look. >-- >Thanks, >//richard