Re: [PATCH] scsi: associate bio write hint with WRITE CDB

2019-01-10 Thread Alex Lemberg
Hi Randall, On Fri, 2019-01-04 at 13:22 +0800, Randall Huang wrote: > On Thu, Jan 03, 2019 at 11:57:38PM -0500, Martin K. Petersen wrote: > > > > Ewan, > > > > > SBC-5 says that support for the grouping function is indicated by the > > > GROUP_SUP bit in the Extended Inquiry VPD page (86h). I'm

Re: [PATCH v1 1/1] mmc: core: control EXT_CSD_CACHE_CTRL from device tree

2018-12-04 Thread Alex Lemberg
Hi, On 11/20/18, 10:07 PM, "linux-mmc-ow...@vger.kernel.org on behalf of Liming Sun" wrote: Currently the EXT_CSD_CACHE_CTRL register is controlled by API mmc_card_broken_hpi(), which only works for the quirks settings. This commit enhances it to use card->ext_csd.hpi instead. Th

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-03-08 Thread Alex Lemberg
Hi Linus, On 3/2/18 4:53 AM, Linus Walleij wrote: > On Tue, Feb 27, 2018 at 12:33 PM, Harish Jenny K N > wrote: > >> From: Andrew Gabbasov >> >> Since RPMB area is accessible via special ioctl only and boot areas >> are unlikely to contain any partitions, exclude them all from listing >> in /pro

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-02-27 Thread Alex Lemberg
Hi Andrew, While RPMB partition requires special IOCTL, the boot partition is only requires "switch partition", which is not unusual operation in eMMC. Why to prevent users access boot partition? Thanks, Alex On 2/27/18, 1:34 PM, "linux-mmc-ow...@vger.kernel.org on behalf of Harish Jenny K N

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-02-27 Thread Alex Lemberg
While RPMB partition requires special IOCTL Thanks, Alex On 2/27/18, 1:34 PM, "linux-mmc-ow...@vger.kernel.org on behalf of Harish Jenny K N" wrote: From: Andrew Gabbasov Since RPMB area is accessible via special ioctl only and boot areas are unlikely to contain any partitio

Re: [PATCH] mmc: core: add auto bkops support

2016-06-27 Thread Alex Lemberg
Hi Ulf and Adrian, On 6/27/16, 12:08 PM, "Ulf Hansson" wrote: >[...] > If I am not wrong, in current implementation of runtime suspend, the driver stops BKOPS (send HPI) just before sending sleep command, see _mmc_suspend(), depends on “MMC_CAP_AGGRESSIVE_PM” flag. In this c

Re: [PATCH] mmc: core: add auto bkops support

2016-06-22 Thread Alex Lemberg
On 6/22/16, 5:28 PM, "Ulf Hansson" wrote: >On 22 June 2016 at 16:20, Alex Lemberg wrote: >> >> >> On 6/22/16, 1:21 PM, "Ulf Hansson" wrote: >> >>>On 13 June 2016 at 14:25, Adrian Hunter wrote: >>>> On 13/06/16 11:58, Shaw

Re: [PATCH] mmc: core: add auto bkops support

2016-06-22 Thread Alex Lemberg
On 6/22/16, 1:21 PM, "Ulf Hansson" wrote: >On 13 June 2016 at 14:25, Adrian Hunter wrote: >> On 13/06/16 11:58, Shawn Lin wrote: >>> 在 2016/6/13 16:17, Adrian Hunter 写道: On 13/06/16 10:48, Shawn Lin wrote: > On 2016/6/13 14:29, Adrian Hunter wrote: >> On 06/06/16 06:07, Shawn Lin

Re: [PATCH] mmc: core: add auto bkops support

2016-06-22 Thread Alex Lemberg
HI Shawn, On 6/21/16, 4:44 AM, "Shawn Lin" wrote: >On 2016/6/20 21:33, Alex Lemberg wrote: >> Hi Shawn, >> >> […] >> >>>>> + >>>>> +static int mmc_stop_auto_bkops(struct mmc_card *card) >>>>> +{ >>>&

Re: [PATCH] mmc: core: add auto bkops support

2016-06-20 Thread Alex Lemberg
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? >> > >Hrm

Re: [PATCH] mmc: core: add auto bkops support

2016-06-08 Thread Alex Lemberg
Hi Shawn, Is the intention in this patch to stop using MANUAL_BKOPS for all eMMC5.1+ devices, and only use AUTO_BKOPS? Please see several questions inline. On 6/6/16, 6:07 AM, "linux-mmc-ow...@vger.kernel.org on behalf of Shawn Lin" wrote: >JEDEC eMMC v5.1 introduce an autonomously initiated

RE: [RFC 0/6] mmc: Field Firmware Update

2015-12-28 Thread Alex Lemberg
, Alex > -Original Message- > From: Holger Schurig [mailto:holgerschu...@gmail.com] > Sent: Tuesday, December 22, 2015 10:15 AM > To: Ulf Hansson > Cc: Avi Shchislowski; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Alex Lemberg; Chris Ball; Baolin Wang >