From owner-freebsd-current@FreeBSD.ORG Fri Dec 6 19:40:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03F6CBFA; Fri, 6 Dec 2013 19:40:44 +0000 (UTC) Received: from mail-bk0-x233.google.com (mail-bk0-x233.google.com [IPv6:2a00:1450:4008:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68A0919CB; Fri, 6 Dec 2013 19:40:43 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id 6so462105bkj.24 for ; Fri, 06 Dec 2013 11:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=x+GF19EtDl338fl4rJ5X9FI6uDdzdZvt72n5UVwu8pQ=; b=dt3oiExMRjpTNn/kOAxEuUM9vMiUhXkhsGjwziAFhv52BsvNbmJNJz/I7akuq/cGm4 D4pc/3+fHuA4rF3ite05tFhVIyalllVB15mtRcwg25i6c8495rpl8xXDhf4LN5XdyBEv nlkaofuTpeY9bVpr/8+rx0DA0wXLICzh2LDOcUlPpNtZzpFQSduonI4STyachEcEtbQ2 N9tieTTytgLzhKXYbcUWcywiZOA+zmxN64nNsciQuK1CjAnib/vYLDDipz12s5RoNwLj v747qCUx7j213bCF2w0ugelxbEE5c6MKzsVFt449DrjzWG6qczaq4SJr5EUIfq3Bkhkp Z1pQ== MIME-Version: 1.0 X-Received: by 10.204.238.195 with SMTP id kt3mr241bkb.169.1386358841671; Fri, 06 Dec 2013 11:40:41 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.90.136 with HTTP; Fri, 6 Dec 2013 11:40:41 -0800 (PST) In-Reply-To: <20131204221956.07c27546@zhabar.gateway.2wire.net> References: <20131204221956.07c27546@zhabar.gateway.2wire.net> Date: Fri, 6 Dec 2013 11:40:41 -0800 X-Google-Sender-Auth: VJ8mCf7ImvEBsfcdUh7pK4bOjas Message-ID: Subject: Re: Request for testing an alternate branch From: Justin Hibbits To: FreeBSD Current , FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 19:40:44 -0000 On Wed, Dec 4, 2013 at 10:19 PM, Justin Hibbits wrote: > 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. 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/ . - Justin