Hi,
        This is the verion 1 patch to enable background operations & HPI
        feature. These patches were already upstreamed and tested by community,
        not accepted yet.

        Background operations(BKOPS) is a new opertional feature for eMMC4.41
        card. It will allow eMMC card to do garbage collection, wear leveling or
        something else when card is idle. This will reduce the latency for card
        to read/write.After handling each user request like reading/writing,
        driver can check whether needs to do background operations(BKOPS). If
        needs, BKOPS can be started when user request queue is idle. Each time
        before 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.

        High priority interrupt(HPI) is a new opertional feature for eMMC4.41
        card. It can be used to interrupt some low priority operations.
        When card is doing BKOPS and a user request needs to be handled at this
        time, card should correspond user request first. So a HPI command can be
        used to interrupt BKOPS and let card correspond user request ASAP. HPI
        command can interrupt both BKOPS or foreground operations. This version
        patch only use HPI to interrupt BKOPS.

        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.

Thanks
Chuanxiao
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to