[PATCH v4 0/2] target/arm: allow DC CVA[D]P in user mode emulation

Zhuojia Shen posted 2 patches 2 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/DS7PR12MB6309FD700EF00EF1EB541CA7AC49A@DS7PR12MB6309.namprd12.prod.outlook.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c               |  6 +--
tests/tcg/aarch64/Makefile.target | 11 ++++++
tests/tcg/aarch64/dcpodp.c        | 63 +++++++++++++++++++++++++++++++
tests/tcg/aarch64/dcpop.c         | 63 +++++++++++++++++++++++++++++++
4 files changed, 139 insertions(+), 4 deletions(-)
create mode 100644 tests/tcg/aarch64/dcpodp.c
create mode 100644 tests/tcg/aarch64/dcpop.c
[PATCH v4 0/2] target/arm: allow DC CVA[D]P in user mode emulation
Posted by Zhuojia Shen 2 years, 8 months ago
This patch series enables executing DC CVAP and DC CVADP instructions in
AArch64 Linux user mode emulation and adds proper TCG tests.

Changes in v4:
- Add copyright and license header in new files

Changes in v3:
- Fix typo of HWCAP2_DCPODP
- Split tests into a separate patch
- Remove unnecessary handling of SIGILL in tests
- Merge 4 tests into 2

Changes in v2:
- Fix code to deal with unmapped address
- Add tests for DC'ing unmapped address

Zhuojia Shen (2):
  target/arm: allow DC CVA[D]P in user mode emulation
  tests/tcg/aarch64: add DC CVA[D]P tests

 target/arm/helper.c               |  6 +--
 tests/tcg/aarch64/Makefile.target | 11 ++++++
 tests/tcg/aarch64/dcpodp.c        | 63 +++++++++++++++++++++++++++++++
 tests/tcg/aarch64/dcpop.c         | 63 +++++++++++++++++++++++++++++++
 4 files changed, 139 insertions(+), 4 deletions(-)
 create mode 100644 tests/tcg/aarch64/dcpodp.c
 create mode 100644 tests/tcg/aarch64/dcpop.c

-- 
2.40.1
Re: [PATCH v4 0/2] target/arm: allow DC CVA[D]P in user mode emulation
Posted by Peter Maydell 2 years, 8 months ago
On Thu, 1 Jun 2023 at 23:09, Zhuojia Shen <chaosdefinition@hotmail.com> wrote:
>
> This patch series enables executing DC CVAP and DC CVADP instructions in
> AArch64 Linux user mode emulation and adds proper TCG tests.



Applied to target-arm.next, thanks.

-- PMM
Re: [PATCH v4 0/2] target/arm: allow DC CVA[D]P in user mode emulation
Posted by Richard Henderson 2 years, 8 months ago
On 6/1/23 14:53, Zhuojia Shen wrote:
> Zhuojia Shen (2):
>    target/arm: allow DC CVA[D]P in user mode emulation
>    tests/tcg/aarch64: add DC CVA[D]P tests
> 
>   target/arm/helper.c               |  6 +--
>   tests/tcg/aarch64/Makefile.target | 11 ++++++
>   tests/tcg/aarch64/dcpodp.c        | 63 +++++++++++++++++++++++++++++++
>   tests/tcg/aarch64/dcpop.c         | 63 +++++++++++++++++++++++++++++++
>   4 files changed, 139 insertions(+), 4 deletions(-)
>   create mode 100644 tests/tcg/aarch64/dcpodp.c
>   create mode 100644 tests/tcg/aarch64/dcpop.c

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~