Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4457527rdh; Wed, 29 Nov 2023 01:59:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdStjfEhnPMKDgRYCOZpT7SLM04QdavZw9TIQa8HFy6kjfJBEYKlXOkal1WlWqKdDA2ZDi X-Received: by 2002:a05:6358:528a:b0:16d:fb2b:7463 with SMTP id g10-20020a056358528a00b0016dfb2b7463mr20816530rwa.1.1701251940321; Wed, 29 Nov 2023 01:59:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701251940; cv=none; d=google.com; s=arc-20160816; b=iLXCLHNjYsufYGLIjA1FmwnaeWF7Ecf6u5ev91PUNeSlpdEtgJhI3fm7g3YIXhyr68 wlEUe5UF0fhjk3zSLAxEHp2a4nCAcpYPOyAzCHBIJad3x3rZnpo12soBQvnR/4Enop0X R20jWOdsF0O6rUjhDzA1HoOv3zfPX15GRBOA6En11ZDZHHh733YiArHv/BIOQfHNc8Rc vNsTEvtqav5DkHCsnZ1mJ3eDUDBjDP0M5iC9o3bt/qWdei2ww3P8CsGabTwjXZ+CF/d4 3gSCfV5OgH8jdodaEHwFLzTpddHBr2OHrf2mfgJ+1oDJZsBqf2tDloeLroDK24CULJ5r STDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Atf7/rEtOX4lJeT+Af5SELSOQj4+rYzvJqVAJqQZJCY=; fh=XqAOvmTVD+IUKaep4U/B2W197IIa+o+dCW4qMqxrSFQ=; b=kHBRHl7JCheSmc0LeQrhrlGDLTkYXFmrEyuTEPnzzoMAZa1nHY4EPoy2fc4fOV7s1A X7+HYP1GqYR82EQnK7k2alaavMvPGZgHIyHskWNXohGVYIcCmvyFoiHTDHXtuKL8Ee86 oiCqry1Brsx6sZP4sa2q6rPsHWJLnhkXwcOXKUyazoyA3TywwkCjM8FPR0tVfAOqo+jG ckTqbb6mLwWhf8b3GW/4L4gDwfdeKqjrzglJl+JsmrZq8rQsyKjeitaS1LynoasxCvox b35x1aJtlK+YJ84r3KSWFe8t3lIQrPX8PE06tWydRaVqzMqM6q+alyDxfGR94790C3n0 gZaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GC2U2U9i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k7-20020a63f007000000b005a073e0cc9asi13841335pgh.803.2023.11.29.01.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 01:59:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GC2U2U9i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0487980C5919; Wed, 29 Nov 2023 01:58:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbjK2J6j (ORCPT + 99 others); Wed, 29 Nov 2023 04:58:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjK2J6i (ORCPT ); Wed, 29 Nov 2023 04:58:38 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E26421AD; Wed, 29 Nov 2023 01:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701251925; x=1732787925; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=KucyGOqn1JyY5SGZU0/6/92QdqJqjUgPNGv4D39cu0s=; b=GC2U2U9inwPhS8hiZZKKEXCAF306qghe0/6TiJj+iTfgSFeNPy7QIUKa 7+GQznJgKFDlDMlSXqKS5bngfUWAgq3OVpR1c8SR42h6MAmZZscABVmye +vgXfBCBKSfZF0YE8aXkW/EXaaHi4UkrKEOhAbqOF+xGhxPjE6N2q2D/d V76nEHmQqjVpZSN/HgYHmoZuJJW8MHgXavSS+wm/FhHWBFInESNiXfNfI S2AM3weLY0tLsERBqCusKJ3RwFqqbThCtWDWRwaohzEcR9xlqubSm6gu7 sGKKCkHyKMlYhuXU+TzSXH7YhA0adxLdPnO89PrC7c4nrefguY9shxhDG A==; X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="383530941" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="383530941" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 01:58:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="10276578" Received: from hongyuni-mobl.ccr.corp.intel.com (HELO [10.238.2.21]) ([10.238.2.21]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 01:58:32 -0800 Message-ID: <6d3e9993-4d5a-47fc-aef5-d6c14dee4621@linux.intel.com> Date: Wed, 29 Nov 2023 17:58:20 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [GIT PULL] virtio: features To: "Michael S. Tsirkin" 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 References: <20230903181338-mutt-send-email-mst@kernel.org> <647701d8-c99b-4ca8-9817-137eaefda237@linux.intel.com> <20231129044651-mutt-send-email-mst@kernel.org> Content-Language: en-US From: "Ning, Hongyu" In-Reply-To: <20231129044651-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 01:58:59 -0800 (PST) On 2023/11/29 17:47, Michael S. Tsirkin wrote: > 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 ? > yes, it's included: 5720c43d5216 virtio_net: fix the missing of the dma cpu sync >>> >>> 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(-) >>> >