Re: AsiaBSDCon DEVSUMMIT patch



OK. I've updated the kernel side of this patch. It still only
supports suspend/resume, but tells the bus to do it. The PCI bus will
now set the state properly. We can extend this to include detach and
rescan (and somehow attach, but that's harder), but I haven't had time
to do this yet. I drank way too much beer last night to do more (or
I'd have merged in the suggested userland changes too). I'm still
leery about doing things directly powering devices, but so long as it
translates to suspend/resume, I'm happy. Power state management when
a device isn't suspended also needs careful thought.

This patch mimics the suspend and resume paths better, so we can do
more testing on drivers.

This has already found, or rediscovered, bugs in the usb code's
integration into newbus. I've not yet fixed those, since they are
hard (but also affect eject of USB Cardbus cards with devices
attached).

Warner
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: hibernate event order question
    ... this patch fixes the 'regression' introduced by the previous ... However the suspend/resume path does not touch the mac address at ...
    (Linux-Kernel)
  • [PATCH] Fix USB suspend/resume crasher
    ... This is my latest patch against current linus -git, ... race and makes various other OHCI & EHCI code path safer vs. ... suspend/resume. ... /* Control/bulk operations through TTs don't need scheduling, ...
    (Linux-Kernel)
  • Re: [patch] suspend/resume debugging: device filter
    ... basis, which is smaller, and should work just as well as your patch. ... i was able to use this too to debug suspend/resume problems. ...
    (Linux-Kernel)
  • Re: [linux-pm] [PATCH v2] Add suspend/resume for HPET
    ... i dont think there's any particular problem here because suspend/resume ... I'm about ready to test the appended patch... ... This preserves sequencing guarantees, but enables sequencing of ...
    (Linux-Kernel)
  • Re: [patch] suspend/resume debugging: device filter
    ... On Saturday, 5 May 2007 11:24, Ingo Molnar wrote: ... basis, which is smaller, and should work just as well as your patch. ... i was able to use this too to debug suspend/resume problems. ...
    (Linux-Kernel)