Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Paul Burton <paul.burton@imgtec.com>
To: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	James Hogan <james.hogan@imgtec.com>,
	"# v4 . 1+" <stable@vger.kernel.org>,
	David Daney <david.daney@cavium.com>,
	Huacai Chen <chenhc@lemote.com>,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	"Paul Gortmaker" <paul.gortmaker@windriver.com>,
	Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"Peter Zijlstra (Intel)" <peterz@infradead.org>,
	David Hildenbrand <dahi@linux.vnet.ibm.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jerome Marchand <jmarchan@redhat.com>,
	Markos Chandras <markos.chandras@imgtec.com>,
	Alex Smith <alex.smith@imgtec.com>,
	"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: Re: [PATCH v2 07/13] MIPS: mm: Fix MIPS32 36b physical addressing (alchemy, netlogic)
Date: Tue, 19 Apr 2016 09:22:00 +0100	[thread overview]
Message-ID: <20160419082200.GA24943@NP-P-BURTON> (raw)
In-Reply-To: <CAOLZvyGWBuUoo3C5V3L9g6Lbswf1cj6=6TSdgehuGeJch8-V=Q@mail.gmail.com>

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@imgtec.com> 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

  reply	other threads:[~2016-04-19  8:22 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-18  9:35 [PATCH v2 00/13] TLB/XPA fixes & cleanups Paul Burton
2016-04-18  9:35 ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 01/13] MIPS: Separate XPA CPU feature into LPA and MVH Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 02/13] MIPS: Fix HTW config on XPA kernel without LPA enabled Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 03/13] MIPS: Remove redundant asm/pgtable-bits.h inclusions Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18 12:36   ` Sergei Shtylyov
2016-04-18  9:35 ` [PATCH v2 04/13] MIPS: Use enums to make asm/pgtable-bits.h readable Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 05/13] MIPS: mm: Standardise on _PAGE_NO_READ, drop _PAGE_READ Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 06/13] MIPS: mm: Unify pte_page definition Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 07/13] MIPS: mm: Fix MIPS32 36b physical addressing (alchemy, netlogic) Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18 13:01   ` James Hogan
2016-04-18 13:01     ` James Hogan
2016-04-18 14:34   ` Manuel Lauss
2016-04-19  8:22     ` Paul Burton [this message]
2016-04-18  9:35 ` [PATCH v2 08/13] MIPS: mm: Don't clobber $1 on XPA TLB refill Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 09/13] MIPS: mm: Pass scratch register through to iPTE_SW Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 10/13] MIPS: mm: Be more explicit about PTE mode bit handling Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 11/13] MIPS: mm: Simplify build_update_entries Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 12/13] MIPS: mm: Don't do MTHC0 if XPA not present Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18  9:35 ` [PATCH v2 13/13] MIPS: mm: Panic if an XPA kernel is run without RIXI Paul Burton
2016-04-18  9:35   ` Paul Burton
2016-04-18 10:04   ` James Hogan
2016-04-18 10:04     ` James Hogan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160419082200.GA24943@NP-P-BURTON \
    --to=paul.burton@imgtec.com \
    --cc=akpm@linux-foundation.org \
    --cc=alex.smith@imgtec.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=chenhc@lemote.com \
    --cc=dahi@linux.vnet.ibm.com \
    --cc=david.daney@cavium.com \
    --cc=james.hogan@imgtec.com \
    --cc=jmarchan@redhat.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    --cc=manuel.lauss@gmail.com \
    --cc=markos.chandras@imgtec.com \
    --cc=paul.gortmaker@windriver.com \
    --cc=peterz@infradead.org \
    --cc=ralf@linux-mips.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox