]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ed04478d752a7423a17b184462492b09a61024c
tree377414795633286d97ad7b27263877e224c0951c
parent1ee0414a148ac067919bdc344f723e412e81ef9a
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