From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6313C433E0 for ; Tue, 26 May 2020 20:09:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C4C4720899 for ; Tue, 26 May 2020 20:09:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390617AbgEZUJW (ORCPT ); Tue, 26 May 2020 16:09:22 -0400 Received: from mga03.intel.com ([134.134.136.65]:22129 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390075AbgEZUJW (ORCPT ); Tue, 26 May 2020 16:09:22 -0400 IronPort-SDR: ixYVrwQz5we5pbKcZzBV9Fo0PvZUcrmHN9CUL4k02a+j47P0vgHYTbYs1nNWg8imK+IYROhY16 yZRAYvJEfofQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2020 13:09:21 -0700 IronPort-SDR: sgsNAYYFGCR4KGlJv/TA+kTZFRtuojydT7U/eTiZLJz8egiwOJhfloULIDvnCHPFbaNWeVgllc q/DbJK7RP6pg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,437,1583222400"; d="scan'208";a="468432903" Received: from aprakasa-mobl.amr.corp.intel.com (HELO [10.254.67.245]) ([10.254.67.245]) by fmsmga005.fm.intel.com with ESMTP; 26 May 2020 13:09:19 -0700 Subject: Re: [Sound-open-firmware] [PATCH 5/6] vhost: add an rpmsg API To: Guennadi Liakhovetski Cc: Liam Girdwood , sound-open-firmware@alsa-project.org, linux-remoteproc@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org References: <20200516101109.2624-1-guennadi.liakhovetski@linux.intel.com> <20200516101109.2624-6-guennadi.liakhovetski@linux.intel.com> <9737e3f2-e59c-0174-9254-a2d8f29f30b7@linux.intel.com> <20200525135336.GB6761@ubuntu> <59029e07-f49b-8d1a-4eb4-2f6d5775cf54@linux.intel.com> <20200526185522.GA6992@ubuntu> From: Pierre-Louis Bossart Message-ID: Date: Tue, 26 May 2020 15:09:19 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200526185522.GA6992@ubuntu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org >>>>> +config VHOST_RPMSG >>>>> + tristate >>>>> + depends on VHOST >>>> >>>> depends on RPMSG_VIRTIO? >>> >>> No, RPMSG_VIRTIO is used on the guest side, VHOST_RPMSG (as well as >>> all other vhost drivers) on the host side. >> >> I vaguely recalled something about sockets, and was wondering if there isn't >> a dependency on this: >> >> config VHOST_VSOCK >> tristate "vhost virtio-vsock driver" >> depends on VSOCKETS && EVENTFD && VHOST_DPN >> select VHOST > > You probably are thinking about the first patch in the series "vhost: convert > VHOST_VSOCK_SET_RUNNING to a generic ioctl." But no, this RPMsg driver > doesn't depend on vsock, on the contrary, it takes a (albeit tiny) piece of > functionality from vsock and makes it global. yes, this is what I was thinking about, thanks for clarifying.