Re: [PATCH/RFC V2 07/16] scsi: support well known logical units

2014-08-24 Thread subhashj
> On Fri, Aug 22, 2014 at 12:02:30AM -, subha...@codeaurora.org wrote: >> >> + /* >> >> + * put runtime pm reference for well-known logical units, >> >> + * drivers are expected to _get_* again during probe. >> >> + */ >> >> + if (scsi_is_wlun(sdev->lun)) >> >> + scsi_autopm_put_devi

Re: [PATCH/RFC V2 07/16] scsi: support well known logical units

2014-08-24 Thread Christoph Hellwig
On Fri, Aug 22, 2014 at 12:02:30AM -, subha...@codeaurora.org wrote: > >> + /* > >> + * put runtime pm reference for well-known logical units, > >> + * drivers are expected to _get_* again during probe. > >> + */ > >> + if (scsi_is_wlun(sdev->lun)) > >> + scsi_autopm_put_device

Re: [PATCH/RFC V2 07/16] scsi: support well known logical units

2014-08-21 Thread subhashj
> On Thu, Aug 14, 2014 at 04:30:58PM +0300, Dolev Raviv wrote: >> From: Subhash Jadavani >> REPORT LUNS command has "SELECT REPORT" field which controls what type of >> logical units to be reported by device server. According to UFS device standard, if this field is set to 0, REPORT LUNS would rep

Re: [PATCH/RFC V2 07/16] scsi: support well known logical units

2014-08-21 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: >> + /* >> + * put runtime pm reference for well-known logical units, >> + * drivers are expected to _get_* again during probe. >> + */ >> + if (scsi_is_wlun(sdev->lun)) >> + scsi_autopm_put_device(sdev); Christoph> Special casing the well known LUN

Re: [PATCH/RFC V2 07/16] scsi: support well known logical units

2014-08-19 Thread Christoph Hellwig
On Thu, Aug 14, 2014 at 04:30:58PM +0300, Dolev Raviv wrote: > From: Subhash Jadavani > > REPORT LUNS command has "SELECT REPORT" field which controls what type of > logical units to be reported by device server. According to UFS device > standard, if this field is set to 0, REPORT LUNS would rep