qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] target/arm: Add support for FEAT_TLBIOS and FEAT_TLBIRANGE
@ 2021-03-10  0:29 Rebecca Cran
  2021-03-10  0:29 ` [PATCH v3 1/3] target/arm: Add support for FEAT_TLBIRANGE Rebecca Cran
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Rebecca Cran @ 2021-03-10  0:29 UTC (permalink / raw)
  To: Peter Maydell, Richard Henderson, qemu-arm; +Cc: Rebecca Cran, qemu-devel

ARMv8.4 adds the mandatory FEAT_TLBIOS and FEAT_TLBIRANGE. 
They provides TLBI maintenance instructions that extend to the Outer
Shareable domain and that apply to a range of input addresses.
    
Changes from v2 to v3:

o Change the functions in cputlb.c to do a full flush. This should
  only be a short-term implementation.

Testing:
  o Ran scripts/checkpatch.pl: functions in exec-all.h fail,
    but I think that's acceptable?
  o Built all targets
  o Ran test code that executed the new instructions
  o Ran "make test"

Rebecca Cran (3):
  target/arm: Add support for FEAT_TLBIRANGE
  target/arm: Add support for FEAT_TLBIOS
  target/arm: set ID_AA64ISAR0.TLB to 2 for max AARCH64 CPU type

 accel/tcg/cputlb.c      |  22 ++
 include/exec/exec-all.h |  41 +++
 target/arm/cpu.h        |  11 +
 target/arm/cpu64.c      |   1 +
 target/arm/helper.c     | 323 ++++++++++++++++++++
 5 files changed, 398 insertions(+)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-03-16 15:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10  0:29 [PATCH v3 0/3] target/arm: Add support for FEAT_TLBIOS and FEAT_TLBIRANGE Rebecca Cran
2021-03-10  0:29 ` [PATCH v3 1/3] target/arm: Add support for FEAT_TLBIRANGE Rebecca Cran
2021-03-10 19:24   ` Richard Henderson
2021-03-10 21:59     ` Rebecca Cran
2021-03-15 18:34     ` Rebecca Cran
2021-03-15 18:42       ` Richard Henderson
2021-03-16  6:20     ` Rebecca Cran
2021-03-16 15:09       ` Richard Henderson
2021-03-16 15:51         ` Rebecca Cran
2021-03-10  0:29 ` [PATCH v3 2/3] target/arm: Add support for FEAT_TLBIOS Rebecca Cran
2021-03-10 19:32   ` Richard Henderson
2021-03-10  0:29 ` [PATCH v3 3/3] target/arm: set ID_AA64ISAR0.TLB to 2 for max AARCH64 CPU type Rebecca Cran
2021-03-10 19:34   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).