aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/vmw_vmci_defs.h
diff options
context:
space:
mode:
authorVishnu DASA <vdasa@vmware.com>2019-02-15 16:32:47 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-26 12:53:55 +0100
commitf2db7361cb19bf3a6f7fd367f21d8eb325397946 (patch)
treecb1638157b002572fd9d2c62e640e32a79ca02ff /include/linux/vmw_vmci_defs.h
parentmisc: rtsx: Enable OCP for rts522a rts524a rts525a rts5260 (diff)
downloadwireguard-linux-f2db7361cb19bf3a6f7fd367f21d8eb325397946.tar.xz
wireguard-linux-f2db7361cb19bf3a6f7fd367f21d8eb325397946.zip
VMCI: Support upto 64-bit PPNs
Add support in the VMCI driver to handle upto 64-bit PPNs when the VMCI device exposes the capability for 64-bit PPNs. Reviewed-by: Adit Ranadive <aditr@vmware.com> Reviewed-by: Jorgen Hansen <jhansen@vmware.com> Signed-off-by: Vishnu Dasa <vdasa@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/vmw_vmci_defs.h')
-rw-r--r--include/linux/vmw_vmci_defs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/vmw_vmci_defs.h b/include/linux/vmw_vmci_defs.h
index b724ef7005de..eaa1e762bf06 100644
--- a/include/linux/vmw_vmci_defs.h
+++ b/include/linux/vmw_vmci_defs.h
@@ -45,6 +45,7 @@
#define VMCI_CAPS_GUESTCALL 0x2
#define VMCI_CAPS_DATAGRAM 0x4
#define VMCI_CAPS_NOTIFICATIONS 0x8
+#define VMCI_CAPS_PPN64 0x10
/* Interrupt Cause register bits. */
#define VMCI_ICR_DATAGRAM 0x1
@@ -569,8 +570,10 @@ struct vmci_resource_query_msg {
*/
struct vmci_notify_bm_set_msg {
struct vmci_datagram hdr;
- u32 bitmap_ppn;
- u32 _pad;
+ union {
+ u32 bitmap_ppn32;
+ u64 bitmap_ppn64;
+ };
};
/*