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 X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62F00C433DF for ; Thu, 8 Oct 2020 20:31:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 05E7122227 for ; Thu, 8 Oct 2020 20:31:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="M2zZYYdJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730456AbgJHUbB (ORCPT ); Thu, 8 Oct 2020 16:31:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58192 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730288AbgJHUa6 (ORCPT ); Thu, 8 Oct 2020 16:30:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602189057; 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=lgT/Pao2dhRy7r2cOmOSyyn/G9gLMf1e4iWJG7ETJJY=; b=M2zZYYdJ5+q+9TleHTorYoPeLeaQ/nhamfBEfqyigEje8LU5drjh6BmyAOpV+aVx+XGfx5 4X5eo7mbSVR9yA90vRjWjRWEHmxQ2cbzdo/DTxpi6Zpzcz8AAm2aKKC+kqTyQq6Ut6F14D hzjlO1nKEtxYHCUWWHgT5KogDayU0CQ= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-7-AmcJoiEhMVCodmdRS6IJ3w-1; Thu, 08 Oct 2020 16:30:55 -0400 X-MC-Unique: AmcJoiEhMVCodmdRS6IJ3w-1 Received: by mail-wm1-f72.google.com with SMTP id b20so4442665wmj.1 for ; Thu, 08 Oct 2020 13:30:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=lgT/Pao2dhRy7r2cOmOSyyn/G9gLMf1e4iWJG7ETJJY=; b=d1IeSUyxHr6/XUB/w5ab9JNzUjOLea0lAkpd1kQmKrrbcWmhMsyG7ctqE9NTa+U72A Xy6wqxMLtMMhFBWRMMiCDRavz6BUxggWTjY7q8hFDctGLVdoMyLhgeTr3zXIwrN86ScI 01m8pNaKJo8ra6e1syn5rRt79hImYMD8uwIK8ZYVZK8RNU9HGyD117QT9e8H1tMYkcyK qksiwnVDhkdp7mIK7gHXDU+jpglrQoqBbZK8ayOWKg50Pkiac3+EcKDecZHcebE6svP4 oH/32iNmv+Ic4yH+TeA6gWbIjzKlKH6QnQS8BHAQ61NGCes/S84Q5TcY0dLzM60LqAbw HAdA== X-Gm-Message-State: AOAM530zZuvTYUkCSuI/ibfUCp0RWYiG2EEROcOf2lu/kbsBiFCvPE1N H1zztxUwIOq5XPTPg2o+77BdEgwMqxx1e7+t7I99sWB/zBm5MR995toybJ+PnvMglHqxky5XfZn XqetVII/Ahl+Ml86guDIQPqlk X-Received: by 2002:a7b:c305:: with SMTP id k5mr10972364wmj.102.1602189054221; Thu, 08 Oct 2020 13:30:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz39hXz1Of1vVfE+ExLOVbu6aOgDjiquQ4GfgQ/XcsmEw8zvuDHbrPJdW4dVAvGz1TOUqEloQ== X-Received: by 2002:a7b:c305:: with SMTP id k5mr10972350wmj.102.1602189054015; Thu, 08 Oct 2020 13:30:54 -0700 (PDT) Received: from redhat.com (bzq-79-179-71-128.red.bezeqint.net. [79.179.71.128]) by smtp.gmail.com with ESMTPSA id a81sm9549014wmf.32.2020.10.08.13.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 13:30:53 -0700 (PDT) Date: Thu, 8 Oct 2020 16:30:51 -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, elic@nvidia.com, groug@kaod.org, jasowang@redhat.com, lkp@intel.com, michael.christie@oracle.com, mst@redhat.com, si-wei.liu@oracle.com, stable@vger.kernel.org Subject: [GIT PULL] vhost,vdpa: last minute fixes Message-ID: <20201008163051-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 a127c5bbb6a8eee851cbdec254424c480b8edd75: vhost-vdpa: fix backend feature ioctls (2020-09-24 05:54:36 -0400) 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 aff90770e54cdb40228f2ab339339e95d0aa0c9a: vdpa/mlx5: Fix dependency on MLX5_CORE (2020-10-08 16:02:00 -0400) ---------------------------------------------------------------- vhost,vdpa: last minute fixes Some last minute fixes. The last two of them haven't been in next but they do seem kind of obvious, very small and safe, fix bugs reported in the field, and they are both in a new mlx5 vdpa driver, so it's not like we can introduce regressions. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Eli Cohen (1): vdpa/mlx5: Fix dependency on MLX5_CORE Greg Kurz (3): vhost: Don't call access_ok() when using IOTLB vhost: Use vhost_get_used_size() in vhost_vring_set_addr() vhost: Don't call log_access_ok() when using IOTLB Mike Christie (1): vhost vdpa: fix vhost_vdpa_open error handling Si-Wei Liu (3): vhost-vdpa: fix vhost_vdpa_map() on error condition vhost-vdpa: fix page pinning leakage in error path vdpa/mlx5: should keep avail_index despite device status drivers/vdpa/Kconfig | 7 +-- drivers/vdpa/mlx5/net/mlx5_vnet.c | 20 ++++-- drivers/vhost/vdpa.c | 127 +++++++++++++++++++++++--------------- drivers/vhost/vhost.c | 33 +++++++--- 4 files changed, 117 insertions(+), 70 deletions(-)