Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 07:02:41 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Wojciech Macek <wma@semihalf.com>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: arm SMP on Cortex-A15
Message-ID:  <1395320561.80941.13.camel@revolution.hippie.lan>
In-Reply-To: <CANsEV8c047SNF61EgP6AiMR2oY=ofcMuTWYZnd60bRmp2Sk9HA@mail.gmail.com>
References:  <CANsEV8euHTsfviiCMP_aet3qYiK2T-oK%2B-37eay7zAPH2S2vaA@mail.gmail.com> <20131220125638.GA5132@mail.bsdpad.com> <20131222092913.GA89153@mail.bsdpad.com> <CANsEV8fSoygoSUyQqKoEQ7tRxjqDOwrPD8dU7O2V2PXRj35j4A@mail.gmail.com> <20131222123636.GA61193@ci0.org> <CANsEV8fWvUkFHi8DP6Nr807RwPDB1iZrO39fpfa44qOkJPidZA@mail.gmail.com> <1395149146.1149.586.camel@revolution.hippie.lan> <1395254911.80941.9.camel@revolution.hippie.lan> <CANsEV8c047SNF61EgP6AiMR2oY=ofcMuTWYZnd60bRmp2Sk9HA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1395320561.80941.13.camel>