Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3334697pxj; Mon, 24 May 2021 04:28:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyedzBSHIEA+xNeiKZkfjLx6ayMmtFbMzgc16n0yrZTK3z51e+z6XWmM7LIkVcORjO/Ccob X-Received: by 2002:a05:6402:14c2:: with SMTP id f2mr25769745edx.69.1621855714183; Mon, 24 May 2021 04:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621855714; cv=none; d=google.com; s=arc-20160816; b=oceMpAvdeu5WqZ/r1CSi8R0BdwirqymYGRh2n74XbIqls8qNLig8hPzdqqzCKUcNUV OZroFNeQcCsbEx8zGqGkPBnT1vFRsrsUYclOFxq0U4fWG89cR5pCwNUoZ2im1wUG95nx kD9IsKgWX31kq+rYKykLBssX6lp6pbXiKMe+D14hMfa/xrAlkjYJn2HlhBRdFgKEDioE 9Z/iiu2riZfrml2kjmTSOrfl9+OgaB9k1nYhv3Iu6hM6llui0KWnLGR8T/L648ppD5RG hmSm2PbU6FGmbv7fFpYOfnjOZQpNSC0TqTndeSoZ53xQqhnJRDb/e4b+42EgX6DbiCtZ XImw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=n4lZKQ7D/b+Y1RnAe1IHv907xEM4UrKrYxjGnKdhmJs=; b=Pcs+J2vaSV6Y9HpYRuDp6VxgRB22vCTKq/ozBM4u8AuSKxk8jiTuMNPqAl0+1a5bcf nUE/9yjhtPXT5DS4plcwyqALeDAxVYsSKbm+ovn/2SnpOUP2CZl3UwVrpvSVCDC7qMgZ BoaXtSxrgy0wNMLmgZVc5sqKQDa2+y4kElMtfAk2KRatpr7efBDhkoJAhB5vGEX9iK9M WZ+b0blh6u0nMNGtFGTt69De+AF7BiAZywQ5PAtqqtduVuvC+pg3zYWB5cedaXqCbVv6 Gx2Xx8WeG3ASGm8azr1nhyPzNVvRcIHP19HsKQ+VUU1XBq/HWnMHhFp3ZdUPpgpTNXHq 6WCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kCzxdZSg; 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 h17si12829183edw.68.2021.05.24.04.28.11; Mon, 24 May 2021 04:28:34 -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=kCzxdZSg; 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 S232553AbhEXL2p (ORCPT + 99 others); Mon, 24 May 2021 07:28:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232050AbhEXL2n (ORCPT ); Mon, 24 May 2021 07:28:43 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05CCFC061574; Mon, 24 May 2021 04:27:16 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id w206so5923345ybg.7; Mon, 24 May 2021 04:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n4lZKQ7D/b+Y1RnAe1IHv907xEM4UrKrYxjGnKdhmJs=; b=kCzxdZSgQ+Qvkuemg1RliV7PQ15KS5a1Qe+OwDcyfwKRqZeAeqlfwqbMGUopNBnIGO xV7tKYPuyGNDSKbtaR5y5JTrluPYIrSv+x8WL4KkqbqDpwfn8gmHIv8y1mjjlb32uubI mpZujOUm6T+yU1K4psAp0SByHHHZxtsFW91ACMCFLavQWd+vdcrJzhfeJABoSlyFw8mq 5VImmopVl4M+pEntrlWzGFmO4UESaMhuUe1vhotgHvf1w0503oYPNlau5+SvFNteTdZD SPgs1sG5x09+Z1s4CBdp50r+5+w3KJxgzfxR5YRlYN3J8gUZk/+1Fp7P038BtOhnedpi H0NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n4lZKQ7D/b+Y1RnAe1IHv907xEM4UrKrYxjGnKdhmJs=; b=ZoeBGi/pzX0HzljNBaPniT7DYWTyAlMXqpIOYwMDrBZRukRxgFjdK3H4q5l59SIKiq ZPjap28EAosKsICc/bXQGOg2cNYdOuGjmaB9hT4Nm+zL7mcBWrkIY0WvPosxUhzQhKnx ox86/3pza4XEehs8xkBG4RlEm0iuaEVANqWRmkdoxjqquZ0Nvo6JkhWX85YGYuiDKwgU og7WNaOIZSX8eDkRdTbUbAsWYR2efjMsAkGzTLGGgLz+MQYTC1ytanAkEG2Sx3EzT5+b R66hdgmegnRUgvNvgDhP/1R8AuZWrCXf5IcKtRXEX1muh1ToFNPaHGp9Wr63vXOmsSzN kALg== X-Gm-Message-State: AOAM5318jFPClJkN2sV/F2n7vQZvsrZycUR4T1xCytdBcjhLHCHaQX/5 b8aX9YNttlb54EHffKF+AMNLR3XT91NARkPSmg8= X-Received: by 2002:a25:b78e:: with SMTP id n14mr35491542ybh.474.1621855635345; Mon, 24 May 2021 04:27:15 -0700 (PDT) MIME-Version: 1.0 References: <20201203191135.21576-1-info@metux.net> <20201203191135.21576-2-info@metux.net> In-Reply-To: <20201203191135.21576-2-info@metux.net> From: Viresh Kumar Date: Mon, 24 May 2021 16:57:03 +0530 Message-ID: Subject: Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver To: "Enrico Weigelt, metux IT consult" , =?UTF-8?B?QWxleCBCZW5uw6ll?= , Vincent Guittot Cc: Linux Kernel Mailing List , Jonathan Corbet , "linus.walleij@linaro.org" , bgolaszewski@baylibre.com, "Michael S. Tsirkin" , Jason Wang , Linux Documentation , linux-gpio@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 4, 2020 at 12:51 AM Enrico Weigelt, metux IT consult wrote: > > Introducing new gpio driver for virtual GPIO devices via virtio. > > The driver allows routing gpio control into VM guests, eg. brigding > virtual gpios to specific host gpios, or attaching simulators for > automatic application testing. > > Changes v2: > * fixed uapi header license > * sorted include's > * fixed formatting > * fixed unneeded devm allocation - plain kzalloc/kfree is enough > * fixed missing devm_kzalloc fail check > * use devm_kcalloc() for array allocation > * added virtio-gpio protocol specification Hi Enrico, We (Linaro's Project Stratos https://linaro.atlassian.net/wiki/spaces/STR/overview) are interested in this stuff. I was trying to look at the last status of all this. Few questions for you: - Was the spec ever posted to virtio-dev list ? I thought that's the very first step before we merge the code. - Any follow up on this patchset ? Thanks. I will be happy to help otherwise and have cycles to work on this if you need my help. -- viresh