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. Thiemo