Re: [PATCH v1] arm64:mm: enable the kernel execute attribute for HEAD_TEXT segment

2015-03-26 Thread yuanzhichang
Hi, Mark On 2015/3/27 6:10, Mark Rutland wrote: On Thu, Mar 26, 2015 at 01:53:48PM +, Zhichang Yuan wrote: From: yuanzhichang In the patch whose title is "add better page protections to arm64" (commit da141706aea52c1a9fbd28cb8d289b78819f5436), The direct mapping page table entries for H

Re: [PATCH v1] arm64:mm: enable the kernel execute attribute for HEAD_TEXT segment

2015-03-26 Thread Mark Rutland
On Thu, Mar 26, 2015 at 01:53:48PM +, Zhichang Yuan wrote: > From: yuanzhichang > > In the patch whose title is "add better page protections to arm64" > (commit da141706aea52c1a9fbd28cb8d289b78819f5436), The direct mapping > page table entries for HEAD_TEXT segment were configured as PAGE_KER

Re: [PATCH v1] arm64:mm: enable the kernel execute attribute for HEAD_TEXT segment

2015-03-26 Thread Ard Biesheuvel
On 26 March 2015 at 14:53, Zhichang Yuan wrote: > From: yuanzhichang > > In the patch whose title is "add better page protections to arm64" > (commit da141706aea52c1a9fbd28cb8d289b78819f5436), The direct mapping > page table entries for HEAD_TEXT segment were configured as PAGE_KERNEL, > without

[PATCH v1] arm64:mm: enable the kernel execute attribute for HEAD_TEXT segment

2015-03-26 Thread Zhichang Yuan
From: yuanzhichang In the patch whose title is "add better page protections to arm64" (commit da141706aea52c1a9fbd28cb8d289b78819f5436), The direct mapping page table entries for HEAD_TEXT segment were configured as PAGE_KERNEL, without the executable attribute. But when the secondary CPUs are bo