Re: [PATCH] xhci_suspend optimized for hibernate

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

 



On Tue, 2013-12-17 at 18:23 -0800, Todd E Brandt wrote:

> cleanup. On resume from suspend, the registers, pages, and dequeue
> pointers
> are restored. On hibernate, we also save state. However, xhci_suspend
> is
> called after the hibernate memory image is created, so any memory
> writes
> (e.g. to zero rings or save dequeue pointers) will be lost on resume.
> On
> resume from hibernate, we basically wipe out any changes in the host
> and
> driver, and re-initialize from scratch. So it's useless to save state
> when
> xhci_suspend is called as part of the hibernate state. - Sarah Sharp

Hi,

sorry for being late. To express the problem in a short sentence:
How do you make sure there's no error aborting the hibernation after
you've nuked the state of the HC?

	Regards
		Oliver


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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux