Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1426639
| From | Alex Lemberg <Alex.Lemberg@sandisk.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mmc: core: add auto bkops support |
| Date | 2016-06-20 16:10 +0200 |
| Message-ID | <rM83M-OW-11@gated-at.bofh.it> (permalink) |
| References | <rGT5n-7iV-3@gated-at.bofh.it> <rHNhg-1Mf-29@gated-at.bofh.it> <rJ2ed-23N-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Shawn,
[…]
>>> +
>>> +static int mmc_stop_auto_bkops(struct mmc_card *card)
>>> +{
>>> + int err = 0;
>>> +
>>> + if (!card->ext_csd.auto_bkops_en)
>>> + return 0;
>>> +
>>
>> Shouldn’t the BKOPS_STATUS be checked prior to disabling the BKOPS activity of the device?
>>
>
>Hrmm.. I read the whole section of spec for it, and I did find this
>requirement for manul bkops but not for the auto one. So what should we
>do if using the auto one?
>
In case of AUTO BKOPS, the eMMC Device should perform internal GC
in the same way as in case of MANUAL BKOPS.
The only difference is a host awareness.
Although there is no requirement in the spec, I think the driver can
give some time to the device to perform/complete its internal GC during the idle time.
Thus I think we can check the BKOPS_STATUS on Runtime suspend.
[…]
Thanks,
Alex
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] mmc: core: add auto bkops support Shawn Lin <shawn.lin@rock-chips.com> - 2016-06-12 03:20 +0200
Re: [PATCH] mmc: core: add auto bkops support Alex Lemberg <Alex.Lemberg@sandisk.com> - 2016-06-20 16:10 +0200
Re: [PATCH] mmc: core: add auto bkops support Jaehoon Chung <jh80.chung@samsung.com> - 2016-06-21 02:50 +0200
Re: [PATCH] mmc: core: add auto bkops support Shawn Lin <shawn.lin@rock-chips.com> - 2016-06-21 04:00 +0200
Re: [PATCH] mmc: core: add auto bkops support Alex Lemberg <Alex.Lemberg@sandisk.com> - 2016-06-22 16:30 +0200
Re: [PATCH] mmc: core: add auto bkops support Shawn Lin <shawn.lin@rock-chips.com> - 2016-06-23 03:40 +0200
Re: [PATCH] mmc: core: add auto bkops support Adrian Hunter <adrian.hunter@intel.com> - 2016-06-23 07:30 +0200
csiph-web