Hexagon: ll/sc fixes, emit TCG barriers, TLB locks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | target/hexagon: emit explicit TCG memory barrierstarget/ | +15 | 0 replies | |
| 2/5 | target/hexagon: clear LL/SC reservations at context boundarieslinux-user/ target/ | +7 | 0 replies | |
| 3/5 | hw/hexagon: protect the shared architectural TLBhw/ include/ | +30 | 0 replies | |
| 4/5 | target/hexagon: publish TLB updates before flushingtarget/ | +2 | 0 replies | |
| 5/5 | tests/tcg/hexagon: cover LL/SC reservation clearingtests/ | +40 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marco Liebel |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Hexagon: ll/sc fixes, emit TCG barriers, TLB locks
While preparing to enable MTTCG, audits and testing revealed gaps and bugs in our implementation.
LL/SC reservations should have been cleared at traps/exceptions.
TLB accesses should hold a lock to make the operations atomic.
Hexagon instructions with barrier or acquire/release semantics should emit corresponding TCG semantics.
Brian Cain (5):
target/hexagon: emit explicit TCG memory barriers target/hexagon: clear LL/SC reservations at context boundaries hw/hexagon: protect the shared architectural TLB target/hexagon: publish TLB updates before flushing tests/tcg/hexagon: cover LL/SC reservation clearing
include/hw/hexagon/hexagon_tlb.h | 5 +++- hw/hexagon/hexagon_tlb.c | 27 ++++++++++++++++++++- linux-user/hexagon/cpu_loop.c | 4 ++++ target/hexagon/cpu.c | 3 +++ target/hexagon/hex_mmu.c | 6 ++--- target/hexagon/translate.c | 15 ++++++++++++ tests/tcg/hexagon/atomics.c | 40 ++++++++++++++++++++++++++++++++ 7 files changed, 94 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1