Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1206807

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously

From Johannes Berg <johannes@sipsolutions.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously
Date 2015-08-13 15:20 +0200
Message-ID <pX0Ai-4mV-29@gated-at.bofh.it> (permalink)
References <pROq5-5rF-5@gated-at.bofh.it> <pRP2N-6am-5@gated-at.bofh.it> <pX0Ai-4mV-31@gated-at.bofh.it> <pRP2N-6am-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2015-07-30 at 08:55 +0300, Emmanuel Grumbach wrote:
> On Thu, Jul 30, 2015 at 8:18 AM, Fu, Zhonghui
> <zhonghui.fu@linux.intel.com> wrote:
> > Enable wiphy device to suspend/resume asynchronously. This can 
> > improve
> > system suspend/resume speed.
> > 
> 
> How will that impact the timing with respect to the suspend call
> coming from the bus?
> I think that a few drivers rely on the suspend call of the wiphy
> device happening before the suspend call to the bus device.
> 

Yes, we can't do this for precisely this reason unless we have a way to
somehow keep the dependency between the two - possibly by also marking
the other one as async (although I don't know if the async framework in
general has any FIFO guarantees, which would be required for this.)

I've dropped the patch.

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume  asynchronously Johannes Berg <johannes@sipsolutions.net> - 2015-08-13 15:20 +0200

csiph-web