Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2584898pxj; Mon, 14 Jun 2021 02:13:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC8Gg7xTzdnYiUt65zf8VMe+EOKoe2esiUj/0lsEKmHHTGNtKvkeqRmFURk6X+KQYv/6Pk X-Received: by 2002:a17:907:9801:: with SMTP id ji1mr14617628ejc.523.1623662035289; Mon, 14 Jun 2021 02:13:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623662035; cv=none; d=google.com; s=arc-20160816; b=E6uCKxdeBry/P/Tu+O/ShwBkVjp64ww4dCm3GGWXyr8pZvgpdVISwF+8pV4Z3vvBfz XE6lPH9pfEdfQQXrTjPZF9h+MqFe2fUeJjGzVK6OYEPpQhLTxtwGa7L5XhKKrAkYeUIZ x2+2U2h/b7a5KNM/Z2Hg0e1ksYalGQKZULZFm9tgUwQOQPlfi7GvNT/FPizFp3DWjW2H FVs1VbLAu7bEhUG79XV/9K9qB5nxPBE04hLlLiWtX88eK2d8E+tq1NUbmQjq9kCWca5z Fz3PdPIH+RJbgRLlfb2hI1eMyGOHKARdu/84GauJcfJtyP6by5Vw8GOK1tY0qsDpXSsW /ttA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=4yyICwHMIJCbXq2c7BEGBVunI5RWt4gLljDerJ9bJhA=; b=e1t646UrXlQGa/3Y5q+l9IoDdEYtHGpDj5eTJ85DS7et3xmTed25Iu+KaY1GDytEU9 ojwIVVi2QA6HPGpqM3npVV56DkwivlF/O4ctdAE1Hgeo8T/1I5sHcDBWTiIgznCcXwM4 rI4Mh7bWhpthmEXhnzRGAsMAZewr9DfeQbblZc09r4yXxGMCrx/3Pc/Kb5duGoD3wGqA /HHn380TGqh/RCW1I43W07Xyd7s5SEF4bhsxWb1Bvp4Cyv0xNczVk60u6RV6wuEyURqf uoGS4mvZN6AXD5JgzEHdb47Ri97oKtDuVoP+jkla7lgUG63Uzlil+Vu557S2nmIV1PPf 2XxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ET+yJ2Yp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 17si3808410eja.209.2021.06.14.02.13.30; Mon, 14 Jun 2021 02:13:55 -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=@linaro.org header.s=google header.b=ET+yJ2Yp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232630AbhFNJOl (ORCPT + 99 others); Mon, 14 Jun 2021 05:14:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbhFNJOk (ORCPT ); Mon, 14 Jun 2021 05:14:40 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABC26C061766 for ; Mon, 14 Jun 2021 02:12:21 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id u18so10064239pfk.11 for ; Mon, 14 Jun 2021 02:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4yyICwHMIJCbXq2c7BEGBVunI5RWt4gLljDerJ9bJhA=; b=ET+yJ2YpQh1nx70SZ+2L3LmRnVHxt0PqmvwWpzaonmZgwK4v58J+iDsJArycAeunGg tKgrNB2bx3GXCj4hriyFV3gIyPygHrpBHUbvrpyBJx0c+pLO24tErnSVRq/ELWYzqPf7 wFHnJZzy8YFgD4BOv+2lw0abWp1Zja88mP2l5qzb7AemZVmlcJwIDfsqwA47CKvxPEZX +I9XRGd6O22GfnSveAE7svaFLPZk+JTEP2fIzFbkLcVBK+NzeGZEgz8lh+JI/O+XZRn4 5JcTugxdxoBehzQMuVxsBu+CLmUBV38tQqd7r6WFQa+9Bx2Cm/L3tjvZ9BCBzNQJvQ+T HQUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4yyICwHMIJCbXq2c7BEGBVunI5RWt4gLljDerJ9bJhA=; b=tOeYpft1Hpc/s9HcqqodwJv//ZC66F++wazEdYGZdcM8eDyGRjwe4crcVir1zHBQzC Ru2AEzQlH8l38wRAvhU1YaHGEAC5BIQiJR8d/ooBXHwZYNX1fhw/1ek4Z+mBwkn7L3ex No1zDMad0U6SMUwC8/6boi5txQJi+09vp409ume52NcLb6KZSAqRzqvC2OXnwwDmntE2 AMsTBbgFcq8gUL99+Ls7/huocnM0WSuc1c0uPx33LGeG0RXOjyvXKX5UuHtt6k86lJJt vFon94c1CfMjEw/Nv9yDkQKwwdjV9CgFX/XHe66ELs7xTQzm9fQWU5bE5TUI6UxcVlzH JYKQ== X-Gm-Message-State: AOAM530ofIZhjZFIDMZdJe2LZPL/4E2X59FL9SxwDhLxNFlYTiv2bgdK xfkS+uw8YNFpDjuJSVR2Y6Mlxg== X-Received: by 2002:a62:e404:0:b029:2ee:f086:726f with SMTP id r4-20020a62e4040000b02902eef086726fmr20669526pfh.7.1623661941123; Mon, 14 Jun 2021 02:12:21 -0700 (PDT) Received: from localhost ([136.185.134.182]) by smtp.gmail.com with ESMTPSA id q23sm12331418pff.175.2021.06.14.02.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jun 2021 02:12:20 -0700 (PDT) Date: Mon, 14 Jun 2021 14:42:18 +0530 From: Viresh Kumar To: "Enrico Weigelt, metux IT consult" Cc: Geert Uytterhoeven , Linus Walleij , Bjorn Andersson , Bartosz Golaszewski , "Enrico Weigelt, metux IT consult" , Viresh Kumar , "Michael S. Tsirkin" , Jason Wang , Vincent Guittot , Bill Mills , Alex =?utf-8?Q?Benn=C3=A9e?= , stratos-dev@op-lists.linaro.org, "open list:GPIO SUBSYSTEM" , linux-kernel , Stefan Hajnoczi , "Stefano Garzarella --cc virtualization @ lists . linux-foundation . org" , virtualization@lists.linux-foundation.org, Alistair Strachan Subject: Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver Message-ID: <20210614091218.mj5hdx4xhy4vho5x@vireshk-i7> References: <10442926ae8a65f716bfc23f32339a6b35e51d5a.1623326176.git.viresh.kumar@linaro.org> <20210611035623.z4f2ynumzozigqnv@vireshk-i7> <20210611080122.tlkidv6bowuka6fw@vireshk-i7> <0478822f-9d10-deb8-86ae-3b4ac3bb0c6c@metux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0478822f-9d10-deb8-86ae-3b4ac3bb0c6c@metux.net> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14-06-21, 10:07, Enrico Weigelt, metux IT consult wrote: > On 11.06.21 10:01, Viresh Kumar wrote: > > > No, QEMU passes the raw messages to the backend daemon running in host > > userspace (which shares a socket with qemu). The backend understands > > the virtio/vhost protocols and so won't be required to change at all > > if we move from Qemu to something else. And that's what we (Linaro) > > are looking to do here with Project Stratos. This is one of the ways of using it, via a backend running in host userspace, maybe there are other ways of making this work which I may not have explored, like handling this within qemu. > Note that this is completely different from my approach that I've posted > in autumn last year. Viresh's protocol hasn't much in common with mine. The protocol hasn't changed in a sense on how it can be used. Yes few things have moved around, new operations were introduced, but nothing that will make a change at this level. We are trying to use the protocol in one of the possible ways and yours can be different. -- viresh