qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH v2 1/2] linux-user: Add ELF_PLATFORM for arm


From: Richard Henderson
Subject: Re: [Qemu-arm] [PATCH v2 1/2] linux-user: Add ELF_PLATFORM for arm
Date: Tue, 12 Feb 2019 13:44:53 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 2/12/19 12:31 AM, Laurent Vivier wrote:
> I know nothing about ARM, but in kernel we have also a "v5t"
> (cpu_elf_name) and in QEMU we have a ARM_FEATURE_V4T which is set with
> ARM_FEATURE_V5. Is it related?

>From the ARM ARM (DDI 0406C, page A1-30):

The valid variants of ARMv4, ARMv5, and ARMv6 are as follows:
ARMv4, ARMv4T, ARMv5T, ARMv5TE, ARMv5TEJ, ARMv6, ARMv6K, ARMv6T2

So all v5 are "t".  The use of "v5t" within the kernel seems to be an outlier
and perhaps a bug to be squashed:

$ grep -r cpu_elf_name . | grep v5
./mm/proc-xsc3.S:       string  cpu_elf_name, "v5"
./mm/proc-arm1020.S:    string  cpu_elf_name, "v5"
./mm/proc-arm946.S:     string  cpu_elf_name, "v5t"
./mm/proc-arm1020e.S:   string  cpu_elf_name, "v5"
./mm/proc-arm1022.S:    string  cpu_elf_name, "v5"
./mm/proc-feroceon.S:   string  cpu_elf_name, "v5"
./mm/proc-xscale.S:     string  cpu_elf_name, "v5"
./mm/proc-mohawk.S:     string  cpu_elf_name, "v5"
./mm/proc-arm926.S:     string  cpu_elf_name, "v5"
./mm/proc-arm1026.S:    string  cpu_elf_name, "v5"


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]