search for: eaa1e762bf06

Displaying 3 results from an estimated 3 matches for "eaa1e762bf06".

2019 Feb 16
0
[PATCH] VMCI: Support upto 64-bit PPNs
On Fri, Feb 15, 2019 at 04:32:47PM +0000, Vishnu DASA wrote: > 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 BIT()?
2019 Mar 11
0
[PATCH] VMCI: Use BIT() macro for bit definitions
...nux/bits.h> for the BIT() macro. Do the users of this header file build cleanly anyway? Even if so, we prefer not to depend on implicit or accidental header file inclusions that may change in the future. > diff --git a/include/linux/vmw_vmci_defs.h b/include/linux/vmw_vmci_defs.h > index eaa1e762bf06..007e28053da8 100644 > --- a/include/linux/vmw_vmci_defs.h > +++ b/include/linux/vmw_vmci_defs.h > @@ -33,27 +33,27 @@ > #define VMCI_MAX_DEVICES 1 > > /* Status register bits. */ > -#define VMCI_STATUS_INT_ON 0x1 > +#define VMCI_STATUS_INT_ON BIT(0) > >...
2019 May 24
0
[PATCH] VMCI: Fix integer overflow in VMCI handle arrays
...i_handle_arr_get_handles(struct vmci_handle_arr *array); -static inline size_t vmci_handle_arr_get_size( +static inline u32 vmci_handle_arr_get_size( const struct vmci_handle_arr *array) { return array->size; diff --git a/include/linux/vmw_vmci_defs.h b/include/linux/vmw_vmci_defs.h index eaa1e762bf06..6124b4cebb42 100644 --- a/include/linux/vmw_vmci_defs.h +++ b/include/linux/vmw_vmci_defs.h @@ -69,9 +69,18 @@ enum { /* * A single VMCI device has an upper limit of 128MB on the amount of - * memory that can be used for queue pairs. + * memory that can be used for queue pairs. Since each que...