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

Alex Shi alex.shi at linaro.org
Thu Mar 1 03:53:55 PST 2018



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 at arm.com>
>>
>> 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 at arm.com>
>> Tested-by: Laura Abbott <labbott at redhat.com>
>> Tested-by: Shanker Donthineni <shankerd at codeaurora.org>
>> Signed-off-by: Will Deacon <will.deacon at arm.com>
>> Signed-off-by: Alex Shi <alex.shi at linaro.org>
>>
>> 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



More information about the linux-arm-kernel mailing list