[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 20/20] target/loongarch: Add linux-user emulation support
From: |
Song Gao |
Subject: |
Re: [PATCH 20/20] target/loongarch: Add linux-user emulation support |
Date: |
Wed, 30 Jun 2021 09:59:13 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux mips64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hi, Peter,
On 06/29/2021 09:42 PM, Peter Maydell wrote:
> On Mon, 28 Jun 2021 at 13:05, Song Gao <gaosong@loongson.cn> wrote:
>>
>> Add files to linux-user/loongarch64
>> Add file to default-configs
>> Add loongarch to target/meson.build
>>
>> Signed-off-by: Song Gao <gaosong@loongson.cn>
>> ---
>> MAINTAINERS | 1 +
>> default-configs/targets/loongarch64-linux-user.mak | 4 +
>> include/elf.h | 2 +
>> linux-user/elfload.c | 58 ++++
>> linux-user/loongarch64/cpu_loop.c | 177 ++++++++++++
>> linux-user/loongarch64/signal.c | 193 +++++++++++++
>> linux-user/loongarch64/sockbits.h | 1 +
>> linux-user/loongarch64/syscall_nr.h | 307
>> +++++++++++++++++++++
>> linux-user/loongarch64/target_cpu.h | 36 +++
>> linux-user/loongarch64/target_elf.h | 14 +
>> linux-user/loongarch64/target_fcntl.h | 12 +
>> linux-user/loongarch64/target_signal.h | 28 ++
>> linux-user/loongarch64/target_structs.h | 49 ++++
>> linux-user/loongarch64/target_syscall.h | 46 +++
>> linux-user/loongarch64/termbits.h | 229 +++++++++++++++
>> linux-user/syscall_defs.h | 8 +-
>> meson.build | 2 +-
>> qapi/machine-target.json | 4 +-
>> target/loongarch/meson.build | 19 ++
>> target/meson.build | 1 +
>> 20 files changed, 1185 insertions(+), 6 deletions(-)
>
> This is a massive patch that would benefit from being split up
> into multiple smaller patches.
>
> I'm told by a kernel developer that loongarch hasn't yet been
> accepted into the Linux kernel mainline. Until it has been, the
> syscall ABI for it is not yet stable, so we won't be able to take
> the linux-user patches for it yet. (We have been burned in the
> past by taking linux-user architecture support patches without
> realizing they weren't for a stable ABI, and then being out of
> sync with the eventual upstream kernel ABI that was accepted.)
>
> We can certainly do code review in the meantime, though.
>
> thanks
> -- PMM
>
Accept, I can divide this patch into 2 or 3 smaller patches.
thanks
- [PATCH 12/20] target/loongarch: Add fixed point extra instruction translation, (continued)
- [PATCH 12/20] target/loongarch: Add fixed point extra instruction translation, Song Gao, 2021/06/28
- [PATCH 11/20] target/loongarch: Add fixed point atomic instruction translation, Song Gao, 2021/06/28
- [PATCH 15/20] target/loongarch: Add floating point conversion instruction translation, Song Gao, 2021/06/28
- [PATCH 14/20] target/loongarch: Add floating point comparison instruction translation, Song Gao, 2021/06/28
- [PATCH 13/20] target/loongarch: Add floating point arithmetic instruction translation, Song Gao, 2021/06/28
- [PATCH 20/20] target/loongarch: Add linux-user emulation support, Song Gao, 2021/06/28
- Re: [PATCH 20/20] target/loongarch: Add linux-user emulation support,
Song Gao <=
[PATCH 18/20] target/loongarch: Add branch instruction translation, Song Gao, 2021/06/28
[PATCH 16/20] target/loongarch: Add floating point move instruction translation, Song Gao, 2021/06/28
[PATCH 17/20] target/loongarch: Add floating point load/store instruction translation, Song Gao, 2021/06/28
[PATCH 19/20] target/loongarch: Add disassembler, Song Gao, 2021/06/28
[PATCH 05/20] target/loongarch: Add memory management support, Song Gao, 2021/06/28
[PATCH 06/20] target/loongarch: Add main translation routines, Song Gao, 2021/06/28