Re: [PATCH] VMCI: Release resource if the work is already queued

2019-08-21 Thread Vishnu Dasa
T does not check status"). > > Fixes: 83e2ec765be03 ("VMCI: doorbell implementation.") > Reported-by: Francois Rigault > Cc: Jorgen Hansen > Cc: Adit Ranadive > Cc: Alexios Zavras > Cc: Vishnu DASA > Cc: sta...@vger.kernel.org > Signed-off-by: Nadav Amit > --- > drivers/misc/vmw_vmci/vmci_doorbell.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) Thanks for the fix, looks good to me. Reviewed-by: Vishnu Dasa -- vishnu

[PATCH] VMCI: Fix integer overflow in VMCI handle arrays

2019-05-24 Thread Vishnu DASA
ndles are stored in a handle array. In this change, we introduce a mandatory max capacity for handle arrays/lists to avoid excessive memory usage. Signed-off-by: Vishnu Dasa Reviewed-by: Adit Ranadive Reviewed-by: Jorgen Hansen --- drivers/misc/vmw_vmci/vmci_context.c

Re: [PATCH] VMCI: Support upto 64-bit PPNs

2019-02-21 Thread Vishnu DASA
Hi Greg, Sounds like a good idea to use the BIT() macro but can I do that in a separate change to cover the entire file (and perhaps other vmci files too)? Thanks, Vishnu On 2/16/19, 11:53 AM, "gre...@linuxfoundation.org" wrote: On Fri, Feb 15, 2019 at 04:32:47PM +0000, V

[PATCH] VMCI: Support upto 64-bit PPNs

2019-02-15 Thread Vishnu DASA
Add support in the VMCI driver to handle upto 64-bit PPNs when the VMCI device exposes the capability for 64-bit PPNs. Reviewed-by: Adit Ranadive Reviewed-by: Jorgen Hansen Signed-off-by: Vishnu Dasa --- drivers/misc/vmw_vmci/vmci_doorbell.c | 9 ++-- drivers/misc/vmw_vmci/vmci_doorbell.h