Re: arm64: allocate an empty user map for kernel mode.

2017-03-17 Thread Mark Kettenis
> Date: Fri, 17 Mar 2017 16:12:13 -0400 > From: Dale Rahn > > When the kernel switches to the kernel pmap, the pmap had been previously > leaving the ttbr0 unmodified as the kernel pmap space is all accesse thru > ttbr1. Well at one point the ttbr0 was updated with the ttbr1 content, but > that c

arm64: allocate an empty user map for kernel mode.

2017-03-17 Thread Dale Rahn
When the kernel switches to the kernel pmap, the pmap had been previously leaving the ttbr0 unmodified as the kernel pmap space is all accesse thru ttbr1. Well at one point the ttbr0 was updated with the ttbr1 content, but that caused MASSIVE failures. This diff add an allocation of a zeroed/empty