RE: [PATCH v3] staging: fsl-mc: use 32bits to support 64K size mc-portals

2017-11-24 Thread Bharat Bhushan
adulescu > <ruxandra.radule...@nxp.com>; de...@driverdev.osuosl.org; > stuyo...@gmail.com; Roy Pledge <roy.ple...@nxp.com>; linux- > ker...@vger.kernel.org; Leo Li <leoyang...@nxp.com>; Bogdan Purcareata > <bogdan.purcare...@nxp.com>; linux-arm-ker...@lists.infr

Re: [PATCH v3] staging: fsl-mc: use 32bits to support 64K size mc-portals

2017-11-24 Thread gre...@linuxfoundation.org
On Wed, Nov 22, 2017 at 10:49:50AM +, Laurentiu Tudor wrote: > > > On 11/22/2017 09:48 AM, Bharat Bhushan wrote: > > As per APIs each mc-portal is of 64K size while currently > > 16bits (type u16) is used to store size of mc-portal. > > In these cases upper bit of portal size gets truncated.

Re: [PATCH v3] staging: fsl-mc: use 32bits to support 64K size mc-portals

2017-11-22 Thread Laurentiu Tudor
On 11/22/2017 09:48 AM, Bharat Bhushan wrote: > As per APIs each mc-portal is of 64K size while currently > 16bits (type u16) is used to store size of mc-portal. > In these cases upper bit of portal size gets truncated. > > Signed-off-by: Bharat Bhushan > --- Ok, so

[PATCH v3] staging: fsl-mc: use 32bits to support 64K size mc-portals

2017-11-22 Thread Bharat Bhushan
As per APIs each mc-portal is of 64K size while currently 16bits (type u16) is used to store size of mc-portal. In these cases upper bit of portal size gets truncated. Signed-off-by: Bharat Bhushan --- v2->v3: - v2 patch: https://patchwork.kernel.org/patch/10067661/ -