[Qemu-devel] [PATCH v2 0/6] target/mips: Add support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE

Stefan Markovic posted 6 patches 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1540821315-28346-1-git-send-email-stefan.markovic@rt-rk.com
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-quick@centos7 passed
include/elf.h                      |  2 +
linux-user/elfload.c               | 37 +++++++++++++++++++
linux-user/mips/cpu_loop.c         | 75 ++++++++++++++++++++++++++++++++++++++
linux-user/mips/target_syscall.h   |  2 +
linux-user/mips64/target_syscall.h |  2 +
linux-user/qemu.h                  |  4 ++
linux-user/syscall.c               | 62 +++++++++++++++++++++++++++++--
7 files changed, 180 insertions(+), 4 deletions(-)
[Qemu-devel] [PATCH v2 0/6] target/mips: Add support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE
Posted by Stefan Markovic 7 years ago
From: Stefan Markovic <smarkovic@wavecomp.com>

This series includes support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE. This requires
extracting MIPS.abiflags section from ELF file and fp_abi value handling.

v1->v2:

  - added commit messages
  - fixed exit() error codes and appropriate exit messages printed
  - minor code alignments

Stefan Markovic (6):
  Define MIPS_ABI_FP_UNKNOWN macro
  Extend image_info struct with MIPS specific fp_abi and    
    interp_fp_abi fields
  Extract MIPS abiflags from ELF file
  Read and set FP ABI value from MIPS abiflags
  Determine the desired FPU mode
  Add prctl() PR_SET_FP_MODE and PR_GET_FP_MODE implementations

 include/elf.h                      |  2 +
 linux-user/elfload.c               | 37 +++++++++++++++++++
 linux-user/mips/cpu_loop.c         | 75 ++++++++++++++++++++++++++++++++++++++
 linux-user/mips/target_syscall.h   |  2 +
 linux-user/mips64/target_syscall.h |  2 +
 linux-user/qemu.h                  |  4 ++
 linux-user/syscall.c               | 62 +++++++++++++++++++++++++++++--
 7 files changed, 180 insertions(+), 4 deletions(-)

-- 
1.9.1


Re: [Qemu-devel] [PATCH v2 0/6] target/mips: Add support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE
Posted by Aleksandar Markovic 7 years ago
> From: Stefan Markovic <stefan.markovic@rt-rk.com>
> Subject: [PATCH v2 0/6] target/mips: Add support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE
> 
> From: Stefan Markovic <smarkovic@wavecomp.com>
> 
> This series includes support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE. This requires
> extracting MIPS.abiflags section from ELF file and fp_abi value handling.

Stefan, the patch titles don't have appropriate prefixes "elf:" and "user-mode:", but I can fix that while integrating.

Laurent, heads up: I plan to include this series in a MIPS pull request that is planned for today.

Thanks,
Aleksandar
Re: [Qemu-devel] [PATCH v2 0/6] target/mips: Add support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE
Posted by Laurent Vivier 7 years ago
Le 29/10/2018 à 15:53, Aleksandar Markovic a écrit :
>> From: Stefan Markovic <stefan.markovic@rt-rk.com>
>> Subject: [PATCH v2 0/6] target/mips: Add support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE
>>
>> From: Stefan Markovic <smarkovic@wavecomp.com>
>>
>> This series includes support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE. This requires
>> extracting MIPS.abiflags section from ELF file and fp_abi value handling.
> 
> Stefan, the patch titles don't have appropriate prefixes "elf:" and "user-mode:", but I can fix that while integrating.
> 
> Laurent, heads up: I plan to include this series in a MIPS pull request that is planned for today.

No problem. I didn't have the time to do anything today.

Thanks,
Laurent