Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp553646pxb; Thu, 15 Apr 2021 00:33:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjoaUmylsygnjnZDi/7wWGKwL+2h+nh+u1V99iT4zdzVJ6VN+8fs8p2gaX4A2CtQAsirLj X-Received: by 2002:aa7:da15:: with SMTP id r21mr2419009eds.253.1618472011889; Thu, 15 Apr 2021 00:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618472011; cv=none; d=google.com; s=arc-20160816; b=a9a4JyS6HCUNsvHrRBsMvOSdSakscPJ2OIt5GTwiyj6lCghwt88dGmICOKqfqmxdzU 8djXajzT49WGXD0RZ7SiOBo76sDyVhp8/fwXjGcxDrGSgteMmjp5D70UdVzsWDmvuzGW equCo7Xt6z2A/1i/e4RsPNCGTdrazdLrLk0AHEBs4oblILLFyWG8SrEKaaQaRvD6epOv RNXC8M8t+IFVQkhJRWcmr9D4RSpEZzFPTjOHEPTg+Kv3WJIXA+fFc0lF6V6QXLw6hS2L d8LZ+B/QA3xUiuF5r38M16hgRL1eAos6u3d6YrwUfvqabmVv5YFR2/ED2LzwQK+8/Jxk L9qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=8h+eVsApPwBeDOfwNE+ao4JuJ0Rk8cCsn+lmickkPFg=; b=T+ad3lsdlquXTCX1lkqxkZ1DtWP4CFYbugyFlSe2pJt50JrN5pVwx9DIe8/0YCNEYB EJbUU0OLrLKhhEegXr08nqRKk3BuOYBj2MAoI006e0WVcL2ZuyRVhese2T7tOxCXGSnQ lEK3y2+mZQPlRj2tXJTZYEiUbU65991CuWmkoykCiK8lgXS4hK1sCI96iwloQqwnGTXm 47VSAt5VcWR1GwfLl0LeAKIBWv8n7E/bBWRtazOglQ322Lx2yTxAmNK8OV7I2mwpwAJJ De0/W4tCJeIbOFUaEMrH+efRqnPRnVrMg5Rjj+QZtEHWMNlmOjU4eDn6RfyW02DPmPy8 H3pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GQaPKPSp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si1415457ejf.287.2021.04.15.00.33.09; Thu, 15 Apr 2021 00:33:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GQaPKPSp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231430AbhDOHch (ORCPT + 99 others); Thu, 15 Apr 2021 03:32:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:37691 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231411AbhDOHc0 (ORCPT ); Thu, 15 Apr 2021 03:32:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618471923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=8h+eVsApPwBeDOfwNE+ao4JuJ0Rk8cCsn+lmickkPFg=; b=GQaPKPSpmiRhAOmY/1SUrucI1zX3aDD9bimvk3eRxD6qv0W1BuZAv3ZZtBFa6fyslmIepU Rrjl/qs9oAGT++HeMyEQ51BlOYZItFlQJWhIPs0lCibuDbyNYbAq+/VISTx+8UTFPU0F/U UxmliEh76ETJosu13fOycmsZj3Pric0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-457-wR6ZR7f9M8eeLo2f16wgWw-1; Thu, 15 Apr 2021 03:31:57 -0400 X-MC-Unique: wR6ZR7f9M8eeLo2f16wgWw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5FB01817477; Thu, 15 Apr 2021 07:31:56 +0000 (UTC) Received: from hp-dl380pg8-01.lab.eng.pek2.redhat.com (hp-dl380pg8-01.lab.eng.pek2.redhat.com [10.73.8.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7DC626064B; Thu, 15 Apr 2021 07:31:51 +0000 (UTC) From: Jason Wang To: mst@redhat.com, jasowang@redhat.com Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, elic@nvidia.com Subject: [PATCH 0/7] Doorbell mapping support for virito-pci vDPA Date: Thu, 15 Apr 2021 03:31:40 -0400 Message-Id: <20210415073147.19331-1-jasowang@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All: This series implements the doorbell mapping support for virtio-pci vDPA driver. Tested with page-per-vq=on in a nested guest. Please review Thanks Jason Wang (7): virtio_pci_modern: introduce helper to map vq notify area virtio-pci library: switch to use vp_modern_map_vq_notify() vp_vdpa: switch to use vp_modern_map_vq_notify() virtio_pci_modern: hide vp_modern_get_queue_notify_off() virito_pci libray: hide vp_modern_map_capability() virtio-pci library: report resource address vp_vdpa: report doorbell address drivers/vdpa/virtio_pci/vp_vdpa.c | 26 ++++++++-- drivers/virtio/virtio_pci_modern.c | 27 +--------- drivers/virtio/virtio_pci_modern_dev.c | 68 +++++++++++++++++++++----- include/linux/virtio_pci_modern.h | 11 ++--- 4 files changed, 83 insertions(+), 49 deletions(-) -- 2.18.1