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=-11.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 131B7C4338F for ; Tue, 3 Aug 2021 15:47:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC38160F9C for ; Tue, 3 Aug 2021 15:47:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237007AbhHCPsI (ORCPT ); Tue, 3 Aug 2021 11:48:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:46396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236994AbhHCPsH (ORCPT ); Tue, 3 Aug 2021 11:48:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 99A5A60EFD; Tue, 3 Aug 2021 15:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628005676; bh=MG4fAieao0UPi4ffT0mbv01ftN/DNkPTsgdtYW/U3b0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JMxzV8817ns0XcLosSwn1TLOGdXCxTTb3nBhRBb1PdBUrW5Nnd/7xx/D7oh3eGvTM WK1nrMfIGlBgj7eHwljrNB2a1OnkfMJy7eONBxFJhrggHMOCOUN1B5BN/95IaHuFIu bKsNYve1kUpE/mRsq7C2W9RwB3aJbpS5fWCspPTpUnYsLDtpNQ+6joNtsFAUvZpFiS Nn4D8Ebal1JPMuyTxipY5u6vuLpi6GcF7JPCcO1X6WZLcUGk2fanMfHA/k8pSD8xs5 e2NoXPjBkwojqn0SEcGmhOWB4eimT/NVQe+KT65xA4lDP1+U9wKRypiL6AY0r2p3m1 r3tLen9j4PnBg== Received: by mail-ed1-f51.google.com with SMTP id x90so29529755ede.8; Tue, 03 Aug 2021 08:47:56 -0700 (PDT) X-Gm-Message-State: AOAM533wiHrQL0uvpBzbRiHK6anfO79FkzfhOAQ1prFHMycVL9n+HKem H+Y7hEIFc4B67nvguEUkT+fppZkQMNd/YuHy2A== X-Google-Smtp-Source: ABdhPJzuBnfkNQtqqLg2h9sTkUQTkdyCINtgxA59VUetynvl9LB1QKx942SZoaOuOW2U1PMG/KLxk/DqtQdWvGwL0ik= X-Received: by 2002:a05:6402:2043:: with SMTP id bc3mr26352466edb.62.1628005675201; Tue, 03 Aug 2021 08:47:55 -0700 (PDT) MIME-Version: 1.0 References: <20210803043014.paskwghdio6azplp@vireshk-i7> In-Reply-To: <20210803043014.paskwghdio6azplp@vireshk-i7> From: Rob Herring Date: Tue, 3 Aug 2021 09:47:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V4 3/5] dt-bindings: gpio: Add bindings for gpio-virtio To: Viresh Kumar Cc: Jason Wang , "Michael S. Tsirkin" , Arnd Bergmann , Jean-Philippe Brucker , Linus Walleij , Bartosz Golaszewski , Vincent Guittot , Bill Mills , =?UTF-8?B?QWxleCBCZW5uw6ll?= , "Enrico Weigelt, metux IT consult" , Jie Deng , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "open list:DRM DRIVER FOR QEMU'S CIRRUS DEVICE" , Arnd Bergmann , "open list:GPIO SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org n Mon, Aug 2, 2021 at 10:30 PM Viresh Kumar wrote: > > On 02-08-21, 13:40, Rob Herring wrote: > > Humm, how does one implement interrupts without a parent interrupt? It > > uses the parent virtio,mmio interrupt? > > Kind of, yeah, but not necessarily. > > The interrupt information is passed over buffers shared between host and guest. > Now the guest may process the buffers when it receives a notification from the > host, that will be at downpath of an interrupt for virtio,mmio. Or the guest may > poll on the virtqueue and process any buffers as soon as they are made > available, no interrupts then. Okay, thanks for the explanation. Reviewed-by: Rob Herring Rob 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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_RED autolearn=ham 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 C616CC4338F for ; Tue, 3 Aug 2021 15:48:00 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7ADC161037 for ; Tue, 3 Aug 2021 15:48:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7ADC161037 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 366BF400F2; Tue, 3 Aug 2021 15:48:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SyepVKP2Bn0p; Tue, 3 Aug 2021 15:47:59 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp2.osuosl.org (Postfix) with ESMTPS id 93BFC4019A; Tue, 3 Aug 2021 15:47:58 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6582CC001A; Tue, 3 Aug 2021 15:47:58 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9B4B6C000E for ; Tue, 3 Aug 2021 15:47:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 97AE9404DD for ; Tue, 3 Aug 2021 15:47:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xrh_ersrTAOB for ; Tue, 3 Aug 2021 15:47:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp4.osuosl.org (Postfix) with ESMTPS id 2CE9F404CF for ; Tue, 3 Aug 2021 15:47:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id AFA8961037 for ; Tue, 3 Aug 2021 15:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628005676; bh=MG4fAieao0UPi4ffT0mbv01ftN/DNkPTsgdtYW/U3b0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JMxzV8817ns0XcLosSwn1TLOGdXCxTTb3nBhRBb1PdBUrW5Nnd/7xx/D7oh3eGvTM WK1nrMfIGlBgj7eHwljrNB2a1OnkfMJy7eONBxFJhrggHMOCOUN1B5BN/95IaHuFIu bKsNYve1kUpE/mRsq7C2W9RwB3aJbpS5fWCspPTpUnYsLDtpNQ+6joNtsFAUvZpFiS Nn4D8Ebal1JPMuyTxipY5u6vuLpi6GcF7JPCcO1X6WZLcUGk2fanMfHA/k8pSD8xs5 e2NoXPjBkwojqn0SEcGmhOWB4eimT/NVQe+KT65xA4lDP1+U9wKRypiL6AY0r2p3m1 r3tLen9j4PnBg== Received: by mail-ed1-f50.google.com with SMTP id y7so27323744eda.5 for ; Tue, 03 Aug 2021 08:47:56 -0700 (PDT) X-Gm-Message-State: AOAM533PeVv+3rfmr1Ftg+uNC80Mmd+y7Sr3Bzml4rRLoZXpcywgrif9 b6/1t+YB40t7dd+28yts+5jkCGwEcsvaHWjMcQ== X-Google-Smtp-Source: ABdhPJzuBnfkNQtqqLg2h9sTkUQTkdyCINtgxA59VUetynvl9LB1QKx942SZoaOuOW2U1PMG/KLxk/DqtQdWvGwL0ik= X-Received: by 2002:a05:6402:2043:: with SMTP id bc3mr26352466edb.62.1628005675201; Tue, 03 Aug 2021 08:47:55 -0700 (PDT) MIME-Version: 1.0 References: <20210803043014.paskwghdio6azplp@vireshk-i7> In-Reply-To: <20210803043014.paskwghdio6azplp@vireshk-i7> From: Rob Herring Date: Tue, 3 Aug 2021 09:47:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V4 3/5] dt-bindings: gpio: Add bindings for gpio-virtio To: Viresh Kumar Cc: Arnd Bergmann , Vincent Guittot , Arnd Bergmann , Jean-Philippe Brucker , "Enrico Weigelt, metux IT consult" , "Michael S. Tsirkin" , "linux-kernel@vger.kernel.org" , "open list:DRM DRIVER FOR QEMU'S CIRRUS DEVICE" , Bartosz Golaszewski , devicetree@vger.kernel.org, "open list:GPIO SUBSYSTEM" , Linus Walleij , Bill Mills X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" n Mon, Aug 2, 2021 at 10:30 PM Viresh Kumar wrote: > > On 02-08-21, 13:40, Rob Herring wrote: > > Humm, how does one implement interrupts without a parent interrupt? It > > uses the parent virtio,mmio interrupt? > > Kind of, yeah, but not necessarily. > > The interrupt information is passed over buffers shared between host and guest. > Now the guest may process the buffers when it receives a notification from the > host, that will be at downpath of an interrupt for virtio,mmio. Or the guest may > poll on the virtqueue and process any buffers as soon as they are made > available, no interrupts then. Okay, thanks for the explanation. Reviewed-by: Rob Herring Rob _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization