From patchwork Mon Oct 10 17:20:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 13002770 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 81AD9C433FE for ; Mon, 10 Oct 2022 17:20:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229595AbiJJRUl (ORCPT ); Mon, 10 Oct 2022 13:20:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiJJRUk (ORCPT ); Mon, 10 Oct 2022 13:20:40 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8E6A38A1D for ; Mon, 10 Oct 2022 10:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665422438; 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=L7mzWGm9Fi3J3wL3BVtMdGC7y0bZYjMeGp/4Tbn7IOo=; b=PbTVfV3aPE04rLBkqPDo1F8Hrzlw9aQouX9Je5zxd8XPhS81IFPLVZYypf3DdJH+9wu7cE QnsZZ/xW1hIVLS0FD7sVW/oPbB8JOeHBlqt26spf/+9JilyTcYetwkuvKNqCMoVOegjCEo qybtgItrH709Iy74gxNaUW13Sf2YQUQ= 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_128_GCM_SHA256) id us-mta-261-IGtFfxotMjyHIP-zGGtfuQ-1; Mon, 10 Oct 2022 13:20:37 -0400 X-MC-Unique: IGtFfxotMjyHIP-zGGtfuQ-1 Received: by mail-wr1-f69.google.com with SMTP id i26-20020adfaada000000b0022e2f38ffccso2972144wrc.14 for ; Mon, 10 Oct 2022 10:20:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=L7mzWGm9Fi3J3wL3BVtMdGC7y0bZYjMeGp/4Tbn7IOo=; b=mJbU/3pme04GL8a4LL3dY7Qe7+rnKy5T2uWhfYTO4vDY+GprI42ge9zPCXIRGug4OO NdmzmTiugny6AQ5Z0UornhRS4jTnfvR9/qHV2rzVMz70jgFx+l4Ct53Zp/WWEFcXpi8J ztYeAQ1Wo9zooIRTfdo+SAkAm2LQzHqZDACk1t9ieSkmifjhlKoGsj9T6TdoixwdO5VN SuKXmxUzZjUmRgpXOhqE4Rs3v5cL0PN72sLVrXdMvbv29c+txoABIgQpxhxhlcBWSvKk 8zRR9JCQsjtWM/lIgBF46Zo6OFkhIU7SQOr0M7qFfdnq9CJ+6BM4tn6W475/Gu8+BwXE rqFw== X-Gm-Message-State: ACrzQf0tg0bHuusmgZl9P1Afln1tkg3ORHJU9KuF03w5vNF0OHgv7yGP NoZHk7GDtoKqMTxUJOf2dllYe/5yKdSgs16MrkIKR4me9U7aDGmRmKeA1kBPPRSVI2hUdWYgh9e YsC/P6Ych7SuZ X-Received: by 2002:a5d:456b:0:b0:230:9e5b:c64c with SMTP id a11-20020a5d456b000000b002309e5bc64cmr3561541wrc.211.1665422436617; Mon, 10 Oct 2022 10:20:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM68dVAhvzTyD7Fyx5nUJiGXtTyQolK/pvb6X+fnB98gJfJ7lgZeRyv+gqj4yQ08CijJAvcdWw== X-Received: by 2002:a5d:456b:0:b0:230:9e5b:c64c with SMTP id a11-20020a5d456b000000b002309e5bc64cmr3561523wrc.211.1665422436338; Mon, 10 Oct 2022 10:20:36 -0700 (PDT) Received: from redhat.com ([2.55.183.131]) by smtp.gmail.com with ESMTPSA id g7-20020a056000118700b0022ac38fb20asm9337483wrx.111.2022.10.10.10.20.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 10:20:35 -0700 (PDT) Date: Mon, 10 Oct 2022 13:20:30 -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, alvaro.karsz@solid-run.com, angus.chen@jaguarmicro.com, gavinl@nvidia.com, jasowang@redhat.com, lingshan.zhu@intel.com, mst@redhat.com, wangdeming@inspur.com, xiujianfeng@huawei.com Subject: [GIT PULL] virtio: fixes, features Message-ID: <20221010132030-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Disposition: inline X-Mutt-Fcc: =sent Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The following changes since commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f: Linux 6.0 (2022-10-02 14:09:07 -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 71491c54eafa318fdd24a1f26a1c82b28e1ac21d: virtio_pci: don't try to use intxif pin is zero (2022-10-07 20:00:44 -0400) ---------------------------------------------------------------- virtio: fixes, features 9k mtu perf improvements vdpa feature provisioning virtio blk SECURE ERASE support Fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Alvaro Karsz (1): virtio_blk: add SECURE ERASE command support Angus Chen (1): virtio_pci: don't try to use intxif pin is zero Deming Wang (2): virtio_ring: split: Operators use unified style virtio_ring: make vring_alloc_queue_packed prettier Gavin Li (2): virtio-net: introduce and use helper function for guest gso support checks virtio-net: use mtu size as buffer length for big packets Jason Wang (3): vdpa: device feature provisioning vdpa_sim_net: support feature provisioning vp_vdpa: support feature provisioning Michael S. Tsirkin (1): virtio: drop vp_legacy_set_queue_size Xiu Jianfeng (1): vhost: add __init/__exit annotations to module init/exit funcs Zhu Lingshan (6): vDPA: allow userspace to query features of a vDPA device vDPA: only report driver features if FEATURES_OK is set vDPA: check VIRTIO_NET_F_RSS for max_virtqueue_paris's presence vDPA: check virtio device features to detect MQ vDPA: fix spars cast warning in vdpa_dev_net_mq_config_fill vDPA: conditionally read MTU and MAC in dev cfg space drivers/block/virtio_blk.c | 110 +++++++++++++++++++++++++++++------ drivers/net/virtio_net.c | 48 ++++++++++----- drivers/vdpa/vdpa.c | 73 ++++++++++++++++++----- drivers/vdpa/vdpa_sim/vdpa_sim.c | 12 +++- drivers/vdpa/vdpa_sim/vdpa_sim.h | 3 +- drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 2 +- drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 5 +- drivers/vdpa/virtio_pci/vp_vdpa.c | 22 ++++++- drivers/vhost/net.c | 4 +- drivers/virtio/virtio_pci_common.c | 3 + drivers/virtio/virtio_ring.c | 8 +-- include/linux/vdpa.h | 1 + include/linux/virtio_pci_legacy.h | 2 - include/uapi/linux/vdpa.h | 6 ++ include/uapi/linux/virtio_blk.h | 19 ++++++ 15 files changed, 253 insertions(+), 65 deletions(-)