Re: [PATCH v2] ARC: Use 40-bit physical page mask for PAE

2021-05-10 Thread Vineet Gupta
On 4/27/21 5:12 AM, Vladimir Isaev wrote: > 32-bit PAGE_MASK can not be used as a mask for physical addresses > when PAE is enabled. PAGE_MASK_PHYS must be used for physical > addresses instead of PAGE_MASK. > > Without this, init gets SIGSEGV if pte_modify was called: > > potentially unexpected fa

[PATCH v2] ARC: Use 40-bit physical page mask for PAE

2021-04-27 Thread Vladimir Isaev
32-bit PAGE_MASK can not be used as a mask for physical addresses when PAE is enabled. PAGE_MASK_PHYS must be used for physical addresses instead of PAGE_MASK. Without this, init gets SIGSEGV if pte_modify was called: potentially unexpected fatal signal 11. Path: /bin/busybox CPU: 0 PID: 1 Comm: