From owner-freebsd-ppc@FreeBSD.ORG Sun Dec 8 17:31:33 2013 Return-Path: Delivered-To: freebsd-ppc@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 3E72643B; Sun, 8 Dec 2013 17:31:33 +0000 (UTC) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 94E1C11BE; Sun, 8 Dec 2013 17:31:32 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id u14so1025042bkz.11 for ; Sun, 08 Dec 2013 09:31:31 -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=65R1zGwCacSn8CjMKVS8NNRT3Sa8kS3413LwyUfzTr0=; b=jFnvmYZ9BwiBJRS6LCVOQ3R82+NI+PzAMBqX+szI9zA7LPC8o34qfy1ViWzQUE7P9A k7rSUh0dWU4Ykuj1j2+Ax/7H4WpX+pU648EleYzEN8ppgF42nuBPgLgmAmoxDvwyDl+d KQxuKzRhXiqKDReaRRSPMj6P7yj4iVA0wKp+VI2O0AjsdeNqv5WGK6fSXn1zZNhL4ds0 k+DzXLPwwAwvwHkPiZePl0FA1nmyagiSEAWyl8MQg4AEpgDdyBIvQk7zULS8RrmkXSzr vsysjn/XZtaSnRSo+V4D0otm+sGm/QLik/VVcjIoV0FyMx08bZdVj+ofUjCaT5x/6hu4 ZpXg== MIME-Version: 1.0 X-Received: by 10.205.105.3 with SMTP id do3mr1013350bkc.86.1386523890958; Sun, 08 Dec 2013 09:31:30 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.90.136 with HTTP; Sun, 8 Dec 2013 09:31:30 -0800 (PST) Received: by 10.205.90.136 with HTTP; Sun, 8 Dec 2013 09:31:30 -0800 (PST) In-Reply-To: <20131208133853.GA75604@alchemy.franken.de> References: <20131204222113.39fb23dd@zhabar.gateway.2wire.net> <20131208133853.GA75604@alchemy.franken.de> Date: Sun, 8 Dec 2013 09:31:30 -0800 X-Google-Sender-Auth: XbWfv1rJUkOCV6563Wd7KiPf9Ow 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 17:31:33 -0000 On Dec 8, 2013 5:39 AM, "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 > I can generate one today. - Justin