From patchwork Sun Mar 10 03:44:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 10846087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46D0C1515 for ; Sun, 10 Mar 2019 03:51:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2274828EB5 for ; Sun, 10 Mar 2019 03:51:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F5D828EBA; Sun, 10 Mar 2019 03:51:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD4E628EB5 for ; Sun, 10 Mar 2019 03:51:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726414AbfCJDoj (ORCPT ); Sat, 9 Mar 2019 22:44:39 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:45028 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726378AbfCJDoj (ORCPT ); Sat, 9 Mar 2019 22:44:39 -0500 Received: by mail-qk1-f195.google.com with SMTP id u22so873265qkj.11 for ; Sat, 09 Mar 2019 19:44:38 -0800 (PST) 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=nRXLzWeU4z+b7ipw3vwMHvW9wI+iQexMMBB+tqRzUWM=; b=uMrtsiaV+vPmsNqXxM0gKPuXcGOVNdRjE8oDN3NDqbnuOzVJ7nW28rQ2IvzLfQEdkQ udlYaG2YTk0kRGgNJLBwlquWvfhMlCTv4d9Kwcm6Ru+gBlNz9g+c8tu25L1YmTZPVgY7 BB0y47hD8grHhg+TZrf0FCPZJ5JefCWM84odJ0itP9CzI18GZqtySB/JSmaljmQtR+Go uwaeVihNOEpRaZhO8gqyIFImh2azGiwKi9EguVz32yRjIPgeOghUQ8WaFAIewJWGUcur F+FhLg4ae7jvhv5Rd6/1/cO8106HHiMQJfWWEh1tVNKOakcHjQDoVmTfY+lP+ZV4gXHS 5xmw== X-Gm-Message-State: APjAAAVr2vYGYdkOH4+tkHRwG6iNe5Plrz1kYHxLC8iSFSKVQ1tS1BQP TrZ8LGIksATumeT8Gn24AIFisw== X-Google-Smtp-Source: APXvYqwBjxVJkdkqgbm4Xvggdaqod/RnYlhVL7XKz7paGDJntytTInboUZ76z7Dwdx+is6yj5WY5hQ== X-Received: by 2002:a37:e50c:: with SMTP id e12mr19569582qkg.327.1552189477754; Sat, 09 Mar 2019 19:44:37 -0800 (PST) Received: from redhat.com (pool-173-76-246-42.bstnma.fios.verizon.net. [173.76.246.42]) by smtp.gmail.com with ESMTPSA id v18sm1167741qkj.13.2019.03.09.19.44.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Mar 2019 19:44:36 -0800 (PST) Date: Sat, 9 Mar 2019 22:44:35 -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, cohuck@redhat.com, jroedel@suse.de, mst@redhat.com, pasic@linux.ibm.com, wei.w.wang@intel.com Subject: [PULL] virtio,vhost: cleanups and fixes Message-ID: <20190309224435-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Disposition: inline X-Mutt-Fcc: =sent Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The following changes since commit 1c163f4c7b3f621efff9b28a47abb36f7378d783: Linux 5.0 (2019-03-03 15:21:29 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to cfdbb4ed31aa777d59b288810f66eb06249ee5b7: vhost: silence an unused-variable warning (2019-03-06 11:32:37 -0500) ---------------------------------------------------------------- virtio: fixes, cleanups Several fixes, most notably fix for virtio on swiotlb systems. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Arnd Bergmann (1): vhost: silence an unused-variable warning Cornelia Huck (3): virtio-ccw: diag 500 may return a negative cookie virtio-ccw: wire up ->bus_name callback virtio: hint if callbacks surprisingly might sleep Halil Pasic (1): s390/virtio: handle find on invalid queue gracefully Joerg Roedel (5): swiotlb: Introduce swiotlb_max_mapping_size() swiotlb: Add is_swiotlb_active() function dma: Introduce dma_max_mapping_size() virtio: Introduce virtio_max_dma_size() virtio-blk: Consider virtio_max_dma_size() for maximum segment size Wei Wang (2): virtio-balloon: improve update_balloon_size_func virtio_balloon: remove the unnecessary 0-initialization Documentation/DMA-API.txt | 8 ++++++++ Documentation/virtual/kvm/s390-diag.txt | 3 ++- drivers/block/virtio_blk.c | 10 ++++++---- drivers/s390/virtio/virtio_ccw.c | 12 +++++++++++- drivers/vhost/vhost.c | 2 +- drivers/virtio/virtio.c | 2 ++ drivers/virtio/virtio_balloon.c | 6 ++++-- drivers/virtio/virtio_ring.c | 11 +++++++++++ include/linux/dma-mapping.h | 8 ++++++++ include/linux/swiotlb.h | 11 +++++++++++ include/linux/virtio.h | 2 ++ include/linux/virtio_config.h | 13 +++++++++++++ kernel/dma/direct.c | 11 +++++++++++ kernel/dma/mapping.c | 14 ++++++++++++++ kernel/dma/swiotlb.c | 14 ++++++++++++++ 15 files changed, 118 insertions(+), 9 deletions(-)