Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp235643lqp; Wed, 22 May 2024 03:03:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUPHrsbI8k0O1829azs9wx324sS4MJcHWGJZAmo2bH/9CF2wSfvoReWyJwk683GunKqhtSvqJ9CE+Lew7zCF1501eg7HQDy/3gfRLLtUg== X-Google-Smtp-Source: AGHT+IHmRq/nz84NEm21UA9CrNlYMwWxz3yBmDIvDX6vFOFc51VFDlr8Y7vJ2z+hgBAWwwcSOkeb X-Received: by 2002:a05:622a:507:b0:43b:758:6ca with SMTP id d75a77b69052e-43f9e0dd0e5mr13183451cf.33.1716372209557; Wed, 22 May 2024 03:03:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716372209; cv=pass; d=google.com; s=arc-20160816; b=B+m8Dv2mSgadixX2IBb4md47kR4Jfm7ar/okoxBCHxFzF9gHu8ShKWz2Bs6siuVqrK KkleAxtK77Wpdx3vtqLUjsz4q/azI/y8EHO8QXF0UxMBd2jsSESjukvWXCAlUcvaHh4T Gu92vNtOmY8ZjkcsLdzD/0tkdnwTaALrMdzCYDI657I156ThpmCPSAFzgt5t9vmQTWua IPCgo/g1x+eZPbtrYgbvXxMTF048kD+hG9WovAc5ZTkCnTiccuw5tUvsqfaN6Zkzall/ OoGyf1769d1v5RbBmKPBsEeQZwehBUSNMd9yzqtgPQ9lgckh1thdVig/Xd5CByLJ0etG 4dMw== 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=knfGlOrM7SmmEuODKlCIaTFOFJa3qZNF92wFTYElUIQ=; fh=4bwOuOEFUyfHxdZFV/w8B0WLSz/nt/ujxPLs0F+aJpc=; b=frzC3md0tQvwgwDeDbprIyKvxJVfERB/6o9LbCvg6WmZfLwa2aBFdy4tUtJPCThYc1 ovydHSJ+x8eX8JIdG7KCFmRTlG+G1OZcPvpp4yaQMhNuJYW84X8m4H/hROBcM3mdMk/D ALb0oX9BXkdg89eMfMBOpfLecyO1va/emUSoPZymqsBxXp+esXLv3X2f6qHFY0UPm4Ed luHftW052DNiq76HFTvV55+/XmPyl9XQ06SrVBtRIuaAhiTWEIWqZGHUukRJRkUpqdH0 0elQN0cd27oXIwy26rqRMT5a1yvZXS0FyaCxbXv37qsXm4e5FVSzYtjSDRCXawhvFETf PROg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UKE5+R0D; 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-186020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e3bc8d90fsi51188471cf.538.2024.05.22.03.03.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 03:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UKE5+R0D; 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-186020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186020-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3658D1C21D26 for ; Wed, 22 May 2024 10:03:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12E65823A3; Wed, 22 May 2024 10:03:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UKE5+R0D" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 055CE80C0C for ; Wed, 22 May 2024 10:03:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372195; cv=none; b=Hlkhb0S5zpGkfWweVfyhUCMdl4MARkQ+///HSPD2h3p1xzgRQvX9BPdr+ZAhFCiAzLeuxj0Qq1gMyQSN4J3oUxxp9sd0KkPFOplA1QeaU/qKtHCpU1aUzdDuCEsp/HxDH+4P4fgImF6ksxJ7uerTvPmBFqT7j+nAm6Db23oKEYw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372195; c=relaxed/simple; bh=KT41JCa9HFl7P78kOZALNdAss8MmzSOhVIiGOp14XbQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=rRZRB/n0bRnWRhIgRmuGKwhXDdqcPPMbxsek+aU8ngoo2oBDpNwQBglM7JoQ7z8qhWjfx26ycEMk8T1k4ygmH1xj6X1GXt5ANTpumUCloQgEAYAnlNXm6Gbz7KuvzMxRERM5JkH1dPMBptsQIq5ri2mfOpn37GPbc0kwy5qGuXU= 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=UKE5+R0D; arc=none smtp.client-ip=170.10.133.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=1716372192; 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=knfGlOrM7SmmEuODKlCIaTFOFJa3qZNF92wFTYElUIQ=; b=UKE5+R0DVdD/aYNlE097EMOHxIyi/fysskgWajEtKHwXP3dwh9Db4wO98b6dAUZ3g8TSU7 mQbDcp/uf8YIBCU+9aDbnNQO1p93mMgOcasTvV/bI0Szf3KugzGQ096KNp7Q3I50ExuTjE IeYfl+qRELJqHFUVKI7BFNY02qFYWHk= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-46-rCVIo0UvMja4KJv8i3TeJQ-1; Wed, 22 May 2024 06:03:10 -0400 X-MC-Unique: rCVIo0UvMja4KJv8i3TeJQ-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-34c93732095so7268372f8f.0 for ; Wed, 22 May 2024 03:03:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716372189; x=1716976989; 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=knfGlOrM7SmmEuODKlCIaTFOFJa3qZNF92wFTYElUIQ=; b=ULg4+flQ3bSbVJdbTp89GWNWw5Jl91y+0/A+Hdm/sEc5UQe92LJqFBopBg5EH4ZZzU RIhNQsxrwRZMoXWwmI+gmNck6BdHTZK9QR54sfXTdyrFHGPj1rpLeET5mP8K5HbgosiY Cz0JK9ia7GD2NWP4AF9xtMqiIHGt+vZDIW/AhuSOMI5VtNhKNZg7RonshLhFWKn+SAY3 oCbPH7QVGTjuh9P3vnWZjEy7ObicNstB97kYO+/fHHPx2IGlBrJ5152Lr7KyuD4cjNs7 Fzn0R3KPAJoEBtt6mpzVrj2gWqLfoh698JM4JFJ5SRxaKpdV+jnGmYYZ/BrWJg+mc2uS nPew== X-Forwarded-Encrypted: i=1; AJvYcCVbA1Lrh7doQm5pPjVYIlrkGFAhVdv0ZOkdUIqgyTmqudQxPTNRjltH1LiAWEGlIZksaq+fBPbUiy0Iwx08EgO2PZpvI+k9liuwgHIx X-Gm-Message-State: AOJu0Yz9CIuAN5ZH1I1a2R+PK/rGRrSO2u+DXfqDk4azIQWaUWqN5fD6 QuEe1k1BH0u443u7fBhJSyBhs7y6Hz7CbgUtTT7PQBdxDkuRH0PMPZPX+6KWdmfWQDuOI5XzFY0 KG4QXjVR7BZXIwDm4fBlXwN/4SSS+rkZttZnSh7juj7XswnM4bukuWlu04dBhaA== X-Received: by 2002:a05:6000:e81:b0:354:f2af:6ad2 with SMTP id ffacd0b85a97d-354f2af6ce6mr86051f8f.68.1716372188719; Wed, 22 May 2024 03:03:08 -0700 (PDT) X-Received: by 2002:a05:6000:e81:b0:354:f2af:6ad2 with SMTP id ffacd0b85a97d-354f2af6ce6mr85988f8f.68.1716372187889; Wed, 22 May 2024 03:03:07 -0700 (PDT) Received: from redhat.com ([2a0d:6fc7:55d:e862:558a:a573:a176:1825]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502b8a78e8sm34236941f8f.61.2024.05.22.03.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 03:03:07 -0700 (PDT) Date: Wed, 22 May 2024 06:03:01 -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, Srujana Challa Subject: [GIT PULL] virtio: features, fixes, cleanups Message-ID: <20240522060301-mutt-send-email-mst@kernel.org> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mutt-Fcc: =sent Things to note here: - the new Marvell OCTEON DPU driver is not here: latest v4 keeps causing build failures on mips. I deferred the pull hoping to get it in and I might 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 - I merged a trivial patch (removing a comment) that also got merged through net. git handles this just fine and it did not seem worth it rebasing to drop it. - 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 0b8dbbdcf2e42273fbac9b752919e2e5b2abac21: Merge tag 'for_linus' into vhost (2024-05-12 08:15:28 -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. - virtio-net now supports premapped mode by default, opening the door for all kind of zero copy tricks. 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 (2): MAINTAINERS: add Eugenio Pérez as reviewer 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 Zhijian (1): vdpa: Convert sprintf/snprintf to sysfs_emit Maxime Coquelin (6): vduse: validate block features only with block devices vduse: Temporarily fail if control queue feature requested vduse: enable Virtio-net device type 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 (2): Merge tag 'stable/vduse-virtio-net' into vhost Merge tag 'for_linus' 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 Xuan Zhuo (7): virtio_ring: introduce dma map api for page virtio_ring: enable premapped mode whatever use_dma_api virtio_net: replace private by pp struct inside page virtio_net: big mode support premapped virtio_net: enable premapped by default virtio_net: rx remove premapped failover code virtio_net: remove the misleading comment 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 | 248 +++++++++++++++++--------- 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 | 4 +- drivers/virtio/virtio_ring.c | 59 +++++- fs/coredump.c | 4 +- fs/fuse/virtio_fs.c | 1 - include/linux/sched/vhost_task.h | 3 +- include/linux/virtio.h | 7 + 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 - 42 files changed, 578 insertions(+), 265 deletions(-)