From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbdKXP6o (ORCPT ); Fri, 24 Nov 2017 10:58:44 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:60918 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578AbdKXP6n (ORCPT ); Fri, 24 Nov 2017 10:58:43 -0500 Date: Fri, 24 Nov 2017 16:58:48 +0100 From: "gregkh@linuxfoundation.org" To: Laurentiu Tudor Cc: Bharat Bhushan , Ruxandra Ioana Radulescu , "devel@driverdev.osuosl.org" , "stuyoder@gmail.com" , Roy Pledge , "linux-kernel@vger.kernel.org" , Leo Li , Bogdan Purcareata , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v3] staging: fsl-mc: use 32bits to support 64K size mc-portals Message-ID: <20171124155848.GA8630@kroah.com> References: <1511336923-610-1-git-send-email-Bharat.Bhushan@nxp.com> <5A155642.70809@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5A155642.70809@nxp.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > --- > > 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