32-bit PAGE_MASK can not be used as a mask for physical addresses
when PAE is enabled. PHYSICAL_PAGE_MASK must be used for physical
addresses instead of PAGE_MASK.
Signed-off-by: Vladimir Isaev
---
arch/arc/include/asm/pgtable.h | 12 +++-
arch/arc/include/uapi/asm/page.h | 7
Commit 4af22ded0ecf ("arc: fix memory initialization for systems with two
memory banks") fixed highmem, but not for PAE case when highmem is
actually bigger than lowmem.
Signed-off-by: Vladimir Isaev
Cc: Mike Rapoport
---
arch/arc/mm/init.c | 2 +-
1 file changed, 1 insertion(+),
Hi Mike,
On Mon, April 26, 2021 2:29 PM, Mike Rapoport wrote:
> On Mon, Apr 26, 2021 at 01:10:04PM +0300, Vladimir Isaev wrote:
> > - max_zone_pfn[ZONE_HIGHMEM] = min_low_pfn;
> > + max_zone_pfn[ZONE_HIGHMEM] = max_high_pfn;
>
> This is correct with PAE40, but it w
Hi,
On Monday, April 26, 2021 7:30 PM, Vineet Gupta wrote:
> On 4/26/21 3:08 AM, Vladimir Isaev wrote:
>
> >
> > #endif /* _UAPI__ASM_ARC_PAGE_H */
> > diff --git a/arch/arc/mm/ioremap.c b/arch/arc/mm/ioremap.c
> > index fac4adc90204..eb109d57d544 100644
&
r19: 0x r20: 0x
r21: 0x r22: 0x r23: 0x
r24: 0x r25: 0x0018a488
Kernel panic - not syncing: Attempted to kill init! exitcode=0x000b
Signed-off-by: Vladimir Isaev
Reported-by: kernel test robot
Cc: Vineet Gupta
Cc: sta...@vger.kernel.org
rnel taint
This is because the fix expects highmem to be always less than
lowmem and uses min_low_pfn as an upper zone border for highmem.
max_high_pfn should be ok for both highmem and highmem+PAE cases.
Signed-off-by: Vladimir Isaev
Cc: Mike Rapoport
Cc: Vineet Gupta
---
Changes for v2:
orted-by: Cupertino Miranda
Signed-off-by: Vladimir Isaev
Signed-off-by: Vineet Gupta
---
elf/dl-runtime.c | 6 +++---
sysdeps/hppa/dl-fptr.c| 2 +-
sysdeps/i386/dl-machine.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/elf/dl-runtime.c b/elf/dl-runtime
On Jul 22 2021, Andreas Schwab wrote:
>
> On Jul 22 2021, Vladimir Isaev via Libc-alpha wrote:
>
> > diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
> > index 9d0d941000..6099a44ffb 100644
> > --- a/elf/dl-runtime.c
> > +++ b/elf/dl-runtime.c
> > @@