From owner-freebsd-ppc@FreeBSD.ORG Thu Dec 5 06:21:20 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 BAB3924F; Thu, 5 Dec 2013 06:21:20 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8B16A104B; Thu, 5 Dec 2013 06:21:20 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id v10so24112660pde.0 for ; Wed, 04 Dec 2013 22:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=P05zZko8db4pnU31AiurwEtSLKxWDSGgEnCheOzzHM8=; b=JaQBRSHfObDQcMby423i4C+h1JX8et0wwBdSwLuIi8iITZ7xlEAIzibVbmrI8P+SlK +Bg3beEVsPugxTtU2kvbqIJSasA4NCVDNULZTB6YI8dbXNP7U7vn6HBKAwDmwVRT9P9g 8GgHonEaXgtRx1vBlPz1UJUFT8Nb4y4d8sqzlc8Ip0els7RSlkrfocUxsCqKKQZ/MvGx 8xM3ipo+07GKRHvuwW/KSiJ4r0unByWAUzUOcIF9BH6012tiDVaPIkIWAOsP/fmIgQFs YkCTNA8NyOrAoRs7lBJXLGqB16GHuC6w6CHw8BPT8ILYqYj2Tlthqr+xPhdwNSGsYe/2 u0eQ== X-Received: by 10.66.13.138 with SMTP id h10mr22588163pac.148.1386224480066; Wed, 04 Dec 2013 22:21:20 -0800 (PST) Received: from zhabar.gateway.2wire.net (76-253-2-5.lightspeed.sntcca.sbcglobal.net. [76.253.2.5]) by mx.google.com with ESMTPSA id ef10sm163680886pac.1.2013.12.04.22.21.18 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 04 Dec 2013 22:21:19 -0800 (PST) Sender: Justin Hibbits Date: Wed, 4 Dec 2013 22:21:13 -0800 From: Justin Hibbits To: FreeBSD Current , FreeBSD PowerPC ML Subject: Request for testing an alternate branch Message-ID: <20131204222113.39fb23dd@zhabar.gateway.2wire.net> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; powerpc64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Thu, 05 Dec 2013 06:21:20 -0000 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. Thanks, Justin