Re: [RESEND PATCH v10] mmc: support BKOPS feature for eMMC

2012-07-23 Thread merez
Hi Jaehoon, I don't have additional comments. Thanks, Maya On Sun, July 22, 2012 6:28 pm, Jaehoon Chung wrote: > Hi Maya, > > On 07/20/2012 08:58 PM, me...@codeaurora.org wrote: >> >> On Thu, July 19, 2012 8:12 am, Jaehoon Chung wrote: >>> +void mmc_start_bkops(struct mmc_card *card, bool from_ex

Re: [RESEND PATCH v10] mmc: support BKOPS feature for eMMC

2012-07-22 Thread Jaehoon Chung
Hi Maya, On 07/20/2012 08:58 PM, me...@codeaurora.org wrote: > > On Thu, July 19, 2012 8:12 am, Jaehoon Chung wrote: >> +void mmc_start_bkops(struct mmc_card *card, bool from_exception) >> +{ >> +int err; >> +int timeout; >> +bool use_busy_signal; >> + >> +BUG_ON(!

Re: [RESEND PATCH v10] mmc: support BKOPS feature for eMMC

2012-07-20 Thread Adrian Hunter
On 20/07/12 14:58, me...@codeaurora.org wrote: > > On Thu, July 19, 2012 8:12 am, Jaehoon Chung wrote: >> +void mmc_start_bkops(struct mmc_card *card, bool from_exception) >> +{ >> +int err; >> +int timeout; >> +bool use_busy_signal; >> + >> +BUG_ON(!card); >> + >>

Re: [RESEND PATCH v10] mmc: support BKOPS feature for eMMC

2012-07-20 Thread merez
On Thu, July 19, 2012 8:12 am, Jaehoon Chung wrote: > +void mmc_start_bkops(struct mmc_card *card, bool from_exception) > +{ > +int err; > +int timeout; > +bool use_busy_signal; > + > +BUG_ON(!card); > + > +if (!card->ext_csd.bkops_en || mmc_card_doing_bkops

[RESEND PATCH v10] mmc: support BKOPS feature for eMMC

2012-07-19 Thread Jaehoon Chung
Enable eMMC background operations (BKOPS) feature. If URGENT_BKOPS is set after a response, note that BKOPS are required. Immediately run BKOPS if required. read/write operations should be requested during BKOPS(LEVEL-1), then issue HPI to interrupt the ongoing BKOPS and service the foreground op