Re: [PATCH 05/12] arm64: mm: Remove VMALLOC checks from update_mapping_prot(.)

2017-12-13 Thread Catalin Marinas
On Tue, Dec 12, 2017 at 03:39:23PM +, Steve Capper wrote: > It is not apparent to me how mark_linear_text_alias_ro(.) guarantees > that no page table entries for the linear map are split, though. map_mem() ensures that when mapped via __map_memblock(), no contiguous entries are created. Also

Re: [PATCH 05/12] arm64: mm: Remove VMALLOC checks from update_mapping_prot(.)

2017-12-12 Thread Steve Capper
Hi Ard, On Mon, Dec 04, 2017 at 04:01:09PM +, Ard Biesheuvel wrote: > On 4 December 2017 at 14:13, Steve Capper wrote: > > update_mapping_prot assumes that it will be used on the VA for the > > kernel .text section. (Via the check virt >= VMALLOC_START) > > > > Recent

[PATCH 05/12] arm64: mm: Remove VMALLOC checks from update_mapping_prot(.)

2017-12-04 Thread Steve Capper
update_mapping_prot assumes that it will be used on the VA for the kernel .text section. (Via the check virt >= VMALLOC_START) Recent kdump patches employ this function to modify the protection of the direct linear mapping (which is strictly speaking outside of this area), via