Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6696071rwr; Tue, 9 May 2023 20:21:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4QOvMeyfOO7Q0ifkXJRJgJ7FUv9omjvk6iOI+jkHVVokem8SmnEkctso3PGnJhJZv/rCHF X-Received: by 2002:a05:6a20:3d89:b0:101:cf58:e666 with SMTP id s9-20020a056a203d8900b00101cf58e666mr2257390pzi.56.1683688895739; Tue, 09 May 2023 20:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683688895; cv=none; d=google.com; s=arc-20160816; b=BXETILZQVmJQmzJHW3MBjtAmWvjizY2MJpi9UG+LyeWjdOCvBj1+01x+N9tjtz2Rqf +qeSnfL/pUFLB5wCnr6FSFd+MVlpKtxW+yZG3RG7kpWp2ff7gw7AE4pLtYX8XylRdcXK aVJA5dp+CM/7dp6TmZnVIWz4srFSP7vL38rzq0u4+onNt+oX671wP4Teo54HbBFFV45h jqtqy1mS5M1DPu/vLFwrXI8QDm/O8Fi5WbrKty4uttRHsmrFHf0L8SPbXh/Hy1ibZYd6 oc5xftRfnihTTfzsOecPHcBOH87wstajnTVD/oabt5y/6qrQL+tMFSW4EhV9BP+KfsBN uTIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=d7gD7+x3M2lMQt2g9rV9OyZXiOG/DE38IBsOisXuZLY=; b=Hze7F37gMQqy9SW9JpAaH3xViJmggnW/P6fvPZbV113Xt2ZvXdghppOLlXU8jmBHXT g2hXxtQzpl3Ojti4DRmOdcLEm3i5QtUqhHg6OHsAV/VRO5IhSs88ZUXcnYI8Bk85eItb rVSClxWXi5fSHjatAl7Jr78lhb9IsIblM2c2Cb0Gv5Inxjx0kpArcFqeHdfdGh6HyD6B qPT18SamUML3OFDuzU+CVgvIW7FGN6oGoOasZAa3Hc3dZ358FtXmoie+X9eY7+AZlZv5 tSB3uS5fJao3vbFW3d3CFzijSoDW9bejEHm8vW9LyGRrH84J7+2nEVBW2N2T7rxAiz4S ui9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@igel-co-jp.20221208.gappssmtp.com header.s=20221208 header.b=KvWydDMn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020aa796ac000000b0064375752593si3855656pfk.254.2023.05.09.20.21.20; Tue, 09 May 2023 20:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@igel-co-jp.20221208.gappssmtp.com header.s=20221208 header.b=KvWydDMn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235243AbjEJDTT (ORCPT + 99 others); Tue, 9 May 2023 23:19:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235352AbjEJDTE (ORCPT ); Tue, 9 May 2023 23:19:04 -0400 Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 611EE35A5 for ; Tue, 9 May 2023 20:19:02 -0700 (PDT) Received: by mail-vk1-xa2b.google.com with SMTP id 71dfb90a1353d-4501f454581so2948333e0c.3 for ; Tue, 09 May 2023 20:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igel-co-jp.20221208.gappssmtp.com; s=20221208; t=1683688741; x=1686280741; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=d7gD7+x3M2lMQt2g9rV9OyZXiOG/DE38IBsOisXuZLY=; b=KvWydDMnRtJdsKe4qf+mMK78hgIVcJbnCIuEGwuLWD0HDDHLUFJ6ue0n3u1wGl3Sxx nniF0EBWidPaRiv0P8NoqkgBX9aV/j42Ph6I/hLd3zRFrkcEqEYpi5Uet4EEO6be2DJ/ gZlSacl5KDJ8cAVfj/Cg6wJ8sVoh2IPCKYCaM/eb2ER12Zef8HrUr2bEzgA3vCeyS3jz JWLIFAX3CVkPt/mA4Kwr02oXSvRpXDBSoHrPW2kjeiNPyea5QiO85jNkQXKV5w4nDjvD 41J+I/gmQo6bLF2vQz2V6z1dvK8AvDl+AnmmZhzv9c18+ToJuWNS6cduB+zVgBBTWosk 3iPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683688741; x=1686280741; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d7gD7+x3M2lMQt2g9rV9OyZXiOG/DE38IBsOisXuZLY=; b=WUt3uJ5153J+3JOW9H6uheiEIXvi4ljAB6jYNCo2pcgUy7HvY/lKElVxYepymUzMgg k6PhAeaDy5jK3kSlzdv8XE4fJJleBW7C97xT/xWV83i51/M6VJK6Scc6jsgQcq/Y/18x B77rw3TnyWEYO0mxmeV9wqIAVEKRLct8mkikPlt0FY8Ku3B2LT8onCZ6HaxdzC2VSUwf 1ns5/8Dlrr2a8SWPuWEq6igiTi6Is/k7y/RNGSmIGuPq7mtrIie9+l69FMihG0Ki5a0Z VTMB4vyrWEW21vhhhSgCi5lp+FUUdAcYNqpzKe0cRJK6pY9fIR7xp8q588DhslqJfdDA 6YWw== X-Gm-Message-State: AC+VfDyaaVtwwRVOkIAm2RYF2SO/GnrpU4FqhbsnxreCNenJJvqRtOME NRmx8I1x/OxgMB8VIVa7FM+m9lC4H0FD0CNv/nqrcQ== X-Received: by 2002:a1f:4b83:0:b0:44f:cf0e:dbcf with SMTP id y125-20020a1f4b83000000b0044fcf0edbcfmr4739973vka.11.1683688741398; Tue, 09 May 2023 20:19:01 -0700 (PDT) MIME-Version: 1.0 References: <20230427104428.862643-1-mie@igel.co.jp> <20230427104428.862643-3-mie@igel.co.jp> In-Reply-To: From: Shunsuke Mie Date: Wed, 10 May 2023 12:18:50 +0900 Message-ID: Subject: Re: [RFC PATCH v2 2/3] virtio_pci: add a definition of queue flag in ISR To: Jason Wang Cc: Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Manivannan Sadhasivam , Kishon Vijay Abraham I , Bjorn Helgaas , "Michael S. Tsirkin" , Frank Li , Jon Mason , Randy Dunlap , Ren Zhijie , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2023=E5=B9=B45=E6=9C=888=E6=97=A5(=E6=9C=88) 12:59 Jason Wang : > > On Thu, Apr 27, 2023 at 6:44=E2=80=AFPM Shunsuke Mie wro= te: > > > > Already it has beed defined a config changed flag of ISR, but not the q= ueue > > Typo should be "been". Thanks for pointing that out. > > flag. Add a macro for it. > > > > Signed-off-by: Shunsuke Mie > > Other than this, > > Acked-by: Jason Wang > > > --- > > include/uapi/linux/virtio_pci.h | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/include/uapi/linux/virtio_pci.h b/include/uapi/linux/virti= o_pci.h > > index f703afc7ad31..d405bea27240 100644 > > --- a/include/uapi/linux/virtio_pci.h > > +++ b/include/uapi/linux/virtio_pci.h > > @@ -94,6 +94,9 @@ > > > > #endif /* VIRTIO_PCI_NO_LEGACY */ > > > > +/* Bits for ISR status field:only when if MSI-X is disabled */ > > +/* The bit of the ISR which indicates a queue entry update. */ > > +#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 > > >