2010-12-03 12:16:42

by Chuanxiao Dong

[permalink] [raw]
Subject: [PATCH v2 0/4]enable Background operations and HPI feature for eMMC4.41 card

Hi,
This is the version 2 patch to enable background operations and HPI
feature for eMMC4.41 card. Both of these two features are optional.

Background operations can be started when user request queue is idle. So
each time user start to handle a new request, driver should check
whether the card is doing BKOPS. If so, should wait until BKOPS is done
or use a HPI command to interrupt it if eMMC card support HPI. The
serial patches were designed as this work flow.

This version patch only use HPI to interrupt background operation,
didnot implement to interrupt foreground operations.

patch1: enable background operations feature for supported eMMC card.
patch2: start to do background operations when user request queue is
idle. Check whether card is doing BKOPS when start a new user request.
patch3: enable HPI for supported eMMC card.
patch4: use HPI command to interrupt BKOPS.

change-log:

patch2: remove the added workqueue in the version 1 patch. This
workqueue is used to put card in runtime suspend state. Since current
MMC driver has not a runtime power management in card block layer, just
remove this workqueue. Define erro response to be macro R1_ERROR_RESPONSE

patch3: fixed community comment. Thanks for Kyungmin Park.

Thanks
Chuanxiao


2010-12-06 11:32:27

by Chuanxiao Dong

[permalink] [raw]
Subject: RE: [PATCH v2 0/4]enable Background operations and HPI feature for eMMC4.41 card

Hi all,
I have updated the HW reset feature patch to be version4, but no one has given me any comment....
Does any want to review these patches?

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Chuanxiao Dong
> Sent: Friday, December 03, 2010 8:13 PM
> To: [email protected]
> Cc: [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected]
> Subject: [PATCH v2 0/4]enable Background operations and HPI feature for
> eMMC4.41 card
>
> Hi,
> This is the version 2 patch to enable background operations and HPI
> feature for eMMC4.41 card. Both of these two features are optional.
>
> Background operations can be started when user request queue is idle. So
> each time user start to handle a new request, driver should check
> whether the card is doing BKOPS. If so, should wait until BKOPS is done
> or use a HPI command to interrupt it if eMMC card support HPI. The
> serial patches were designed as this work flow.
>
> This version patch only use HPI to interrupt background operation,
> didnot implement to interrupt foreground operations.
>
> patch1: enable background operations feature for supported eMMC card.
> patch2: start to do background operations when user request queue is
> idle. Check whether card is doing BKOPS when start a new user request.
> patch3: enable HPI for supported eMMC card.
> patch4: use HPI command to interrupt BKOPS.
>
> change-log:
>
> patch2: remove the added workqueue in the version 1 patch. This
> workqueue is used to put card in runtime suspend state. Since current
> MMC driver has not a runtime power management in card block layer, just
> remove this workqueue. Define erro response to be macro
> R1_ERROR_RESPONSE
>
> patch3: fixed community comment. Thanks for Kyungmin Park.
>
> Thanks
> Chuanxiao
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2010-12-06 12:25:28

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH v2 0/4]enable Background operations and HPI feature for eMMC4.41 card

On Monday 06 December 2010, Dong, Chuanxiao wrote:
> I have updated the HW reset feature patch to be version4, but no one has given me any comment....
> Does any want to review these patches?

Give folks a chance to catch up with their email ;-)

A lot of people do not work during weekends, so if you send patches on a
friday, you often don't get replies before the end of Monday, plus any
time zone differences.

Arnd