From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cF23uCnb" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33FE219B2 for ; Wed, 29 Nov 2023 01:47:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701251236; 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=8FUL7xaq2WNQBPHMTY8ZTJkkLmUhL7UnsbnYobOmCzM=; b=cF23uCnbDgtBVu/PFjh4DnfmKASshe8nXxLYBnt49brIdjx1mpRO8XsQ5JU9hk6zk1DC+z QDQzqCRUbBOooxBkQmXJDgBQ507MCo0KE3fB/HlsNX71mAbyu8ljKscxUr5X2ci8jEDb94 bPZTxEFX9/tNzcRBfXaBGkUPwBuevZw= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-260-gL1iTx8XPcKGF33tUvC4RQ-1; Wed, 29 Nov 2023 04:47:14 -0500 X-MC-Unique: gL1iTx8XPcKGF33tUvC4RQ-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a0d66bf14d9so303770766b.0 for ; Wed, 29 Nov 2023 01:47:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701251233; x=1701856033; h=in-reply-to:content-transfer-encoding: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=8FUL7xaq2WNQBPHMTY8ZTJkkLmUhL7UnsbnYobOmCzM=; b=wbCynE9BVQoKVu2WNPxKEeP1NtL9QnBS2ugUPks6F5Yi1oSLemvaGcHbCfOo5BqEY+ +zL20pv9JSaLjAYt2u5aOqqvoXWwR3EGkutkuq4gDnr7frbWDB1O5EVfnxUpYBhftfhQ XDNN+AOB7YQ52rfKgFHgHvSUcCNFALDyPiT89uLZaUVqU0HNsiDzHPaaLqMlUNvzGZVM 3acXZ9y0xTgDWKg4YvCKuchmeQJcH9N8iIMcX6mAUkm67SL6Ft6VtlJXxmtI+NuLK/5e /FSMGX9hipFVw6yyuvi++C3rZ8S/oUyN+oN6BktPxAv2l9qpqAEGX5l3kkq1AHfRR5RS QnjQ== X-Gm-Message-State: AOJu0YxO3QfooSVdmLrVpaNYd95SE39Ds+HFTr+EGtqBcs12z6DVl0n1 wCShJnSYiI78BDvpKc3zNmLYgdmzTotHnvKi0KM/rzizt3nmEoLL1oLJ1ummgyFFNjGayrRI2lj sW+K4+dQqLLod+fWw X-Received: by 2002:a17:906:5349:b0:a0a:391d:2dad with SMTP id j9-20020a170906534900b00a0a391d2dadmr13424752ejo.75.1701251233281; Wed, 29 Nov 2023 01:47:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcdjDb3B9JI1PiGSAemY+jsGIUrA/1PnJLVzsoGUWFBHqpyAnt/MTb5gBPxFzfJMBSJ9M+Hw== X-Received: by 2002:a17:906:5349:b0:a0a:391d:2dad with SMTP id j9-20020a170906534900b00a0a391d2dadmr13424728ejo.75.1701251232928; Wed, 29 Nov 2023 01:47:12 -0800 (PST) Received: from redhat.com ([2.55.57.48]) by smtp.gmail.com with ESMTPSA id s8-20020a170906454800b00997d7aa59fasm7810806ejq.14.2023.11.29.01.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 01:47:12 -0800 (PST) Date: Wed, 29 Nov 2023 04:47:08 -0500 From: "Michael S. Tsirkin" To: "Ning, Hongyu" Cc: xuanzhuo@linux.alibaba.com, Linus Torvalds , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, eperezma@redhat.com, jasowang@redhat.com, shannon.nelson@amd.com, yuanyaogoog@chromium.org, yuehaibing@huawei.com, kirill.shutemov@linux.intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, alexander.shishkin@linux.intel.com Subject: Re: [GIT PULL] virtio: features Message-ID: <20231129044651-mutt-send-email-mst@kernel.org> References: <20230903181338-mutt-send-email-mst@kernel.org> <647701d8-c99b-4ca8-9817-137eaefda237@linux.intel.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <647701d8-c99b-4ca8-9817-137eaefda237@linux.intel.com> On Wed, Nov 29, 2023 at 05:03:50PM +0800, Ning, Hongyu wrote: > > > On 2023/9/4 6:13, Michael S. Tsirkin wrote: > > The following changes since commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c: > > > > Linux 6.5 (2023-08-27 14:49:51 -0700) > > > > are available in the Git repository at: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus > > > > for you to fetch changes up to 1acfe2c1225899eab5ab724c91b7e1eb2881b9ab: > > > > virtio_ring: fix avail_wrap_counter in virtqueue_add_packed (2023-09-03 18:10:24 -0400) > > > > ---------------------------------------------------------------- > > virtio: features > > > > a small pull request this time around, mostly because the > > vduse network got postponed to next relase so we can be sure > > we got the security store right. > > > > Signed-off-by: Michael S. Tsirkin > > > > ---------------------------------------------------------------- > > Eugenio Pérez (4): > > vdpa: add VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK flag > > vdpa: accept VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK backend feature > > vdpa: add get_backend_features vdpa operation > > vdpa_sim: offer VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK > > > > Jason Wang (1): > > virtio_vdpa: build affinity masks conditionally > > > > Xuan Zhuo (12): > > virtio_ring: check use_dma_api before unmap desc for indirect > > virtio_ring: put mapping error check in vring_map_one_sg > > virtio_ring: introduce virtqueue_set_dma_premapped() > > virtio_ring: support add premapped buf > > virtio_ring: introduce virtqueue_dma_dev() > > virtio_ring: skip unmap for premapped > > virtio_ring: correct the expression of the description of virtqueue_resize() > > virtio_ring: separate the logic of reset/enable from virtqueue_resize > > virtio_ring: introduce virtqueue_reset() > > virtio_ring: introduce dma map api for virtqueue > > virtio_ring: introduce dma sync api for virtqueue > > virtio_net: merge dma operations when filling mergeable buffers > > Hi, > above patch (upstream commit 295525e29a5b) seems causing a virtnet related > Call Trace after WARNING from kernel/dma/debug.c. > > details (log and test setup) tracked in > https://bugzilla.kernel.org/show_bug.cgi?id=218204 > > it's recently noticed in a TDX guest testing since v6.6.0 release cycle and > can still be reproduced in latest v6.7.0-rc3. > > as local bisects results show, above WARNING and Call Trace is linked with > this patch, do you mind to take a look? Does your testing tree include the fixup 5720c43d5216b5dbd9ab25595f7c61e55d36d4fc ? > > > > Yuan Yao (1): > > virtio_ring: fix avail_wrap_counter in virtqueue_add_packed > > > > Yue Haibing (1): > > vdpa/mlx5: Remove unused function declarations > > > > drivers/net/virtio_net.c | 230 ++++++++++++++++++--- > > drivers/vdpa/mlx5/core/mlx5_vdpa.h | 3 - > > drivers/vdpa/vdpa_sim/vdpa_sim.c | 8 + > > drivers/vhost/vdpa.c | 15 +- > > drivers/virtio/virtio_ring.c | 412 ++++++++++++++++++++++++++++++++----- > > drivers/virtio/virtio_vdpa.c | 17 +- > > include/linux/vdpa.h | 4 + > > include/linux/virtio.h | 22 ++ > > include/uapi/linux/vhost_types.h | 4 + > > 9 files changed, 625 insertions(+), 90 deletions(-) > >