Add support in the VMCI driver to handle upto 64-bit PPNs when the VMCI device exposes the capability for 64-bit PPNs.
Showing the changes to include/linux (1 of 7 files). Show all
Unified · Split
| @@ -45,6 +45,7 @@ · 44 unmodified lines | ||
| 45 | 45 | #define VMCI_CAPS_GUESTCALL 0x2 |
| 46 | 46 | #define VMCI_CAPS_DATAGRAM 0x4 |
| 47 | 47 | #define VMCI_CAPS_NOTIFICATIONS 0x8 |
| 48 | +#define VMCI_CAPS_PPN64 0x10 | |
| 48 | 49 | |
| 49 | 50 | /* Interrupt Cause register bits. */ |
| 50 | 51 | #define VMCI_ICR_DATAGRAM 0x1 |
| @@ -569,8 +570,10 @@ struct vmci_resource_query_msg { · 518 unmodified lines | ||
| 569 | 570 | */ |
| 570 | 571 | struct vmci_notify_bm_set_msg { |
| 571 | 572 | struct vmci_datagram hdr; |
| 572 | − u32 bitmap_ppn; | |
| 573 | − u32 _pad; | |
| 573 | + union { | |
| 574 | + u32 bitmap_ppn32; | |
| 575 | + u64 bitmap_ppn64; | |
| 576 | + }; | |
| 574 | 577 | }; |
| 575 | 578 | |
| 576 | 579 | /* |