From: "Jayachandran C." <jchandra@broadcom.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH 03/15] MIPS: Netlogic: select MIPSR2 for XLP
Date: Wed, 7 Nov 2012 17:02:01 +0530 [thread overview]
Message-ID: <20121107113200.GC23086@jayachandranc.netlogicmicro.com> (raw)
In-Reply-To: <20121101102455.GA9437@jayachandranc.netlogicmicro.com>
On Thu, Nov 01, 2012 at 03:54:55PM +0530, Jayachandran C. wrote:
> On Wed, Oct 31, 2012 at 02:28:50PM +0100, Ralf Baechle wrote:
> > On Wed, Oct 31, 2012 at 06:31:29PM +0530, Jayachandran C wrote:
> >
> > > Disable PGD_C0_CONTEXT option for XLP, which does not work.
> >
> > Why does this not work on XLP?
> >
>
> I see a kernel crash around the time init starts, planning to
> look at this next. For now, I thought I will enable R2 and disable
> PGD_C0_CONTEXT so that we get the rest of the R2 stuff for XLP.
On XLP the XContext PTEbase is [63:55], but the current code tries to
use XContext [63:48] to store the processor ID, which will not work.
I can probably work around the issue by changing the shift from 51 to
58, but that would not leave enough space for the 128 cpu config we
want to support.
I will send patch to fix this and to use the XLP c0 scratch registers
(cop0 $22) in the tlb handlers. But until the PGD_C0_CONTEXT code is
updated, this patch is probably the best solution.
JC.
next prev parent reply other threads:[~2012-11-07 11:32 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-31 13:01 [PATCH 00/15] Netlogic XLR/XLS/XLP updates Jayachandran C
2012-10-31 13:01 ` [PATCH 01/15] MIPS: oprofile: Support for XLR/XLS processors Jayachandran C
2012-10-31 13:01 ` [PATCH 02/15] MIPS: perf: Add XLP support for hardware perf Jayachandran C
2012-10-31 13:01 ` [PATCH 03/15] MIPS: Netlogic: select MIPSR2 for XLP Jayachandran C
2012-10-31 13:28 ` Ralf Baechle
2012-11-01 10:24 ` Jayachandran C.
2012-11-07 11:32 ` Jayachandran C. [this message]
2012-10-31 13:01 ` [PATCH 04/15] MIPS: Netlogic: Enable SUE bit in cores Jayachandran C
2012-10-31 13:01 ` [PATCH 05/15] MIPS: Netlogic: keep .dtb/.dtb.S until make clean Jayachandran C
2012-11-28 12:22 ` Ralf Baechle
2012-10-31 13:01 ` [PATCH 06/15] MIPS: Netlogic: Move fdt init to plat_mem_setup Jayachandran C
2012-10-31 13:01 ` [PATCH 07/15] MIPS: Netlogic: Fix DMA zone selection for 64-bit Jayachandran C
2012-10-31 13:01 ` [PATCH 08/15] MIPS: Netlogic: Fix interrupt table entry init Jayachandran C
2012-10-31 13:01 ` [PATCH 09/15] MIPS: Netlogic: Pass cpuid to early_init_secondary Jayachandran C
2012-10-31 13:01 ` [PATCH 10/15] MIPS: Netlogic: Update PIC access functions Jayachandran C
2012-10-31 13:01 ` [PATCH 11/15] MIPS: Netlogic: Move from u32 cpumask to cpumask_t Jayachandran C
2012-10-31 13:01 ` [PATCH 12/15] MIPS: Netlogic: Support for multi-chip configuration Jayachandran C
2012-10-31 13:01 ` [PATCH 13/15] MIPS: Netlogic: Make number of nodes configurable Jayachandran C
2012-10-31 13:01 ` [PATCH 14/15] MIPS: Netlogic: PIC IRQ handling update for multi-chip Jayachandran C
2012-10-31 13:01 ` [PATCH 15/15] MIPS: Netlogic: Support for XLR/XLS Fast Message Network Jayachandran C
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=20121107113200.GC23086@jayachandranc.netlogicmicro.com \
--to=jchandra@broadcom.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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