Android and compatibility with deprecated armv7 instructions

Arnd Bergmann arnd at arndb.de
Mon Jul 7 14:26:38 PDT 2014


On Monday 07 July 2014, Catalin Marinas wrote:
> > - running an old arm7tdmi rtos build that you lost the source code for
> >   but that would be cheaper to run on a new cortex-a7 emulating the
> >   peripherals than to rewrite and revalidate
> 
> That's a too rare case to justify the additional CPU gates.

For trapping just a few extra instructions? That doesn't sound too
expensive.

> > - running OABI binaries in a 32-bit guest on an armv8 (or future version)
> 
> But you can already run an ARMv7 kernel now with OABI enabled on an
> ARMv8 (either native or guest).
> 
> > - testing armv4 kernel builds in a kvm guest using qemu models
> 
> Again, this would require pre-ARMv6 MMU to be carried over for little
> benefit (well, just to developers but hard to justify ARMv4 hardware
> compatibility to marketing).

I don't think anybody was talking about emulating the MMU in hardware.
It doesn't have to be fast, so you'd just do shadow page tables.



	Arnd



More information about the linux-arm-kernel mailing list