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
45#define VMCI_CAPS_GUESTCALL 0x245#define VMCI_CAPS_GUESTCALL 0x2
46#define VMCI_CAPS_DATAGRAM 0x446#define VMCI_CAPS_DATAGRAM 0x4
47#define VMCI_CAPS_NOTIFICATIONS 0x847#define VMCI_CAPS_NOTIFICATIONS 0x8
48#define VMCI_CAPS_PPN64 0x10
48 49
49/* Interrupt Cause register bits. */50/* Interrupt Cause register bits. */
50#define VMCI_ICR_DATAGRAM 0x151#define VMCI_ICR_DATAGRAM 0x1
@@ -569,8 +570,10 @@ struct vmci_resource_query_msg { · 518 unmodified lines
569 */570 */
570struct vmci_notify_bm_set_msg {571struct vmci_notify_bm_set_msg {
571 struct vmci_datagram hdr;572 struct vmci_datagram hdr;
572 u32 bitmap_ppn;573 union {
573 u32 _pad;574 u32 bitmap_ppn32;
575 u64 bitmap_ppn64;
576 };
574};577};
575 578
576/*579/*

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