Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4937BC61DA4 for ; Fri, 3 Feb 2023 10:18:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233382AbjBCKS5 (ORCPT ); Fri, 3 Feb 2023 05:18:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233374AbjBCKSW (ORCPT ); Fri, 3 Feb 2023 05:18:22 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDECA9D053 for ; Fri, 3 Feb 2023 02:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675419412; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+ousZpEK5jfyQ8iRq6Lou/eQvak4AKWvj409ge5GqF4=; b=iQq9ZWPgaeoZ1fPxVagJFnrW4vuOXi188J8nplsuPwA2Y7Hg4tp8UQWkHzjUKx/DyOA9kn 4pR3jzTfMvNK1UW5SMwQmdFVYY9k1G0EcV+Po4kAxQ49y6v6ybjpIf2E8ay+IPv/70gZRe d9nOoiRSlpBRRbPf3l88yyN2tOx8FCM= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-571-k4lBzCrsOiqVtKr2v7ai-A-1; Fri, 03 Feb 2023 05:16:51 -0500 X-MC-Unique: k4lBzCrsOiqVtKr2v7ai-A-1 Received: by mail-ed1-f70.google.com with SMTP id n17-20020a056402061100b004a3f32cc366so3310659edv.20 for ; Fri, 03 Feb 2023 02:16:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+ousZpEK5jfyQ8iRq6Lou/eQvak4AKWvj409ge5GqF4=; b=Fe26uOo4JuQiS22TU3DWwJHV69au7Bmgn0P4phF7CZLVTMkuxV1pW2o6Txezxnmz2v B6n+CUpytmaRs2f1E1eF1Cg5X+87YzwZL3gI5JdafVj2fTgOPPR3YdL4eCv6O4OVUoLk LL1DIaoIXKuM1Z17uPz+8H1uao91HrgHA6MbwdwfByyfJCtlkUGmGSU41kbxerjqSzM5 Y6yAmj/6LopyQ9mIH2sqJjRvTkmXuHCzyE9q9PHuew6gM2CZe7l+u103RDJlL0rmn4Rr YY6q4oSk8H3tsTs6HxtwkYLLRmy2kVpGU892fhjbWj6wpUtezyCAZW+bu3W08KdvKNDa Db/A== X-Gm-Message-State: AO0yUKV0DYO9kYwOVyg2XRdbUB1m8nPZKkH1DRY/Ah+Gsd5BUo03oMRf 7jLS+PQF28az+3Dc3wn5olxr+PIrUwEEAeP2y/XE9Q14FkMLDIiabCkKAD4gmRQIn8Xhz0GwC/G lIEwB88do2Y1JsNwV6Y0Z9ALp X-Received: by 2002:a17:907:6d17:b0:88d:ba89:1843 with SMTP id sa23-20020a1709076d1700b0088dba891843mr5270787ejc.20.1675419410281; Fri, 03 Feb 2023 02:16:50 -0800 (PST) X-Google-Smtp-Source: AK7set/pKRk6MAe68cqpo58de4wljRgyqSUUvcGRqEx82KpgViv3orGBmWcoaFTcA1tHf3+p9hR8NQ== X-Received: by 2002:a17:907:6d17:b0:88d:ba89:1843 with SMTP id sa23-20020a1709076d1700b0088dba891843mr5270773ejc.20.1675419410082; Fri, 03 Feb 2023 02:16:50 -0800 (PST) Received: from redhat.com ([2.52.156.122]) by smtp.gmail.com with ESMTPSA id cw20-20020a170906c79400b008787c8427c1sm1139542ejb.214.2023.02.03.02.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 02:16:49 -0800 (PST) Date: Fri, 3 Feb 2023 05:16:45 -0500 From: "Michael S. Tsirkin" To: Shunsuke Mie Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Kishon Vijay Abraham I , Bjorn Helgaas , Jason Wang , Frank Li , Jon Mason , Ren Zhijie , Takanari Hayama , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [RFC PATCH 1/4] virtio_pci: add a definition of queue flag in ISR Message-ID: <20230203051445-mutt-send-email-mst@kernel.org> References: <20230203100418.2981144-1-mie@igel.co.jp> <20230203100418.2981144-2-mie@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230203100418.2981144-2-mie@igel.co.jp> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 03, 2023 at 07:04:15PM +0900, Shunsuke Mie wrote: > Already it has beed defined a config changed flag of ISR, but not the queue > flag. Add a macro for it. > > Signed-off-by: Shunsuke Mie > Signed-off-by: Takanari Hayama > --- > include/uapi/linux/virtio_pci.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/uapi/linux/virtio_pci.h b/include/uapi/linux/virtio_pci.h > index f703afc7ad31..fa82afd6171a 100644 > --- a/include/uapi/linux/virtio_pci.h > +++ b/include/uapi/linux/virtio_pci.h > @@ -94,6 +94,8 @@ > > #endif /* VIRTIO_PCI_NO_LEGACY */ > > +/* Ths bit of the ISR which indicates a queue entry update */ typo Something to add here: Note: only when MSI-X is disabled > +#define VIRTIO_PCI_ISR_QUEUE 0x1 > /* The bit of the ISR which indicates a device configuration change. */ > #define VIRTIO_PCI_ISR_CONFIG 0x2 > /* Vector value used to disable MSI for queue */ > -- > 2.25.1