icinva (icache invalidate addr) instruction was a nop, but this behavior
is not correct for userspace.

Also note that this checkpatch issue was bypassed because I believe
it's appropriate/acceptable to check the "guest" page size in a TCG test
case.

    Patch 1/2 has no obvious style problems and is ready for submission.
    2/2 Checking commit ea94abbfc875 (tests/tcg/hexagon: add icinva test)
    ERROR: use qemu_real_host_page_size() instead of sysconf(_SC_PAGESIZE)
    #74: FILE: tests/tcg/hexagon/icinva.c:56:
    +    long pagesize = sysconf(_SC_PAGESIZE);

Brian Cain (2):
  target/hexagon: invalidate translated code for user icinva
  tests/tcg/hexagon: add icinva test

 target/hexagon/gen_tcg.h          |  9 ++++
 target/hexagon/helper.h           |  4 ++
 target/hexagon/op_helper.c        | 15 +++++++
 target/hexagon/translate.c        |  3 ++
 tests/tcg/hexagon/icinva.c        | 71 +++++++++++++++++++++++++++++++
 tests/tcg/hexagon/Makefile.target |  2 +
 6 files changed, 104 insertions(+)
 create mode 100644 tests/tcg/hexagon/icinva.c

-- 
2.34.1

Reply via email to