vDPA/ifcvf: record virtio notify base
[linux-2.6-microblaze.git] / drivers / vdpa / ifcvf / ifcvf_base.h
index 0111bfd..447f4ad 100644 (file)
@@ -73,6 +73,7 @@ struct vring_info {
        u16 last_avail_idx;
        bool ready;
        void __iomem *notify_addr;
+       phys_addr_t notify_pa;
        u32 irq;
        struct vdpa_callback cb;
        char msix_name[256];
@@ -87,6 +88,7 @@ struct ifcvf_hw {
        u8 notify_bar;
        /* Notificaiton bar address */
        void __iomem *notify_base;
+       phys_addr_t notify_base_pa;
        u32 notify_off_multiplier;
        u64 req_features;
        u64 hw_features;