Date: Wed, 18 Mar 2015 09:41:52 -0700 From: Justin Hibbits <jhibbits@freebsd.org> To: lausgans@gmail.com Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Request for testing an alternate branch Message-ID: <CAHSQbTA4dQ%2Bf2%2B62vs-LwJqLcpgnZ9qi5Ss0TDA4YOQcAWLzuw@mail.gmail.com> In-Reply-To: <C391E2CD-94BE-4B50-AE82-DFF3D53F27D8@gmail.com> References: <fa.2l9I6Claso3BT5f1esc2G1jiBuk@ifi.uio.no> <fa.MkXogM%2B73jX%2BL2QtvF9GYFjCjlo@ifi.uio.no> <C391E2CD-94BE-4B50-AE82-DFF3D53F27D8@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 18, 2015 at 12:12 AM, <lausgans@gmail.com> wrote: > >> 6 =D0=B4=D0=B5=D0=BA. 2013 =D0=B3., =D0=B2 23:40, Justin Hibbits <jhibbi= ts@freebsd.org> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): >> >> On Wed, Dec 4, 2013 at 10:19 PM, Justin Hibbits <jhibbits@freebsd.org> w= rote: >>> I've been working on the projects/pmac_pmu branch for some time now to >>> add suspend/resume as well as CPU speed change for certain PowerPC >>> machines, about a year since I created the branch, and now it's stable >>> enough that I want to merge it into HEAD, hence this request. > > Thanks for your work! What is the estimated time when it will go HEAD? > May I expect that my powerbook4,1 machine will get ability to sleep under= the FreeBSD now? > >>> However, >>> it does touch several drivers, turning them into "early drivers", such >>> that they can be initialized, and suspended and resumed at a different >>> time. Saying that, I do need testing from other architectures, to make >>> sure I haven't broken anything. >>> >>> The technical details: >>> >>> To get proper ordering, I've extended the bus_generic_suspend() and >>> bus_generic_resume() to do multiple passes. Devices which cannot be >>> enabled or disabled at the current pass level would return an EAGAIN. >>> This could possibly cause problems, since it's an addition to an >>> existing API rather than a new API to run along side it, so it needs a >>> great deal of testing. It works fine on PowerPC, but I don't have any >>> i386/amd64 or sparc64 hardware to test it on, so would like others who >>> do to test it. I don't thin >>> >>> Also, any comments are of course welcome. Technical concerns are >>> obviously welcome, and I will try to address everything. >>> >>> Thanks, >>> >>> Justin >> >> Thanks to hrs@, images are now available for the pmac_pmu project on >> allbsd for i386, amd64, sparc64, and ia64: >> https://pub.allbsd.org/FreeBSD-snapshots/ . > > I understand that you provided these so people with another archs could t= est whether it doesn't break anything, but what about actual PPC users? ;) > Considering that powerpc is a Tier 2 these days, it's not that easy even = to get svn quickly for it to grab your tree, so I would ask adding projects= _pmac_pmu to the powerpc building. Thanks. There were some design decisions that people took issue with, so I've been working on that. I plan to merge the bulk of the work into HEAD soon, but only the driver suspend/resume routines. The additional updates for suspending the system as a whole won't be made for some time, due to the intrusiveness of the change. I'm still planning for this to be completed for the 11.0 release, and with the bulk of the work completed, that should be feasible. I don't have a PowerBook4,1 to test with, but I think it should work, but some drivers may not resume properly. - Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTA4dQ%2Bf2%2B62vs-LwJqLcpgnZ9qi5Ss0TDA4YOQcAWLzuw>