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=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 965BDC48BE6 for ; Mon, 14 Jun 2021 09:12:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 791C06128B for ; Mon, 14 Jun 2021 09:12:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232655AbhFNJOm (ORCPT ); Mon, 14 Jun 2021 05:14:42 -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-Google-Smtp-Source: ABdhPJzowyA4WkHFIZhVs8SkkNub47xJidNz0hMfmu9V1ygHyOQLgkMNrgUWSu8Xb77+wTBgpgZOOw== 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