From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1523BC433EF for ; Mon, 7 Mar 2022 11:26:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240086AbiCGL1k (ORCPT ); Mon, 7 Mar 2022 06:27:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238245AbiCGL1Q (ORCPT ); Mon, 7 Mar 2022 06:27:16 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1E78A4B43E for ; Mon, 7 Mar 2022 03:03:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646651022; 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; bh=gNPPt7IcCgazViAJnPdJB9z9Owb+g+PUdYAZ9hinRqk=; b=V/Kot64+pJmhaGIV+uTpQRskZ1NbErh8D7kNb4orWTioIVOKo8/tHXV2bUJOh3oxpAbm47 bcpV6iEGniSk6ASo+LqHDiKmC/CUkQpZ9KeJ4pgXibb33gmYuXF9Y6HoPmAU9F8jDcBj4M AdG1sCO+cwVVM5W06E310MCTJnL1ack= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-522-EMlJF1ksPh-zVJOcUiqd0w-1; Mon, 07 Mar 2022 06:03:39 -0500 X-MC-Unique: EMlJF1ksPh-zVJOcUiqd0w-1 Received: by mail-ed1-f72.google.com with SMTP id u28-20020a50d51c000000b004159ffb8f24so8416322edi.4 for ; Mon, 07 Mar 2022 03:03:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=gNPPt7IcCgazViAJnPdJB9z9Owb+g+PUdYAZ9hinRqk=; b=JJDvOyCXmCdeoZuRftEqYSmmBtpBY97s2aLxoDoafYU7LnNp+Geyt69AWsMjzi8ZQc dk4DTYN25l8gKTDc8GQqbbG2x081uzSQW8fqX06zgWujB2nlQxj4sdSDs6Mjf+VSs5Ki 0JLTOjUyvX0UIseyrYJiKoTxW60FCR18QtNYPkICyh37W04MC+O4/pQXxo/heRRUM22/ 0tgBYUH4HwacruxTN5AJT50HHWt1/B/wy7oqvxI0psMB3g27iKy/vLUb4aJflKUlKBwf GGEPZLTTtTXDHyV/WAtCQM7ye4G14sAkoQ20L9bauVoOY9oeaek/c144sQjE04x3nSWf 3KVA== X-Gm-Message-State: AOAM531pmD9+ck2QUxC0G/uVOqThT9PwAUVrXRrOkbeE6LoRunx28ttr dwKTonVG3YwzHf+Qm3AXQkTFxZU3qnPYDLOh72OM2SMK2D1Bm6poyeYQiEVj4ljWklDllMFgHmN WYIVUu/siMP6PiLyK5TD/XB4/ X-Received: by 2002:a05:6402:1e91:b0:415:ecdb:bb42 with SMTP id f17-20020a0564021e9100b00415ecdbbb42mr10485776edf.367.1646651017438; Mon, 07 Mar 2022 03:03:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzm045HAXHomDdQ4eh2BMpTcblB2cVV+JVDBoNGC3+rpUKylFjFOJZk78RZ+xJFhn3Hw+5UaQ== X-Received: by 2002:a05:6402:1e91:b0:415:ecdb:bb42 with SMTP id f17-20020a0564021e9100b00415ecdbbb42mr10485752edf.367.1646651017235; Mon, 07 Mar 2022 03:03:37 -0800 (PST) Received: from redhat.com ([2.55.138.228]) by smtp.gmail.com with ESMTPSA id er12-20020a056402448c00b00413d03ac4a2sm5718316edb.69.2022.03.07.03.03.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 03:03:36 -0800 (PST) Date: Mon, 7 Mar 2022 06:03:32 -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, dan.carpenter@oracle.com, david@redhat.com, jasowang@redhat.com, lkp@intel.com, mail@anirudhrb.com, mst@redhat.com, pasic@linux.ibm.com, sgarzare@redhat.com, si-wei.liu@oracle.com, stable@vger.kernel.org, syzbot+0abd373e2e50d704db87@syzkaller.appspotmail.com, wang.yi59@zte.com.cn, xieyongji@bytedance.com, zhang.min9@zte.com.cn Subject: [GIT PULL] virtio: last minute fixes Message-ID: <20220307060332-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mutt-Fcc: =sent Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3: Linux 5.17-rc6 (2022-02-27 14:36:33 -0800) 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 3dd7d135e75cb37c8501ba02977332a2a487dd39: tools/virtio: handle fallout from folio work (2022-03-06 06:06:50 -0500) ---------------------------------------------------------------- virtio: last minute fixes Some fixes that took a while to get ready. Not regressions, but they look safe and seem to be worth to have. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Anirudh Rayabharam (1): vhost: fix hung thread due to erroneous iotlb entries Michael S. Tsirkin (6): virtio: unexport virtio_finalize_features virtio: acknowledge all features before access virtio: document virtio_reset_device virtio_console: break out of buf poll on remove virtio: drop default for virtio-mem tools/virtio: handle fallout from folio work Si-Wei Liu (3): vdpa: factor out vdpa_set_features_unlocked for vdpa internal use vdpa/mlx5: should verify CTRL_VQ feature exists for MQ vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command Stefano Garzarella (2): vhost: remove avail_event arg from vhost_update_avail_event() tools/virtio: fix virtio_test execution Xie Yongji (3): vduse: Fix returning wrong type in vduse_domain_alloc_iova() virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero virtio-blk: Remove BUG_ON() in virtio_queue_rq() Zhang Min (1): vdpa: fix use-after-free on vp_vdpa_remove drivers/block/virtio_blk.c | 20 ++++++------- drivers/char/virtio_console.c | 7 +++++ drivers/vdpa/mlx5/net/mlx5_vnet.c | 34 ++++++++++++++++++++-- drivers/vdpa/vdpa.c | 2 +- drivers/vdpa/vdpa_user/iova_domain.c | 2 +- drivers/vdpa/virtio_pci/vp_vdpa.c | 2 +- drivers/vhost/iotlb.c | 11 +++++++ drivers/vhost/vdpa.c | 2 +- drivers/vhost/vhost.c | 9 ++++-- drivers/virtio/Kconfig | 1 - drivers/virtio/virtio.c | 56 ++++++++++++++++++++++++------------ drivers/virtio/virtio_vdpa.c | 2 +- include/linux/vdpa.h | 18 ++++++++---- include/linux/virtio.h | 1 - include/linux/virtio_config.h | 3 +- tools/virtio/linux/mm_types.h | 3 ++ tools/virtio/virtio_test.c | 1 + 17 files changed, 127 insertions(+), 47 deletions(-) create mode 100644 tools/virtio/linux/mm_types.h