[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v11 00/12] linux-user: User support for AArch64 BTI
From: |
Richard Henderson |
Subject: |
Re: [PATCH v11 00/12] linux-user: User support for AArch64 BTI |
Date: |
Wed, 21 Oct 2020 10:04:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 10/20/20 1:09 PM, Peter Maydell wrote:
> On Fri, 16 Oct 2020 at 19:42, Richard Henderson
> <richard.henderson@linaro.org> wrote:
>>
>> The kernel abi for this was merged in v5.8, just as the qemu 5.1
>> merge window was closing, so this slipped to the next dev cycle.
>>
>> Changes from v10:
>> * Include Phil's plug of interp_name memory leak.
>> * Convert error reporting to Error api.
>> * Mirror the kernel's code structure for parsing notes
>> (though Error means that it's not exactly the same).
>> * Split aarch64 stuff from basic note parsing patch.
>>
>> Changes from v9:
>> * Split what is now patch 7 into 3 more (pmm).
>> * All prerequisites are now upstream.
>
> Unfortunately the bti-2 test dumps core (x86-64 Linux host):
This is odd. Works on my laptop,
TEST pauth-1 on aarch64
TEST pauth-2 on aarch64
TEST pauth-4 on aarch64
TEST pauth-5 on aarch64
TEST bti-1 on aarch64
TEST bti-2 on aarch64
TEST semihosting on aarch64
However, this crashes on an aarch64 host. Looking at the trace, the compiler
generated bad code -- the difference of two symbols resulted in 0. So we never
copied the test code to the mmaped page.
I assume your x86_64 build is using the docker images for cross-compile? I
wonder if my laptop is picking up a local cross-compiler instead. And then the
aarch64 host compiler has the same problem as the docker version?
r~
- [PATCH v11 03/12] include/elf: Add defines related to GNU property notes for AArch64, (continued)
- [PATCH v11 03/12] include/elf: Add defines related to GNU property notes for AArch64, Richard Henderson, 2020/10/16
- [PATCH v11 07/12] linux-user/elfload: Move PT_INTERP detection to first loop, Richard Henderson, 2020/10/16
- [PATCH v11 05/12] linux-user/elfload: Fix coding style in load_elf_image, Richard Henderson, 2020/10/16
- [PATCH v11 10/12] linux-user/elfload: Parse NT_GNU_PROPERTY_TYPE_0 notes, Richard Henderson, 2020/10/16
- [PATCH v11 11/12] linux-user/elfload: Parse GNU_PROPERTY_AARCH64_FEATURE_1_AND, Richard Henderson, 2020/10/16
- [PATCH v11 12/12] tests/tcg/aarch64: Add bti smoke tests, Richard Henderson, 2020/10/16
- Re: [PATCH v11 00/12] linux-user: User support for AArch64 BTI, no-reply, 2020/10/16
- Re: [PATCH v11 00/12] linux-user: User support for AArch64 BTI, Peter Maydell, 2020/10/20
- Re: [PATCH v11 00/12] linux-user: User support for AArch64 BTI, Peter Maydell, 2020/10/20
- Re: [PATCH v11 00/12] linux-user: User support for AArch64 BTI,
Richard Henderson <=