Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp794844lqp; Wed, 22 May 2024 23:11:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXyjVJ0v6rXP0zUD62Qdx/8R5hhIluoP5CW1CPnOwUrmUy32RXF/EwglvXMm8RJnpkyrdIwmlObtNcj3x+FmTuWmKhR3ElRyjzF8vjBpA== X-Google-Smtp-Source: AGHT+IGq7dMAnFKqlKWKACpaU4H60p6WocYO5lN2sKgLPu1ZmZ63k/p32cvot2yCttna1Iscs1t1 X-Received: by 2002:a9d:7f03:0:b0:6f0:6da5:34f9 with SMTP id 46e09a7af769-6f66a3b2854mr4420053a34.23.1716444662454; Wed, 22 May 2024 23:11:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716444662; cv=pass; d=google.com; s=arc-20160816; b=taInNliivgj5/DXPdxypXD5W17Nd2EmZTd8OHOh7WQ2RVyGvBcghniwtGkUN5YTSFg RS8IQTc7n4muuKwSifD4kb1UFU+MbyB4TtUdAHs2Fc7mSo8DiMmNhVyRtGyKKNizqUld Az0v56V5EigZSd534Sy9hUFqv2tiwdNHCVkb9v+4J00U3LOsae2fMvl2UTAEfgd/1TfS NT2UJiUjgQkbnuK/U0jVbgOUMIuOHhd/eBLX2WHHvc7yeeRD8TPPw0dIiSuVaJJXxteW LjMR+Au4I6EMTs+2bs+3KVFFaCRwtJKgY7qrH9CqMptTrGr+GeH5c295XTMKN0QObc4h y3TA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id :subject:cc:to:from:date:dkim-signature; bh=yeUwdxW+9athxBr6SBuU13bYsy0ba7pdIdq8UligVLc=; fh=ydhMbigd+u5xBwC72mjD21jqwUFB8FYyH/UWHnx17xA=; b=soak33PXkg4zHXpzbZ3d/Zzo2SSPX1IqjXXQote8bchD1vxXk/cL/xk2ejTGi6P/Ku qt5zcCApZyzps6Nl+AMnnBuRi+hdx8RSVB0Vn+Rb1czgiccuehI/DxrAI/xL4Rwnwrqz jQHTVOYdVpXRdRflh4Ta8avPbgmwO8qz8KWE+qDJMnCrND/7SNVsKg7VnxlAKkHRCI6i NPtfdKWyxzsHTYov7V+b9KZpvh6N4i67mj/+4ga5EeMYiFfIFS9SPpdIAjQkaILgyEcl dVkgcCXvL5pVa5cd9jsnQEBGhNjoJw52HbU3ITCb6MqlH19nPT880jzVHXaon4OD+wln lb+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fAM1gbHA; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-187023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63412863d28si5058961a12.636.2024.05.22.23.11.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 23:11:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fAM1gbHA; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-187023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 44A7328389D for ; Thu, 23 May 2024 06:00:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2D2413B583; Thu, 23 May 2024 06:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fAM1gbHA" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DC7E47A7C for ; Thu, 23 May 2024 06:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716444032; cv=none; b=jR2FVWnulu7Jem6kFDGfa4n5dPKdzMpUqooydVAI6YmJsa43ngyR+NmvQkRsNCEAd3KvmNVjIXoDRUCF/z5vKoikKNontr5Qw7PLq3WOrrmWs0hz0etyiXWwanM7+YS1juM3Aj7q/ZF+AFwvh+7W2PbZCmAiclt5ij8CBfzI6vo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716444032; c=relaxed/simple; bh=Se4JJHuUK1YAcPMwJrWNIBI9Ci1nNIC9TTJtr6ON0KA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=k+K3FDtFAxJpAysWKCYHlTq0t9rIXYhJtcgSiwwNDk3umrv2h1XbotEQoLGjWsp50ewxSiIG/UMAacT6TVhTrHIy3JmBtgBi7A572zdgRzGpokZTFOiPSNmlB6kfKfRZsvgCmNy7GCqABW24Ohu1/xR6wa1d8Zupss6y04Alxc0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fAM1gbHA; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716444029; 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; bh=yeUwdxW+9athxBr6SBuU13bYsy0ba7pdIdq8UligVLc=; b=fAM1gbHAldiX+d8bGSYMGxW6Q5Cqnau4+9+hAc7s0dLxJKfMUf3BoaTLzhJJS8ITC18Uwb 4UgkuEf8uuTrShjZ38sT/PUg+B1STZi8UEbQTGuUzQE7UTX6HH7xJKbNwN0sJ55qzs+PxM GKg2/o/70neTe4CmTeiEvKwaxaITS6g= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-313-uIJilW3gPxmRhpqi9UJpgA-1; Thu, 23 May 2024 02:00:27 -0400 X-MC-Unique: uIJilW3gPxmRhpqi9UJpgA-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-34d7e948a41so8221095f8f.1 for ; Wed, 22 May 2024 23:00:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716444026; x=1717048826; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yeUwdxW+9athxBr6SBuU13bYsy0ba7pdIdq8UligVLc=; b=hOUTvdcZyRoukqVKruhc/Q6KOX32dv8DrXAz7i3pvtp5+xUW8AzlqP8q8HNj23tj+r CfOBo7zJqt04vFFHyaufoz1eqc5ubdECSI7hTrZViccYDlxTmEPUNAmTarrEBaiPEuIE KQVD74qROHf7+7K8JbPbez8m04eO4iz9tQ9XzZNZZRb4Q8BmqgPXtSIix428eNRE4CMQ 0rYicNC9PW8RsI1CimKuemebhvPI51W50t7lljReDdN/rYLwQ0UP3IyeGtBQPJGSif3r /9DjMQUiK0UigHAPybB1MvBU3K79+EnNLIsHVU7kcSj0Jt0OVSn3m/bAOWBSTD4V9SI+ ok0w== X-Forwarded-Encrypted: i=1; AJvYcCXX+34MK98cI1rTZ3weNaKqQiYarjtEtIz23/W8BpI/lpMfiEXeo7YiDw6ayOrEogaSV/JVl2+8HNGQailo9gQ5KxRZGvuFJQ/zWF3i X-Gm-Message-State: AOJu0YzOQqwd7i0yNbxONpBK2V+32bbEUKKatBMNZ6mG1uuvFH84rdGy 7zapogf23tI9sZ1Rfh3O5A1Qk5I+1U/Kl0OFu9I5bVlAlBZE3+trZTbvqL9s4+upMLgI7a4sZQs eFlMJCVDvxBSmQwIRkFl6BLPnm0HdzdzA0+lwFbn0BNM/YSXMfee6x3wiO8qdWQ== X-Received: by 2002:a5d:4104:0:b0:354:f2a7:97dc with SMTP id ffacd0b85a97d-354f2a79916mr2112175f8f.2.1716444025800; Wed, 22 May 2024 23:00:25 -0700 (PDT) X-Received: by 2002:a5d:4104:0:b0:354:f2a7:97dc with SMTP id ffacd0b85a97d-354f2a79916mr2112094f8f.2.1716444024784; Wed, 22 May 2024 23:00:24 -0700 (PDT) Received: from redhat.com ([2a02:14f:1f8:1442:5e01:de24:22c0:6071]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502b896a34sm35664458f8f.35.2024.05.22.23.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 23:00:23 -0700 (PDT) Date: Thu, 23 May 2024 02:00:17 -0400 From: "Michael S. Tsirkin" To: Linus Torvalds Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, anton.yakovlev@opensynergy.com, bartosz.golaszewski@linaro.org, christophe.jaillet@wanadoo.fr, dave.jiang@intel.com, david@redhat.com, eperezma@redhat.com, herbert@gondor.apana.org.au, jasowang@redhat.com, jiri@nvidia.com, jiri@resnulli.us, johannes@sipsolutions.net, krzysztof.kozlowski@linaro.org, lingshan.zhu@intel.com, linus.walleij@linaro.org, lizhijian@fujitsu.com, martin.petersen@oracle.com, maxime.coquelin@redhat.com, michael.christie@oracle.com, mst@redhat.com, sgarzare@redhat.com, stevensd@chromium.org, sudeep.holla@arm.com, syzbot+98edc2df894917b3431f@syzkaller.appspotmail.com, u.kleine-koenig@pengutronix.de, viresh.kumar@linaro.org, xuanzhuo@linux.alibaba.com, yuxue.liu@jaguarmicro.com, zhanglikernel@gmail.com, Srujana Challa Subject: [GIT PULL v2] virtio: features, fixes, cleanups Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@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 Things to note here: - dropped a couple of patches at the last moment. Did a bunch of testing in the last day to make sure that's not causing any fallout, it's a revert and no other changes in the same area so I feel rather safe doing that. - the new Marvell OCTEON DPU driver is not here: latest v4 keeps causing build failures on mips. I kept deferring the pull hoping to get it in and I might try to merge a new version post rc1 (supposed to be ok for new drivers as they can't cause regressions), but we'll see. - there are also a couple bugfixes under review, to be merged after rc1 - there is a trivial conflict in the header file. Shouldn't be any trouble to resolve, but fyi the resolution by Stephen is here diff --cc drivers/virtio/virtio_mem.c index e8355f55a8f7,6d4dfbc53a66..000000000000 --- a/drivers/virtio/virtio_mem.c +++ b/drivers/virtio/virtio_mem.c @@@ -21,7 -21,7 +21,8 @@@ #include #include #include +#include + #include Also see it here: https://lore.kernel.org/all/20240423145947.142171f6@canb.auug.org.au/ The following changes since commit 18daea77cca626f590fb140fc11e3a43c5d41354: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2024-04-30 12:40:41 -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 c8fae27d141a32a1624d0d0d5419d94252824498: virtio-pci: Check if is_avq is NULL (2024-05-22 08:39:41 -0400) ---------------------------------------------------------------- virtio: features, fixes, cleanups Several new features here: - virtio-net is finally supported in vduse. - Virtio (balloon and mem) interaction with suspend is improved - vhost-scsi now handles signals better/faster. Fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Christophe JAILLET (1): vhost-vdpa: Remove usage of the deprecated ida_simple_xx() API David Hildenbrand (1): virtio-mem: support suspend+resume David Stevens (2): virtio_balloon: Give the balloon its own wakeup source virtio_balloon: Treat stats requests as wakeup events Eugenio P?rez (1): MAINTAINERS: add Eugenio P?rez as reviewer Jiri Pirko (1): virtio: delete vq in vp_find_vqs_msix() when request_irq() fails Krzysztof Kozlowski (24): virtio: balloon: drop owner assignment virtio: input: drop owner assignment virtio: mem: drop owner assignment um: virt-pci: drop owner assignment virtio_blk: drop owner assignment bluetooth: virtio: drop owner assignment hwrng: virtio: drop owner assignment virtio_console: drop owner assignment crypto: virtio - drop owner assignment firmware: arm_scmi: virtio: drop owner assignment gpio: virtio: drop owner assignment drm/virtio: drop owner assignment iommu: virtio: drop owner assignment misc: nsm: drop owner assignment net: caif: virtio: drop owner assignment net: virtio: drop owner assignment net: 9p: virtio: drop owner assignment vsock/virtio: drop owner assignment wifi: mac80211_hwsim: drop owner assignment nvdimm: virtio_pmem: drop owner assignment rpmsg: virtio: drop owner assignment scsi: virtio: drop owner assignment fuse: virtio: drop owner assignment sound: virtio: drop owner assignment Li Zhang (1): virtio-pci: Check if is_avq is NULL Li Zhijian (1): vdpa: Convert sprintf/snprintf to sysfs_emit Maxime Coquelin (3): vduse: validate block features only with block devices vduse: Temporarily fail if control queue feature requested vduse: enable Virtio-net device type Michael S. Tsirkin (1): Merge tag 'stable/vduse-virtio-net' into vhost Mike Christie (9): vhost-scsi: Handle vhost_vq_work_queue failures for events vhost-scsi: Handle vhost_vq_work_queue failures for cmds vhost-scsi: Use system wq to flush dev for TMFs vhost: Remove vhost_vq_flush vhost_scsi: Handle vhost_vq_work_queue failures for TMFs vhost: Use virtqueue mutex for swapping worker vhost: Release worker mutex during flushes vhost_task: Handle SIGKILL by flushing work and exiting kernel: Remove signal hacks for vhost_tasks Uwe Kleine-K?nig (1): virtio-mmio: Convert to platform remove callback returning void Yuxue Liu (2): vp_vdpa: Fix return value check vp_vdpa_request_irq vp_vdpa: don't allocate unused msix vectors Zhu Lingshan (1): MAINTAINERS: apply maintainer role of Intel vDPA driver MAINTAINERS | 10 +- arch/um/drivers/virt-pci.c | 1 - drivers/block/virtio_blk.c | 1 - drivers/bluetooth/virtio_bt.c | 1 - drivers/char/hw_random/virtio-rng.c | 1 - drivers/char/virtio_console.c | 2 - drivers/crypto/virtio/virtio_crypto_core.c | 1 - drivers/firmware/arm_scmi/virtio.c | 1 - drivers/gpio/gpio-virtio.c | 1 - drivers/gpu/drm/virtio/virtgpu_drv.c | 1 - drivers/iommu/virtio-iommu.c | 1 - drivers/misc/nsm.c | 1 - drivers/net/caif/caif_virtio.c | 1 - drivers/net/virtio_net.c | 1 - drivers/net/wireless/virtual/mac80211_hwsim.c | 1 - drivers/nvdimm/virtio_pmem.c | 1 - drivers/rpmsg/virtio_rpmsg_bus.c | 1 - drivers/scsi/virtio_scsi.c | 1 - drivers/vdpa/vdpa.c | 2 +- drivers/vdpa/vdpa_user/vduse_dev.c | 24 ++++- drivers/vdpa/virtio_pci/vp_vdpa.c | 27 ++++-- drivers/vhost/scsi.c | 70 ++++++++------ drivers/vhost/vdpa.c | 6 +- drivers/vhost/vhost.c | 130 ++++++++++++++++++-------- drivers/vhost/vhost.h | 3 +- drivers/virtio/virtio_balloon.c | 85 +++++++++++------ drivers/virtio/virtio_input.c | 1 - drivers/virtio/virtio_mem.c | 69 ++++++++++++-- drivers/virtio/virtio_mmio.c | 6 +- drivers/virtio/virtio_pci_common.c | 6 +- fs/coredump.c | 4 +- fs/fuse/virtio_fs.c | 1 - include/linux/sched/vhost_task.h | 3 +- include/uapi/linux/virtio_mem.h | 2 + kernel/exit.c | 5 +- kernel/signal.c | 4 +- kernel/vhost_task.c | 53 +++++++---- net/9p/trans_virtio.c | 1 - net/vmw_vsock/virtio_transport.c | 1 - sound/virtio/virtio_card.c | 1 - 40 files changed, 355 insertions(+), 177 deletions(-)