ia32 emulation on Pentium I

From: Dmitry Mikushin
Date: Fri Dec 13 2013 - 13:30:20 EST


Dear all,

I'm trying to enable ia32 emulation in k1om kernel. Linux kernel is
ported for k1om, but with ia32 emulation disabled. With it enabled,
I'm getting the following error:

LD arch/x86/crypto/built-in.o
AS arch/x86/ia32/ia32entry.o
arch/x86/ia32/ia32entry.S: Assembler messages:
arch/x86/ia32/ia32entry.S:192: Error: `sysexit' is not supported on `k1om'
make[2]: *** [arch/x86/ia32/ia32entry.o] Error 1
make[1]: *** [arch/x86/ia32] Error 2
make: *** [arch/x86] Error 2

sysexit is not supported because k1om (Intel MIC) is essentially Pentium
I with AVX512 extensions.

sysexit is used in macro ENABLE_INTERRUPTS_SYSEXIT32, which is in turn
used in ENTRY(ia32_sysenter_target).

So, it seems ia32 emulation assumes Pentium II+. Do you see a quick
way to make it Pentium I -compatible?

Thanks,
- D.
--
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/