virtio-pci library: report resource address
authorJason Wang <jasowang@redhat.com>
Thu, 15 Apr 2021 07:31:46 +0000 (03:31 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 May 2021 08:55:52 +0000 (04:55 -0400)
commit9e311bcad73dc14bd0a736db6ad3d382227e11fe
tree377414795633286d97ad7b27263877e224c0951c
parentfd466b36940b22a506265edf12714bd0cf9ed836
virtio-pci library: report resource address

Sometimes it might be useful to report the capability physical
address. One example is to report the physical address of the doorbell
in order to be mapped by userspace.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210415073147.19331-7-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/virtio_pci/vp_vdpa.c
drivers/virtio/virtio_pci_modern.c
drivers/virtio/virtio_pci_modern_dev.c
include/linux/virtio_pci_modern.h