RE: [PATCH] mmc: core: Add option to prevent eMMC sleep command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Ulf Hansson [mailto:ulf.hansson@xxxxxxxxxxxxxx]
> Sent: Wednesday, December 14, 2011 9:04 PM
> To: Subhash Jadavani
> Cc: linux-mmc@xxxxxxxxxxxxxxx; 'Chris Ball'; Per FORLIN; Johan RUDHOLM;
> 'Lee Jones'
> Subject: Re: [PATCH] mmc: core: Add option to prevent eMMC sleep
> command
> 
> Subhash Jadavani wrote:
> > Why is this patch needed? Do you see any issue with eMMC sleep on
> particular
> > cards?
> >
> > Regards,
> > Subhash
> 
> Suppose the eMMC is put in sleep state when doing suspend, at that
> point
> the kernel crashes. The kernel crash is supposed to be dumped to the
> same eMMC by some other software than the kernel itself. But this
> software do not have support for waking up the eMMC from sleep and is
> thus not able to store the dump.

Ok. This means that SW still has some support to read/write eMMC. As part of
suspend, we also deselect the card. So does that SW is capable of
re-selecting the card and the do read/write transfer? I know this discussion
might not be required. But still it's good to know.

As far as patch is concerned, it looks good. You might want to mention the
motivation for this patch in commit text.

> 
> Br
> Ulf Hansson

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux