mbox series

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

Message ID DS7PR12MB6309FD700EF00EF1EB541CA7AC49A@DS7PR12MB6309.namprd12.prod.outlook.com
Headers show
Series target/arm: allow DC CVA[D]P in user mode emulation | expand

Message

Zhuojia Shen June 1, 2023, 9:53 p.m. UTC
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

Comments

Richard Henderson June 3, 2023, 3:32 a.m. UTC | #1
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~
Peter Maydell June 5, 2023, 4:01 p.m. UTC | #2
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