[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] target/arm/arch_dump: Add SVE notes
From: |
Richard Henderson |
Subject: |
Re: [PATCH v3] target/arm/arch_dump: Add SVE notes |
Date: |
Wed, 16 Oct 2019 11:47:11 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 10/16/19 9:37 AM, Andrew Jones wrote:
> When dumping a guest with dump-guest-memory also dump the SVE
> registers if they are in use.
>
> Signed-off-by: Andrew Jones <address@hidden>
> ---
> v3:
> - Pulled sve_bswap64 out of kvm64.c and reused it here
> - Changed fpsr_offset and sve_size to only align to a
> 16 byte boundary from the note payload offset, not
> from the note head. Doing this makes it consistent
> with the documentation and what gcore does. Testing
> shows that the elf headers and gdb are still happy.
> - Added blank lines between functions
>
>
> include/elf.h | 2 +
> target/arm/arch_dump.c | 124 ++++++++++++++++++++++++++++++++++++++++-
> target/arm/cpu.h | 25 +++++++++
> target/arm/kvm64.c | 24 --------
> 4 files changed, 149 insertions(+), 26 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~