From owner-freebsd-ppc@freebsd.org Sun Mar 20 01:00:36 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4AC8ACE848 for ; Sun, 20 Mar 2016 01:00:36 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADB3E61D for ; Sun, 20 Mar 2016 01:00:36 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io0-x232.google.com with SMTP id o5so92311680iod.2 for ; Sat, 19 Mar 2016 18:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/1PYbKwBfwGGfZfAGmRbjEMErdDw9SbVdricVTKtok8=; b=V0qoxBF4ccy0nXjH69yUSt5gglD7YF6yufOQBZyTELI+JU+EXGydQtmzS/zrV7yMyQ bVd7omDAQyoR3tsQOk1LPjunZ/7SkzKQdE+T2ff6f2iFi9zswY8ZakSz49ySBUeB3rRM ra6Km/5P8V0xHeDsn17zXBjQeX1jw/84v4+XOGyEP1uVYzCm6BjUgfqRMIim9QrKh47a 4ZvaVjyvDZLUnCZk2yosIkUhNcxchfiA25bx5O/9iNSGfEevHeqC4SDZjIJf1VtYhRET 6TUHmttXPmBNqXlT7oQBv22ck9036EferX86YPbqNRTsuKBtQ2OwqSm69uIdr193RYMP /nLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/1PYbKwBfwGGfZfAGmRbjEMErdDw9SbVdricVTKtok8=; b=ioUoCihrkshbp6zAiQEE73sGOIx0Ib8YcDI4AJL76h8GDypPsxd5ctB+xVXR7cDdw7 j9mhHdZ2iADDQx/sNcdI8VvLCRuP8Uz1FaTlENFwGji8OVBFXE2/AiT6cMX0qwIlOxFb q110LFImz+dus+Fl1S6XLAXq/DtDSGUSSqEw1SDHrZ9Y5+tHz5yR2F0B276VvKgl2aLS o6MNq+noNzBw4Wvp90vCMZnYdaHStdUf072eRH5dJpDsbfiJjWjnM570tsVSE6tryFXo ma1TzOfVgpqwCYbE3FOOSy46luwVMDN8iMQ0ej0Kqm55W2/uENZ7m5KtQSOy8WVsBQzT M8yQ== X-Gm-Message-State: AD7BkJJtyIygDW5Fd0V8ettIqe7oTvCuEUAABNxztldgXDy1B3WyVOBTt3UrNDkT1If3Yw== X-Received: by 10.107.166.13 with SMTP id p13mr25683271ioe.140.1458435636035; Sat, 19 Mar 2016 18:00:36 -0700 (PDT) Received: from zhabar.knownspace (c-98-240-160-157.hsd1.mn.comcast.net. [98.240.160.157]) by smtp.gmail.com with ESMTPSA id 40sm8769152ioi.1.2016.03.19.18.00.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Mar 2016 18:00:35 -0700 (PDT) Date: Sat, 19 Mar 2016 20:00:34 -0500 From: Justin Hibbits To: Thomas Rix Cc: "freebsd-ppc@freebsd.org" Subject: Re: Book-E SMP Message-ID: <20160319200034.104e126f@zhabar.knownspace> In-Reply-To: References: <20160319121137.61abbfee@zhabar.knownspace> <20160319135811.489c45b1@zhabar.knownspace> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; 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.21 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 01:00:37 -0000 You'll need a netboot setup for starters, just a kernel will do. Then: * It looks like initial SMP support was introduced in 2009, r192532 (FreeBSD8 era, IIRC). If you can test and start the bisect there, that would be ideal, though I'm not sure if it would build on a recent head (might need to setup a VM for that). * If you see an 'AP launched!' or similar message, everything is fine. It will panic if it fails, or at least print "SMP: CPU * didn't wake up.". * If you see "SMP: CPU * already out of hold-off state!" you'll need to do something else, but I'm not sure (post if you see it, we don't handle that case at all yet). * Realistically, you should just need to bisect over the revisions of sys/powerpc/booke/locore.S and sys/powerpc/booke/pmap.c, which knocks the revision search space from 100k to a couple dozen to get the ballpark beginning. - Justin On Sat, 19 Mar 2016 19:53:18 +0000 Thomas Rix wrote: > Ok, send me the instructions on the baseline setup and the test(s) > you are using to do the bisect. > T > --- > Tom Rix > Sr. Staff Compiler Engineer > trix@juniper.net > > > > > > On 3/19/16, 11:58 AM, "Justin Hibbits" wrote: > > >That would be perfect. > > > >- Justin > > > >On Sat, 19 Mar 2016 18:56:44 +0000 > >Thomas Rix wrote: > > > >> I have p2020, is this good enough to do a) ? > >> T > >> > >> --- > >> Tom Rix > >> Sr. Staff Compiler Engineer > >> trix@juniper.net > >> > >> > >> > >> > >> > >> On 3/19/16, 10:11 AM, "owner-freebsd-ppc@freebsd.org on behalf of > >> Justin Hibbits" >> chmeeedalf@gmail.com> wrote: > >> > >> >Currently SMP is broken on Book-E hardware, and I'm uncertain as > >> >to why. Has anyone had SMP working with stock FreeBSD on Booke-E > >> >hardware in the past? The only SMP book-E hardware I own requires > >> >code support that post-dates anything which may have broken it. > >> >Would anyone be willing to either: > >> > > >> >a) Test the introduction of SMP, and bisect from there to now, on > >> >e500v2 hardware, or > >> >b) loan me hardware to do this? > >> > > >> >I'm looking for dual-core e500v2, as that was the only hardware > >> >FreeBSD booted on at the time SMP was introduced. > >> > > >> >Thanks, > >> >Justin > >> >_______________________________________________ > >> >freebsd-ppc@freebsd.org mailing list > >> >https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > >> >To unsubscribe, send any mail to > >> >"freebsd-ppc-unsubscribe@freebsd.org" > >> > > >