From owner-freebsd-arm@FreeBSD.ORG Thu Mar 20 13:02:47 2014 Return-Path: Delivered-To: freebsd-arm@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 3D1E0483 for ; Thu, 20 Mar 2014 13:02:47 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0DC97165 for ; Thu, 20 Mar 2014 13:02:46 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WQccP-000EGd-9V; Thu, 20 Mar 2014 13:02:45 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s2KD2gKF070775; Thu, 20 Mar 2014 07:02:42 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX181SOgwFLWkBpLB2Uhjq9M6 Subject: Re: arm SMP on Cortex-A15 From: Ian Lepore To: Wojciech Macek In-Reply-To: References: <20131220125638.GA5132@mail.bsdpad.com> <20131222092913.GA89153@mail.bsdpad.com> <20131222123636.GA61193@ci0.org> <1395149146.1149.586.camel@revolution.hippie.lan> <1395254911.80941.9.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Thu, 20 Mar 2014 07:02:41 -0600 Message-ID: <1395320561.80941.13.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2014 13:02:47 -0000 On Thu, 2014-03-20 at 08:42 +0100, Wojciech Macek wrote: > Hi Ian, > > Thanks, I looked at your patch and tried to run it. Unfortunatelly, it is > still something wrong on A15 core. Your changes in pmap_kenter_internal do > cause panics during startup. Apparently we still need to do > cpu_tlb_flushID_SE(va) at the end of that function... but that is weird. I > made this small "fix" and I'm able to boot the system. I'm going to run > stress tests now to see if it is stable. > > Regarding DEBUG, that is really interesting. It you see that on A9 that > seems to be even worse, because suggests a flaw in pmap logic... > > Wojtek Hmmm, do you have r263251? I just noticed that my version of the change to pmap_kenter_internal uses cpu_tlb_flushD_SE(), yours uses cpu_tlb_flushID_SE(). I wonder if changing mine to ID is all it takes to make your system boot? -- Ian