Re: [RFC GIT PULL] "Nuke 386-DX/SX support" changes for v3.8

From: Florian Fainelli
Date: Thu Dec 13 2012 - 11:25:01 EST




Le 12/12/12 19:04, Linus Torvalds a Ãcrit :
On Tue, Dec 11, 2012 at 3:10 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:

This tree removes ancient-386-CPUs support and thus zaps quite a
bit of complexity:

Btw, I think we should probably at least consider taking this one step
further, and remove the dear old FPU emulation support too. Remove
CONFIG_MATH_EMULATION and all of arch/x86/math-emu, along with a lot
of small special cases.

Or do people still use the 486SX?

Yes, the RDC-R321x SoC which is supported by mainline actually needs Math emulation to properly work.


Now, the math emulation hasn't been all that fundamentally problematic
(compared to lack of xadd etc), but it does result in some
complexities in exception handling and ptrace (grep for HAVE_HWFP or
"hard_math" or a number of other magic things). None of which have
likely been tested at all in the last ten years, so who knows if it
actually *works* or not.

Maybe somebody could try booting with "no387". Does it actually work?

Ok, I could try that.
--
Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/