From: Allen Pais <allen.pais@xxxxxxxxxx> Date: Sun, 24 Aug 2014 11:49:29 +0530 > David, >> >>> @@ -414,6 +414,8 @@ sun4v_chip_type: >>> cmp %g2, 'T' >>> be,pt %xcc, 70f >>> cmp %g2, 'M' >>> + be,pt %xcc, 71f >>> + nop >>> bne,pn %xcc, 49f >>> nop >> >> This code block is supposed to fallthrough when %g2 is 'M' so that >> we accept all of "{T,M}345..." but your change is breaking that >> such that we will now only accept "M" as a prefix for "7". >> >> That's a regression. >> >> All you have to do is add the new comparison against '7' in the >> "70:" label code block, and you're done. >> > > When we are on this topic, here's a patch that attempts to simplify > cpu detection. > > Here's a quick diff. You can't call C code until you've cleared the BSS, you can't clear the BSS until you hook up the proper optimized routines, you can't hook up the proper optimized routined until you know the cpu type. I would have done this years ago otherwise. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html