pds_vdpa: subscribe to the pds_core events
authorShannon Nelson <shannon.nelson@amd.com>
Fri, 19 May 2023 21:56:31 +0000 (14:56 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jun 2023 14:47:09 +0000 (10:47 -0400)
commit67f27b8b3a342b988b97b2a4b81e9e894eb502ba
tree8cbbfefb8c1f259f0f55cc3318bed4bd9bd8adfb
parent151cc834f3ddafec869269fe48036460d920d08a
pds_vdpa: subscribe to the pds_core events

Register for the pds_core's notification events, primarily to
find out when the FW has been reset so we can pass this on
back up the chain.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230519215632.12343-11-shannon.nelson@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/pds/vdpa_dev.c
drivers/vdpa/pds/vdpa_dev.h