From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Kim Subject: RE: [PATCH] mmc: block: Change MMC_IOC_MAX_BYTES Date: Tue, 18 Oct 2016 19:54:23 +0900 Message-ID: <0bba01d2292d$fcad7920$f6086b60$@samsung.com> References: <0bb501d2292b$e6a43760$b3eca620$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailout3.samsung.com ([203.254.224.33]:55151 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758726AbcJRKy0 (ORCPT ); Tue, 18 Oct 2016 06:54:26 -0400 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OF801DAPOYOGX40@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Tue, 18 Oct 2016 19:54:24 +0900 (KST) In-reply-to: Content-language: ko Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: 'Jaehoon Chung' , ulf.hansson@linaro.org, linux-mmc@vger.kernel.org Hi, Yes, right. "include/uapi/linux/mmc/ioctl.h" -----Original Message----- From: linux-mmc-owner@vger.kernel.org [mailto:linux-mmc-owner@vger.kernel.org] On Behalf Of Jaehoon Chung Sent: Tuesday, October 18, 2016 7:52 PM To: Jeremy Kim; ulf.hansson@linaro.org; linux-mmc@vger.kernel.org Subject: Re: [PATCH] mmc: block: Change MMC_IOC_MAX_BYTES Hi, On 10/18/2016 07:39 PM, Jeremy Kim wrote: > > It is used for limitation of buffer size during IOCTL such as FFU. > However, eMMC FW size is bigger than (512L*256). > (For instance, currently, Samsung eMMC FW size is over 300KB.) So, it > needs to increase to execute FFU. > > > Signed-off-by: Jeonghan Kim > --- > ioctl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Where is ioctl.h? "include/uapi/linux/mmc/ioctl.h"? Best Regards, Jaehoon Chung > > diff --git a/ioctl.h b/ioctl.h > index 7e385b8..700a551 100644 > --- a/ioctl.h > +++ b/ioctl.h > @@ -69,6 +69,6 @@ struct mmc_ioc_multi_cmd { > * is enforced per ioctl call. For larger data transfers, use the normal > * block device operations. > */ > -#define MMC_IOC_MAX_BYTES (512L * 256) > +#define MMC_IOC_MAX_BYTES (512L * 1024) > #define MMC_IOC_MAX_CMDS 255 > #endif /* LINUX_MMC_IOCTL_H */ > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" > in the body of a message to majordomo@vger.kernel.org More majordomo > info at http://vger.kernel.org/majordomo-info.html > > > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html