Re: [PATCH v2 07/13] MIPS: mm: Fix MIPS32 36b physical addressing (alchemy, netlogic)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 18, 2016 at 04:34:10PM +0200, Manuel Lauss wrote:
> On Mon, Apr 18, 2016 at 11:35 AM, Paul Burton <paul.burton@xxxxxxxxxx> wrote:
> > There are 2 distinct cases in which a kernel for a MIPS32 CPU
> > (CONFIG_CPU_MIPS32=y) may use 64 bit physical addresses
> > (CONFIG_PHYS_ADDR_T_64BIT=y):
> >
> >   - 36 bit physical addressing as used by RMI Alchemy & Netlogic XLP/XLR
> >     CPUs.
> >
> >   - MIPS32r5 eXtended Physical Addressing (XPA).
> 
> This hunk here gives me a build failure on Alchemy:
> 
> /home/mano/dev/db1200/kernel/linux/arch/mips/mm/init.c: In function
> '__kmap_pgprot':
> /home/mano/dev/db1200/kernel/linux/arch/mips/mm/init.c:116:28: error:
> '_PFNX_MASK' undeclared (first use in this function)
>    entrylo = (pte.pte_low & _PFNX_MASK);

Hi Manuel,

Sorry, I was trying to avoid #ifdef's too much in patch 12... v3 coming
shortly.

Thanks,
    Paul




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux