Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3833937rwr; Sun, 7 May 2023 21:26:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7l130LnPskWV9ylowH16F0+1e3fC099FN9pk/g4KAtg5XZFNoOsboPo3FqFMGFNusr+UIh X-Received: by 2002:a05:6a00:88b:b0:644:18fe:91cc with SMTP id q11-20020a056a00088b00b0064418fe91ccmr6978595pfj.12.1683519983709; Sun, 07 May 2023 21:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683519983; cv=none; d=google.com; s=arc-20160816; b=SGwNXnoiFHSNYSnQsvGr9x/6Yl7NxNcaOG4xuLZmV1UyxU+hVcLFBtfBcXFQ3VeHZ2 OCjePW4ifXlNGHVryRZqafE/IqWxxW5GyBLWWpio2F3aziuD3aneO74rRpRbeBzt3NAb kSssnV00sLIY1aEfNl2r/glsk+RAwFvB+IvZ8Q/CxNLPPy4RIUKPBKsmvR9s0oHAk3h7 gFiZ5tyCmpYQ/Dbm8a2b5i9J5MZ7TgvlSgEEKD5hLV/NZlP7GWhwp50WnmDnh0rAJVLP L7iBkJfDLVaQtiJeMQZw5brBc/hE8nxi8v30HC9hIalKjJ41nuNt5FKAJWwn9NUAka6B ecpQ== 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=yhV1HCZuC1ykzH7ZXQCmd5NhspBHpB8ROhzdIJyNs4g=; b=UwwQi86KcXf4Ex0kiakC43cxCdn2TICoW1rajuuH2CQMTYCpA2faT0yKkOhLAGE+vO 7kZs/vWP1CbvIizP3E554tAZjkqjfAiQawEwYCT2FXUQZF+PAUZsZJeUxjoh4ewJ9KTU rtxnXe43uMjGj8+CRcy7BnVfTUA5F5sAvCWiHDbqv8AFqDWdqctsS1G5k0cBXyhBUx9J TQ6CktojuHSJfqfwXz2u+aY4/SnroRGWd9mwTFoBY270J4emb3ex1FEEkGolTd1MqJJG 8wtFmxJWH8YG1gXEzb52pxhb1fxwIQ8tZFx+D+w2NtByQJQB7si/1uVKr4Uhyj21JyPm EnTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=i9NKIxm9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o8-20020aa79788000000b00640d906a8f3si7549546pfp.245.2023.05.07.21.26.07; Sun, 07 May 2023 21:26:23 -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=@redhat.com header.s=mimecast20190719 header.b=i9NKIxm9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232234AbjEHEAK (ORCPT + 99 others); Mon, 8 May 2023 00:00:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjEHEAJ (ORCPT ); Mon, 8 May 2023 00:00:09 -0400 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 47643618B for ; Sun, 7 May 2023 20:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683518355; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yhV1HCZuC1ykzH7ZXQCmd5NhspBHpB8ROhzdIJyNs4g=; b=i9NKIxm9wjRVgzOxeOhnXXuHwwn+x1WJpYWPE9F+aTOq7XB9tcTL9s2WnO0voTWSN6/gCe s8KY33+lBHqlXlcKwr63jkozOiJktu70UfinbHZEXyF3Wpt6k6ZMyfX2CTRLa3NENZYzZG 2mIvXJmsjJcwbpTYVK4TPxmzHvYBAAc= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-539-enCLMK7yPo291kSpWsZyag-1; Sun, 07 May 2023 23:59:13 -0400 X-MC-Unique: enCLMK7yPo291kSpWsZyag-1 Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2ac7c596692so20262141fa.0 for ; Sun, 07 May 2023 20:59:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683518352; x=1686110352; 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=yhV1HCZuC1ykzH7ZXQCmd5NhspBHpB8ROhzdIJyNs4g=; b=gEngARNyqbbwlj+IMU06tL4Tg1zRi/ube4NspCXtdSS7KsBi6XGR0OzJa+x6A1g+aG zBhFZxa0jIOJMQTE6qJ+1V9llakGYra/9576imO28xE7MhmqNLB2/y08dwxz6zr4+odQ UWzIC5H6NRqg+C0w4PahErz+80t3/Umqk8fEXC7NoFc8W5dLQpINTrAIHuIrD8oVE6Hr Qt5HaGOARRyky1o1j1wban384fJdCBcr4ybE4iPnw9lKzhHDA/FKiucl9KKPDnqZWxoh tj9p2i6FrDD6A0VuZLBITduG7uI3k1C5dp8Y9hMzx0zFopzElkhyqVE7D975Q75TIfUz 6Vnw== X-Gm-Message-State: AC+VfDxmbh6NpR0msscpjfp7vOAEQ+BGq/zScgH6pvctqhtCREEe0aE3 X0h6UEMWIsQLcZyo2mIp2KXIoIW5IZfnEmiRREsgWCbirs7QxFxeiP3WhJR9Ga0Z3q6anTFwvWq yW1Q60AoC0E2Bd7+nn9gMQGdZR/ET6RH/6YpIFN1N X-Received: by 2002:a2e:9a8c:0:b0:2a8:d021:4121 with SMTP id p12-20020a2e9a8c000000b002a8d0214121mr2603309lji.26.1683518351981; Sun, 07 May 2023 20:59:11 -0700 (PDT) X-Received: by 2002:a2e:9a8c:0:b0:2a8:d021:4121 with SMTP id p12-20020a2e9a8c000000b002a8d0214121mr2603307lji.26.1683518351704; Sun, 07 May 2023 20:59:11 -0700 (PDT) MIME-Version: 1.0 References: <20230427104428.862643-1-mie@igel.co.jp> <20230427104428.862643-3-mie@igel.co.jp> In-Reply-To: <20230427104428.862643-3-mie@igel.co.jp> From: Jason Wang Date: Mon, 8 May 2023 11:59:00 +0800 Message-ID: Subject: Re: [RFC PATCH v2 2/3] virtio_pci: add a definition of queue flag in ISR To: Shunsuke Mie 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Thu, Apr 27, 2023 at 6:44=E2=80=AFPM Shunsuke Mie wrote= : > > Already it has beed defined a config changed flag of ISR, but not the que= ue Typo should be "been". > 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/virtio_= 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 >