Re: [PATCH 01/29] arm64: mm: Use non-global mappings for kernel space

From: Alex Shi
Date: Thu Mar 01 2018 - 06:54:18 EST




On 02/28/2018 08:08 PM, Greg KH wrote:
> On Wed, Feb 28, 2018 at 11:56:23AM +0800, Alex Shi wrote:
>> From: Will Deacon <will.deacon@xxxxxxx>
>>
>> commit e046eb0c9bf2 upstream.
>>
>> In preparation for unmapping the kernel whilst running in userspace,
>> make the kernel mappings non-global so we can avoid expensive TLB
>> invalidation on kernel exit to userspace.
>>
>> Reviewed-by: Mark Rutland <mark.rutland@xxxxxxx>
>> Tested-by: Laura Abbott <labbott@xxxxxxxxxx>
>> Tested-by: Shanker Donthineni <shankerd@xxxxxxxxxxxxxx>
>> Signed-off-by: Will Deacon <will.deacon@xxxxxxx>
>> Signed-off-by: Alex Shi <alex.shi@xxxxxxxxxx>
>>
>> Conflicts:
>> skip PTE_RDONLY of PAGE_NONE in arch/arm64/include/asm/pgtable-prot.h
>
> These "Conflicts:" lines need to be removed, or put below the --- line
> please.
>

Thanks response! Greg,

There are still a boot hang on one of renesas board on
CONFIG_RANDOMIZE_BASE. I am trying to get help from Renesas guys help on
this. I will back after fix it.

https://kernelci.org/boot/id/5a96f3dd59b5146590b3a4d5/

Thanks
Alex