From mboxrd@z Thu Jan 1 00:00:00 1970 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 6FB6834BA4B for ; Fri, 13 Feb 2026 10:06:11 +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=1770977172; cv=none; b=n/U5iPFrPWFwq8xH9+7K5Ec/GPCgF8MozmmFvEUxk2HpSxEcjQSEjDLEMvkAijjo4MV0dOEIDLD4/JbMmQgMUoiTSM/NCMsMP+YMQH0O7Xh91uGHVgZr2cxcW9hNjaGYmU8eLNgAxdE3JLCavWUHEPj5CtsWb5YFDH4K+1ucvb8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770977172; c=relaxed/simple; bh=6mIELK5nNn7Xh+eT/MgDDxWv5iQfYKBRmUxr3AG1+lQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=EEDYpADrje8LYzD2UIwzSB/Ma/GBSfJOp8nBkbn4KY0AyxQNoM3OyLzac4zwy6xO8eF1nM4UhgdrFPPfpEZj+LcJI+Fs6I+6gCa5YhRHMtD2YY3SabWXZcvQYYyz0lSUbLQuaGoJOVvwyd6/3gyTYNN95UZIbOKr6qwr03/QNPg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=XKFPq7fR; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=K1Bc2fTa; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XKFPq7fR"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="K1Bc2fTa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770977170; 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=r1LQlvU779hukNCrleE0cgnZ7I3RlCxW4V1fZnT6UB4=; b=XKFPq7fRQ923zeAAUUyNSbvdGIe7x17zQFMJp1txiuSdv4hjzLC0QJ0CxSkADx80ULnhlS yaviPOBvi9mo1AVmQ4b1QF1/jup9nQbPOj+xisGY+VizW48aABMaVMByeZ4qR3/WKvvpAj 0YmqhRfoIlkQO5eYZJM7SdSzNufaDQM= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-365-jy69VktyO7OQmSuym2AHhA-1; Fri, 13 Feb 2026 05:06:08 -0500 X-MC-Unique: jy69VktyO7OQmSuym2AHhA-1 X-Mimecast-MFC-AGG-ID: jy69VktyO7OQmSuym2AHhA_1770977168 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-482eec44485so6261365e9.3 for ; Fri, 13 Feb 2026 02:06:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1770977167; x=1771581967; darn=vger.kernel.org; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=r1LQlvU779hukNCrleE0cgnZ7I3RlCxW4V1fZnT6UB4=; b=K1Bc2fTa9K0K5/i3vxiR6Ufd6rL9r8JVlsORQBZ2hsVYJAhoyWJcPgd5KJRTCux8vm 5Bqm5QakOT+SELGK4VpuQdnGqRkXGzg7XWDIGMgMTLVPqBTBWO4rV8fS/KLQg7QV89Lj qhP0OHLeJ6ixB5Fxt9VDvsv9Op6ZnqHs8ampv7PoLCQo5KtK96sNKcuEQvqp/FempHMN aWr+8M8RpkjhD2K2+I1AINxBwVT0AkvAPG8FjxEKmP1S9Foh6bLKiHAiObK92s7X1iS2 fg+REfUKOkjavMWFdVRi/Eh5L3YheHpyKYCg4wh5z3RpcQbl7KUAkRay/qptAJze5A0F fhSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770977167; x=1771581967; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=r1LQlvU779hukNCrleE0cgnZ7I3RlCxW4V1fZnT6UB4=; b=drXUngaTJ/3ZAM/IoT+Y1ib44u7xQfmGqeDfr0PdjvOWbAmSdc+miCyzTUpO/90f1I ub9hLcoeOhrvuNYhjjqAjsjvlmWfuf0K/0OHyAu3iiz2R1hWue8GTrziof+pQsH8t/Is D9GMqU7kQRhBVzrdUHJKBTHoVcGv1in0RRi9gvxxKBHoy1eaFnF4gZAwQBbXI78qXo6v uuRpsRFy5WYHg8UJVBukl8oiHX/ngPZ17E0SQ9LrvhZrpCKCPge9ccy+LFhZQ7+cJZRn p/vpr5/TqqHeonDn62bQsCAkBww3XM/NVq6mK5DOozXzzdWo9XMRcbVcj6C19lusmLsb 10Vw== X-Forwarded-Encrypted: i=1; AJvYcCWpUbuP3PgW7wFUagMkBJ4V8K3slzHHgDa8Iti04Q9xipjL/Dbd3GQ1E8JIKLiTJPqz6B5qjTc=@vger.kernel.org X-Gm-Message-State: AOJu0YxX9xT2o/8DhlZVPBk0FODw/WMK71n6kEd1a/Lh07wIeTivpYW7 /70syJRFeHPRPfYCxaVIBgHAYNrCtjBisRkUVgcxgP/Korx++1ZSsrSUVb9RmJyTTjgt8FRUYnK YC4DjYRHiCpfkDfzUDstEpp989uqSOIQAls/uEHjvcvaCSK6kOnccHB3xmQ== X-Gm-Gg: AZuq6aII7OoC9NUoQ4GWjnDtwZY5A19IeFNHwcOfi+RKq457Wt/iXFKGrXVYae/2Ym7 5+2OtS2vVXvDotLNkL9xfehy3WMTzhdRKPEDEFvKeH84+U0vXtRa043/4qKN+VXTrmIgiT0j4Il 0LCUFh5YrVcW1YyLO3/tq/hETgaZl14YHc1ZZ9vWOZ9Fq4Ev40KZtUCTqjJPt66ZQe0SCKDNc94 mtIA9a5uML9amygE8/wu3uG20mamiIQTL6miV7+7k2x10bTash7M6Wr1bOBw6pVpWCsjihzbfpD IxPCTmlhm/mbe2G5Wl/MZm3sezc3qcTQ5cWVC9CH9J9OFNaggtDkTkEVsZ/+jQ3htj2hVsHYjck nFAm97dg/V99bZnrrBbrgw6lQiLx7jzOe8cjYa8bebGQwEQ== X-Received: by 2002:a05:600c:4704:b0:483:3380:ca11 with SMTP id 5b1f17b1804b1-48373a74dccmr18964815e9.33.1770977167361; Fri, 13 Feb 2026 02:06:07 -0800 (PST) X-Received: by 2002:a05:600c:4704:b0:483:3380:ca11 with SMTP id 5b1f17b1804b1-48373a74dccmr18964275e9.33.1770977166842; Fri, 13 Feb 2026 02:06:06 -0800 (PST) Received: from redhat.com (IGLD-80-230-34-155.inter.net.il. [80.230.34.155]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48371a21cbesm20921345e9.5.2026.02.13.02.06.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Feb 2026 02:06:06 -0800 (PST) Date: Fri, 13 Feb 2026 05:06:02 -0500 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, arnd@arndb.de, bartosz.golaszewski@oss.qualcomm.com, bp@alien8.de, eperezma@redhat.com, jasowang@redhat.com, jon@nutanix.com, kshankar@marvell.com, leiyang@redhat.com, lulu@redhat.com, maobibo@loongson.cn, mst@redhat.com, m.szyprowski@samsung.com, seanjc@google.com, sgarzare@redhat.com, stable@vger.kernel.org, thomas.weissschuh@linutronix.de, viresh.kumar@linaro.org, xiyou.wangcong@gmail.com, zhangdongchuan@eswincomputing.com Subject: [GIT PULL] virtio,vhost,vdpa: features, fixes Message-ID: <20260213050602-mutt-send-email-mst@kernel.org> Precedence: bulk X-Mailing-List: netdev@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 The following changes since commit d8ee3cfdc89b75dc059dc21c27bef2c1440f67eb: vhost/vsock: improve RCU read sections around vhost_vsock_get() (2025-12-24 08:02:57 -0500) 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 ebcff9dacaf2c1418f8bc927388186d7d3674603: vduse: avoid adding implicit padding (2026-02-09 12:21:32 -0500) ---------------------------------------------------------------- virtio,vhost,vdpa: features, fixes - in order support in virtio core - multiple address space support in vduse - fixes, cleanups all over the place, notably - dma alignment fixes for non cache coherent systems Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Arnd Bergmann (1): vduse: avoid adding implicit padding Bibo Mao (3): crypto: virtio: Add spinlock protection with virtqueue notification crypto: virtio: Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req crypto: virtio: Replace package id with numa node id Cindy Lu (3): vdpa/mlx5: update mlx_features with driver state check vdpa/mlx5: reuse common function for MAC address updates vdpa/mlx5: update MAC address handling in mlx5_vdpa_set_attr() Eugenio Pérez (13): vhost: move vdpa group bound check to vhost_vdpa vduse: add v1 API definition vduse: add vq group support vduse: return internal vq group struct as map token vdpa: document set_group_asid thread safety vhost: forbid change vq groups ASID if DRIVER_OK is set vduse: refactor vdpa_dev_add for goto err handling vduse: remove unused vaddr parameter of vduse_domain_free_coherent vduse: take out allocations from vduse_dev_alloc_coherent vduse: merge tree search logic of IOTLB_GET_FD and IOTLB_GET_INFO ioctls vduse: add vq group asid support vduse: bump version number Documentation: Add documentation for VDUSE Address Space IDs Jason Wang (19): virtio_ring: rename virtqueue_reinit_xxx to virtqueue_reset_xxx() virtio_ring: switch to use vring_virtqueue in virtqueue_poll variants virtio_ring: unify logic of virtqueue_poll() and more_used() virtio_ring: switch to use vring_virtqueue for virtqueue resize variants virtio_ring: switch to use vring_virtqueue for virtqueue_kick_prepare variants virtio_ring: switch to use vring_virtqueue for virtqueue_add variants virtio: switch to use vring_virtqueue for virtqueue_get variants virtio_ring: switch to use vring_virtqueue for enable_cb_prepare variants virtio_ring: use vring_virtqueue for enable_cb_delayed variants virtio_ring: switch to use vring_virtqueue for disable_cb variants virtio_ring: switch to use vring_virtqueue for detach_unused_buf variants virtio_ring: switch to use unsigned int for virtqueue_poll_packed() virtio_ring: introduce virtqueue ops virtio_ring: determine descriptor flags at one time virtio_ring: factor out core logic of buffer detaching virtio_ring: factor out core logic for updating last_used_idx virtio_ring: factor out split indirect detaching logic virtio_ring: factor out split detaching logic virtio_ring: add in order support Jon Kohler (1): vhost: use "checked" versions of get_user() and put_user() Kommula Shiva Shankar (1): vhost: fix caching attributes of MMIO regions by setting them explicitly Michael S. Tsirkin (16): dma-mapping: add __dma_from_device_group_begin()/end() docs: dma-api: document __dma_from_device_group_begin()/end() dma-mapping: add DMA_ATTR_CPU_CACHE_CLEAN docs: dma-api: document DMA_ATTR_CPU_CACHE_CLEAN dma-debug: track cache clean flag in entries virtio: add virtqueue_add_inbuf_cache_clean API vsock/virtio: fix DMA alignment for event_list vsock/virtio: use virtqueue_add_inbuf_cache_clean for events virtio_input: fix DMA alignment for evts virtio_scsi: fix DMA cacheline issues for events virtio-rng: fix DMA alignment for data buffer virtio_input: use virtqueue_add_inbuf_cache_clean for events vsock/virtio: reorder fields to reduce padding gpio: virtio: fix DMA alignment gpio: virtio: reorder fields to reduce struct padding checkpatch: special-case cacheline group macros Thomas Weißschuh (1): virtio: uapi: avoid usage of libc types zhangdongchuan@eswincomputing.com (1): virtio_ring: code cleanup in detach_buf_split Documentation/core-api/dma-api-howto.rst | 52 + Documentation/core-api/dma-attributes.rst | 9 + Documentation/userspace-api/vduse.rst | 53 + drivers/char/hw_random/virtio-rng.c | 3 + drivers/crypto/virtio/virtio_crypto_common.h | 2 +- drivers/crypto/virtio/virtio_crypto_core.c | 5 + .../crypto/virtio/virtio_crypto_skcipher_algs.c | 2 - drivers/gpio/gpio-virtio.c | 15 +- drivers/scsi/virtio_scsi.c | 17 +- drivers/vdpa/mlx5/net/mlx5_vnet.c | 156 +-- drivers/vdpa/vdpa_sim/vdpa_sim.c | 6 - drivers/vdpa/vdpa_user/iova_domain.c | 27 +- drivers/vdpa/vdpa_user/iova_domain.h | 8 +- drivers/vdpa/vdpa_user/vduse_dev.c | 524 +++++++--- drivers/vhost/vdpa.c | 5 +- drivers/vhost/vhost.c | 8 +- drivers/virtio/virtio_input.c | 5 +- drivers/virtio/virtio_ring.c | 1010 +++++++++++++++----- include/linux/dma-mapping.h | 20 + include/linux/vdpa.h | 4 +- include/linux/virtio.h | 11 +- include/uapi/linux/vduse.h | 85 +- include/uapi/linux/virtio_ring.h | 5 +- kernel/dma/debug.c | 28 +- net/vmw_vsock/virtio_transport.c | 19 +- scripts/checkpatch.pl | 4 +- 26 files changed, 1567 insertions(+), 516 deletions(-)