From owner-freebsd-ppc@FreeBSD.ORG Sun Dec 8 23:54:14 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE3E6AF7; Sun, 8 Dec 2013 23:54:14 +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 2DA5B1FB4; Sun, 8 Dec 2013 23:54:14 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id 6so1088691bkj.24 for ; Sun, 08 Dec 2013 15:54:12 -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:cc:content-type; bh=qUk0Jxa5lzK3aBc9AOX7XoNd4JlMUpAfGYdKzXsIZTI=; b=o7sxsBcAJ1oG8XElvWKTeC8jpyOdx7FKu9p1b+s7P2ggFd1de6MrvJpZRgF3EfHGOL LoP0neOmi7uKmD6RrYYOhtpvnP/M0IiIWmTaxa9zkelZQ0aZePM/1MZRQMbN/4KpfDJb zQGL+hMAWyALp6NjBgUw52Ewv+AaVtZ6bQqeQGOZPpUNFCHZzSs7bpiiVkHMUYZXxpGO Kfy+6guaUKV54PcrPQWy7nCi2+2OLAY6qggK5MASdc6lRfvfuB8KuTe61bi5kb0umhlR ZOjYTUtxVX+7k11PNaLWBAx+QVHgnC0YSTPBOlcC+xgIblPuqoqqeHMMdqLEVql18e3Q LxZg== MIME-Version: 1.0 X-Received: by 10.205.38.133 with SMTP id ti5mr18540bkb.179.1386546851910; Sun, 08 Dec 2013 15:54:11 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.90.136 with HTTP; Sun, 8 Dec 2013 15:54:11 -0800 (PST) Received: by 10.205.90.136 with HTTP; Sun, 8 Dec 2013 15:54:11 -0800 (PST) In-Reply-To: <20131208154854.7425d9a7@zhabar.gateway.2wire.net> References: <20131204222113.39fb23dd@zhabar.gateway.2wire.net> <20131208133853.GA75604@alchemy.franken.de> <20131208154854.7425d9a7@zhabar.gateway.2wire.net> Date: Sun, 8 Dec 2013 15:54:11 -0800 X-Google-Sender-Auth: OOKL8NJQdfBfCvHK4wO8KjbWtz4 Message-ID: Subject: Re: Request for testing an alternate branch From: Justin Hibbits To: Marius Strobl Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Current , FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 23:54:15 -0000 On Dec 8, 2013 3:48 PM, "Justin Hibbits" wrote: > > On Sun, 8 Dec 2013 14:38:53 +0100 > Marius Strobl wrote: > > > On Wed, Dec 04, 2013 at 10:21:13PM -0800, 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 think that it would > > > impact x86 at all (testing is obviously required), because the > > > nexus is not an EARLY_DRIVER_MODULE, so all devices would be > > > handled at the same pass. But, I do know the sparc64 has an > > > EARLY_DRIVER_MODULE() nexus, so that will likely be impacted. > > > > > > Also, any comments are of course welcome. Technical concerns are > > > obviously welcome, and I will try to address everything. > > > > Do you have a patch against head? > > > > Marius > > > > Here you go. > > - Justin Oh I must add that this was just a merge, I didn't try compiling this merge, but there were no conflicts so it should build. But images are up on allbsd.org for people to test. -Justin