Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2018 21:18:58 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, Kyle Evans <kevans@freebsd.org>, freebsd-current Current <freebsd-current@freebsd.org>, Eitan Adler <eadler@freebsd.org>
Subject:   Re: panic: mutex pmap not owned at ... efirt_machdep.c:255
Message-ID:  <20180804211858.e7ea14c07b239cacf06ef248@bidouilliste.com>
In-Reply-To: <1533397631.9860.14.camel@freebsd.org>
References:  <CAF6rxg=4OnHEJa1OnJerMeEKD66nZg3j-H-XZ-9YAA1TE_NoDQ@mail.gmail.com> <CACNAnaFv9Gj%2BM2Gb8FbwY5q56dnTR6OgjZ5qth9gjr8LreHeow@mail.gmail.com> <20180804083720.GJ6049@kib.kiev.ua> <CACNAnaGZJxm=_oM_f0xinUe2NZ=tZn3w%2BnLTE62_r9EAm0UuTA@mail.gmail.com> <20180804131352.GL6049@kib.kiev.ua> <CACNAnaFUto6gSaDx3vrgnSykRfBhV_Mgx4OLaXJgENvgqjgSHg@mail.gmail.com> <1533394281.9860.5.camel@freebsd.org> <CACNAnaF9vqxrKsOUDTjMhHOyTX==0irDbrHrmLbHUZ_kqH1MSg@mail.gmail.com> <20180804152225.GP6049@kib.kiev.ua> <1533396347.9860.11.camel@freebsd.org> <20180804154327.GQ6049@kib.kiev.ua> <1533397631.9860.14.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 04 Aug 2018 09:47:11 -0600
Ian Lepore <ian@freebsd.org> wrote:

> On Sat, 2018-08-04 at 18:43 +0300, Konstantin Belousov wrote:
> > On Sat, Aug 04, 2018 at 09:25:47AM -0600, Ian Lepore wrote:
> > >=20
> > > On Sat, 2018-08-04 at 18:22 +0300, Konstantin Belousov wrote:
> > > >=20
> > > > On Sat, Aug 04, 2018 at 09:58:43AM -0500, Kyle Evans wrote:
> > > > >=20
> > > > >=20
> > > > > On Sat, Aug 4, 2018 at 9:51 AM, Ian Lepore <ian@freebsd.org> wrot=
e:
> > > > > >=20
> > > > > >=20
> > > > > >=20
> [...]
> > > > > > What do we do on 32-bit arm that has no dmap but may have efi
> > > > > > runtime
> > > > > > support?
> > > > > >=20
> > > > > This should probably just be compiled out for !arm64 && !x86 - its
> > > > > sole purpose was to compensate for outdated loader.efi that hasn't
> > > > > done the SetVirtualAddressMap. EFI on 32-bit ARM is "new" enough
> > > > > that
> > > > > it shouldn't have this problem.
> > > > Does EFI on 32bit arm have RT support ?
> > > I suspect the uboot implementation doesn't, but I can't think of any
> > > reason why other implementations are not possible/available. In
> > > particular, even 32bit arm supports virtualization and such an
> > > environment could provide rt support.
> > No, I mean, does our kernel has RT support on armv7 ?=A0=A0I only imple=
mented
> > necessary VM tricks for amd64, then it was ported to arm64, and in both
> > cases it relies on 64bit address space and specific location of the KVA.
>=20
> I didn't realize the kernel implementation was arch-specific. So I
> guess this comes under the category of "we'll solve that problem when
> something comes along that provides efi rt for arm32."

 U-Boot doesn't provide a runtime service, I never tested the available
port of EDK2 for BBB or RPI, I guess they boot the kernel in
HYP/non-secure mode and install an runtime in secure world along with
some psci firmware.

--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



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