RE: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-21 Thread merez
> Maya Erez wrote: >> > @@ -1262,21 +1608,32 @@ static int mmc_blk_issue_rw_rq(struct >> mmc_queue >> > *mq, struct request *rqc) >> >int ret = 1, disable_multi = 0, retry = 0, type; >> >enum mmc_blk_status status; >> >struct mmc_queue_req *mq_rq; >> > - struct request *req; >> > + s

RE: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-20 Thread Seungwon Jeon
Maya Erez wrote: > > @@ -1262,21 +1608,32 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue > > *mq, struct request *rqc) > > int ret = 1, disable_multi = 0, retry = 0, type; > > enum mmc_blk_status status; > > struct mmc_queue_req *mq_rq; > > - struct request *req; > > + struct r

Re: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-20 Thread Namjae Jeon
2012/2/21 : >> >> @@ -1262,21 +1608,32 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue >> *mq, struct request *rqc) >>       int ret = 1, disable_multi = 0, retry = 0, type; >>       enum mmc_blk_status status; >>       struct mmc_queue_req *mq_rq; >> -     struct request *req; >> +     struct

Re: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-20 Thread merez
> > @@ -1262,21 +1608,32 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue > *mq, struct request *rqc) > int ret = 1, disable_multi = 0, retry = 0, type; > enum mmc_blk_status status; > struct mmc_queue_req *mq_rq; > - struct request *req; > + struct request *req, *prq; >

RE: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-15 Thread Seungwon Jeon
Maya Erez wrote: > > @@ -1065,12 +1075,60 @@ static int mmc_blk_err_check(struct mmc_card > > *card, > > if (!brq->data.bytes_xfered) > > return MMC_BLK_RETRY; > > > > + if (mq_mrq->packed_cmd != MMC_PACKED_NONE) { > > + if (unlikely(brq->data.blocks << 9 != brq->data.b

RE: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-15 Thread Seungwon Jeon
Chris Ball; > linux-ker...@vger.kernel.org > Subject: Re: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 > device > > > 2012/1/26 Seungwon Jeon : > >> This patch supports packed command of eMMC4.5 device. > >> Several reads(or writes) can be grou

Re: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-15 Thread merez
> @@ -1065,12 +1075,60 @@ static int mmc_blk_err_check(struct mmc_card > *card, > if (!brq->data.bytes_xfered) > return MMC_BLK_RETRY; > > + if (mq_mrq->packed_cmd != MMC_PACKED_NONE) { > + if (unlikely(brq->data.blocks << 9 != brq->data.bytes_xfered)) > +

Re: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-02-14 Thread merez
> 2012/1/26 Seungwon Jeon : >> This patch supports packed command of eMMC4.5 device. >> Several reads(or writes) can be grouped in packed command >> and all data of the individual commands can be sent in a >> single transfer on the bus. >> >> Signed-off-by: Seungwon Jeon > Reviewed-by: Namjae Jeon

Re: [PATCH v4 2/2] mmc: core: Support packed command for eMMC4.5 device

2012-01-26 Thread Namjae Jeon
2012/1/26 Seungwon Jeon : > This patch supports packed command of eMMC4.5 device. > Several reads(or writes) can be grouped in packed command > and all data of the individual commands can be sent in a > single transfer on the bus. > > Signed-off-by: Seungwon Jeon Reviewed-by: Namjae Jeon Looks g