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 | #define VMCI_CAPS_GUESTCALL 0x2 | 45 | #define VMCI_CAPS_GUESTCALL 0x2 |
| 46 | #define VMCI_CAPS_DATAGRAM 0x4 | 46 | #define VMCI_CAPS_DATAGRAM 0x4 |
| 47 | #define VMCI_CAPS_NOTIFICATIONS 0x8 | 47 | #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 0x1 | 51 | #define VMCI_ICR_DATAGRAM 0x1 |
| @@ -569,8 +570,10 @@ struct vmci_resource_query_msg { · 518 unmodified lines | |||
| 569 | */ | 570 | */ |
| 570 | struct vmci_notify_bm_set_msg { | 571 | struct 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 | /* |