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

gregkh at linuxfoundation.org gregkh at linuxfoundation.org
Fri Nov 24 07:58:48 PST 2017


On Wed, Nov 22, 2017 at 10:49:50AM +0000, 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.
> >
> > Signed-off-by: Bharat Bhushan <Bharat.Bhushan at nxp.com>
> > ---
> 
> Ok, so just to clarify this fixes the case where size is equal (or maybe 
> larger in the future) to 0x10000.

Is this something that can happen today?  Is this needed in 4.14 to fix
a problem people are having and need to be backported to stable, or can
it wait until 4.15?

thanks,

greg k-h



More information about the linux-arm-kernel mailing list