From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759633Ab3BYVaO (ORCPT ); Mon, 25 Feb 2013 16:30:14 -0500 Received: from ozlabs.org ([203.10.76.45]:46606 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752513Ab3BYVaK (ORCPT ); Mon, 25 Feb 2013 16:30:10 -0500 From: Rusty Russell To: Ohad Ben-Cohen Cc: Sjur =?utf-8?Q?Br=C3=A6ndeland?= , "David S. Miller" , Sjur =?utf-8?Q?Br=C3=A6ndeland?= , netdev@vger.kernel.org, virtualization , "linux-kernel\@vger.kernel.org" , Dmitry Tarnyagin , Linus Walleij , Erwan Yvin , Ido Yariv Subject: Re: [PATCHv2 vringh 1/3] remoteproc: Add support for vringh (Host vrings) In-Reply-To: References: <1360669793-6921-1-git-send-email-sjur.brandeland@stericsson.com> <1360669793-6921-2-git-send-email-sjur.brandeland@stericsson.com> <8738wqgok6.fsf@rustcorp.com.au> User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Fri, 22 Feb 2013 11:12:13 +1030 Message-ID: <87k3q1faca.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ohad Ben-Cohen writes: > On Thu, Feb 21, 2013 at 8:37 AM, Rusty Russell wrote: >> Hmm... I clearly jumped the gun, assuming consensus was already reached. >> I have put these patches *back* into pending-rebases, and they will not >> be merged this merge window. > > Thanks. > > What do you think about creating some virtio-level wrappers for the > vringh handlers? > > I don't think we're going to stop with caif as the only vringh user, > and it could be nice if we follow the virtio spirit of decoupling the > drivers from the low level implementation. It sure did prove itself > when the remoteproc use cases started showing up, and it's neat. The problem space is a bit different. My immediate concern is getting vhost (and thus vhost_net/blk) to use vringh: I wanted to unify the in-userspace and in-kernelspace ring implementations. We don't have that issue in virtqueue.c. vhost is (will be) the higher abstraction for in-userspace rings, perhaps we want an equivalent for in-kernelspace rings. I'm happy to look at patches, but I don't immediately see what it would look like... Thanks, Rusty.