[Top] [All Lists]

Re: [PATCH] Use a sensible tlbex default for unknown CPUs

To: Ralf Baechle <>
Subject: Re: [PATCH] Use a sensible tlbex default for unknown CPUs
From: Thiemo Seufer <>
Date: Thu, 25 Oct 2007 17:53:13 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.5.16 (2007-06-11)
Ralf Baechle wrote:
> On Thu, Oct 25, 2007 at 04:59:12PM +0100, Thiemo Seufer wrote:
> > currently the kernel panics when it boots on an unknown CPU model
> > (with an unknown PRID). Based on the assumption that the majority
> > of newly supported CPU will conform to Release 2 standard, I wrote
> > the appended patch which handles unknown CPUs as R2. It isn't
> > completely bulletproof, as (yet unsupported) non-R1/R2 CPUs may
> > use the AT config bits for different purposes. I still think this
> > is good enough a test.
> > 
> > This patch allows me to boot Linux on a "generic" MIPS64R2 Qemu
> > without making up a potentially conflicting PRID. All-zeroes
> > like for other undefined fields does fine.
> It's a little more elegant with cpu_has_mips_r2.  So how about below patch.

Fine with me.


<Prev in Thread] Current Thread [Next in Thread>