Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp451107rwr; Thu, 27 Apr 2023 03:53:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6VusR2cXN5yEUIuOfG0CuKQR2E9y4NZMABA1Ni9K2JX8gH2fD8l1/ylLkAm5i1/vOOgPe3 X-Received: by 2002:a05:6a21:3393:b0:f5:9f72:1aa2 with SMTP id yy19-20020a056a21339300b000f59f721aa2mr1583893pzb.6.1682592803807; Thu, 27 Apr 2023 03:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682592803; cv=none; d=google.com; s=arc-20160816; b=axV5bkXgqBoJ0h72o4I5NKbqjBxel0ZWnQwv4C0F4vmQb4bHqsr26fMSTeDOC+BVyj +Hk1TLrnVMQBvCjLQgTQglf4IkOX0sG3aw+uW5WjKsFmWEjGA2vDbQM6L/u1tsVkKqbD GeY+KUlpG6fzU+9Aj7wS6h1OUn90mPHULAdEHOVhXqiWBU72mf4aivTaxePDRPNMAUO+ HcJ9JKdmOefms366jgbn6cTaFtrlF/A+m8MeUKvh5WD0WaEImxlcFaFDyjZ34PsIJK0W XxclUu3qDcQTYASi+Vit3P/jhIrBfql7roVEIEFtnDk+yEAxxRbY2fwDAMl+B7gDebN2 J0Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fuOjoATSwNwQ5isXLaWbsITf7ep/YO9eHaGnk3Xv1+k=; b=M8GmJrxnhjkStzY7Pm4XL1B1ZFGxMWdWgwsLaWUxvgU9gbyWMpQPKJdbsIx6yF41e2 weF5tmEMZGoqeeq4wwemhF1gHfXtN9YF/CcZBQeMok/raaZbd7YC+hiOkdHHLB2IQ2+H XlKRLFWYWOqSBsa3QGhdYDqemfAvWQyq51SAuSrJ2Ud3SM7CIjWAxyu8O2rMpHa3vhH0 xJqKvQSsanbIAJ2TOYUsptFXwKnQuYpIcsoNUvuFPiWR3Wtv3hAKUKZGq2RaGWHiuNop EZ43dplQ4LWoWLd/NQiJNoUy+N9kB1L+OxBTwven7M5c32dN/AsvkBXEMsZKHPY+dEfQ 0LNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@igel-co-jp.20221208.gappssmtp.com header.s=20221208 header.b=hYqAufa4; 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 x8-20020a17090aca0800b002472a818166si20879765pjt.96.2023.04.27.03.53.10; Thu, 27 Apr 2023 03:53: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=@igel-co-jp.20221208.gappssmtp.com header.s=20221208 header.b=hYqAufa4; 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 S243605AbjD0Koy (ORCPT + 99 others); Thu, 27 Apr 2023 06:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243607AbjD0Kos (ORCPT ); Thu, 27 Apr 2023 06:44:48 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55FAF524F for ; Thu, 27 Apr 2023 03:44:46 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-63b52ad6311so9663717b3a.2 for ; Thu, 27 Apr 2023 03:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igel-co-jp.20221208.gappssmtp.com; s=20221208; t=1682592286; x=1685184286; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fuOjoATSwNwQ5isXLaWbsITf7ep/YO9eHaGnk3Xv1+k=; b=hYqAufa4TE3E13v6DVzZqXL2LgZM3tGhzXzeC/RXQWeCPnDroXtW4401AHTsakrrdT YpglWLsLyen3dm0MQ1ZSumQ35y/2jEcCxe5PxefBZJNacdGnp2pc/+KWPC4QsPUeDezv OIkYvSC1wmhp4a7aDsv9swfYcTz3yay3GKiwRKLY+yFiT3ntA88bIc+wIWiTWy8uIY7+ au0hiN//H59a1eX/a9u2DyAFGu4VWjqACeWmAV6pKzl+Pa+1/xEytXMTRBlMcaF4vRBU iG618MyM93PzNbUfej9In1yxqCTt5tmKV7cX6D1WkwqMTf6/zlT9scMIMmP2C5MediIO AVFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682592286; x=1685184286; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fuOjoATSwNwQ5isXLaWbsITf7ep/YO9eHaGnk3Xv1+k=; b=J8U2EBuJI6S/J/3qQPrcxGG6AvVmx3HbpfWtoFjrzveuTA0LYMCuLTKrjqe7SMw2xk mgHQ5+IZ7TE5JfXpUwFemPrGxW4lbS6XXtqgWkRUC9yRsNhHMhpsv0IffT8Wy6GN+Rsr 4NRIbGfgsyHPXTPvmMx0huy+6olEa6I4lGf95rJpyHMy5tD2Y5wP0q+pXm52ORTnrKwW yVLokOTvYyd4Dx4aTF/huVuDnSWvUXr1ijGvou+p8nz6W+LJf8gGEJti5akaHbKQ0EqS lp3uMib/2YZDyQrkOp9jmFzcTNmnCvk1ojgaX4IeTgjPeqk4WcfU1C5opGp61nqXqmTF TZkA== X-Gm-Message-State: AC+VfDyrPIp24y+93qT9cPtCvd4BqQIV69AZvV/sLX0Iceqok5N74Nav P/1NQxeAoAjPRqjlQjGyg9/VVg== X-Received: by 2002:a05:6a20:3c8b:b0:f2:93b7:a452 with SMTP id b11-20020a056a203c8b00b000f293b7a452mr1632523pzj.4.1682592285840; Thu, 27 Apr 2023 03:44:45 -0700 (PDT) Received: from tyrell.hq.igel.co.jp (napt.igel.co.jp. [219.106.231.132]) by smtp.gmail.com with ESMTPSA id b3-20020a631b03000000b0050f93a3586fsm11029042pgb.37.2023.04.27.03.44.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 03:44:45 -0700 (PDT) From: Shunsuke Mie To: Lorenzo Pieralisi Cc: =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Manivannan Sadhasivam , Kishon Vijay Abraham I , Bjorn Helgaas , "Michael S. Tsirkin" , Jason Wang , Shunsuke Mie , Frank Li , Jon Mason , Randy Dunlap , Ren Zhijie , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: [RFC PATCH v2 2/3] virtio_pci: add a definition of queue flag in ISR Date: Thu, 27 Apr 2023 19:44:27 +0900 Message-Id: <20230427104428.862643-3-mie@igel.co.jp> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230427104428.862643-1-mie@igel.co.jp> References: <20230427104428.862643-1-mie@igel.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=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 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 --- 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