History

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.

Vishnu DASA committed 7 years ago

Commit f2db7361 parent bede03a7 files · +77 −49Browse files

Showing the changes to include/linux (1 of 7 files). Show all

Unified · Split

include/linux/vmw_vmci_defs.h+5−2
@@ -45,6 +45,7 @@ · 44 unmodified lines
4545 #define VMCI_CAPS_GUESTCALL 0x2
4646 #define VMCI_CAPS_DATAGRAM 0x4
4747 #define VMCI_CAPS_NOTIFICATIONS 0x8
48+#define VMCI_CAPS_PPN64 0x10
4849
4950 /* Interrupt Cause register bits. */
5051 #define VMCI_ICR_DATAGRAM 0x1
@@ -569,8 +570,10 @@ struct vmci_resource_query_msg { · 518 unmodified lines
569570 */
570571 struct vmci_notify_bm_set_msg {
571572 struct vmci_datagram hdr;
572− u32 bitmap_ppn;
573− u32 _pad;
573+ union {
574+ u32 bitmap_ppn32;
575+ u64 bitmap_ppn64;
576+ };
574577 };
575578
576579 /*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t