Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2018 22:37:23 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Emmanuel Vadot <manu@bidouilliste.com>, Ian Lepore <ian@freebsd.org>, 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:  <20180804193723.GU6049@kib.kiev.ua>
In-Reply-To: <CANCZdfqFJKRcC0ZnfJ5vSyM37e4MSEhVXUafb9A1vtwyPfTPNg@mail.gmail.com>
References:  <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> <20180804211858.e7ea14c07b239cacf06ef248@bidouilliste.com> <CANCZdfqFJKRcC0ZnfJ5vSyM37e4MSEhVXUafb9A1vtwyPfTPNg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 04, 2018 at 08:28:25PM +0100, Warner Losh wrote:
> When I looked at it, I'd assumed there would be VA range we'd assign to the
> PAs in the EFI table that at the loader and kernel would agree on. The DMAP
> does this on x64 and aarch64, but that's not an option for armv7 nor i386.

It is not DMAP.

Amd64 works by assumption that ROM BIOS and its memory are located at
the physical addresses below 4G. Since kernel is always mapped at upper
half of the virtual address space, we hope that identity mapping for RT
memory can be established over the user half of the VA.

Apparently arm64 makes the same assumption.



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