Notice: We have migrated to GitLab launching 2024-05-01 see here:

#4551 closed defect (fixed)

Workaround for GRLIB-TN-0011 required for sparc/leon3 BSPs in SMP configuration

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: arch/sparc Version: 5
Severity: normal Keywords: SMP, qualification
Cc: Blocked By:


The check script tn-0011.tcl reported the following affected code block in cpu_asm.S:

sparc-rtems6-objdump -d build/sparc/gr712rc/testsuites/validation/ts-validation-0.exe | tn-0011.tcl 
INFO:  Scanning utility for
INFO:    GRLIB-TN-0011 - LEON3/FT AHB Lock Release during Atomic Operation
INFO:  Script revision: 3 (20180412)
INFO:  Scanning objdump -d output on standard input...
0x400ad5f8 : seqa
INFO:  400ad5f8:        c2 7a 60 58     swap  [ %o1 + 0x58 ], %g1
INFO:  400ad5fc:        80 a0 60 00     cmp  %g1, 0
INFO:  400ad600:        12 80 00 14     bne  400ad650 <done_flushing+0x7c>
INFO:  Error locations found: 1

Change History (1)

comment:1 Changed on 11/26/21 at 09:38:20 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"bdcc81434353ee4f1d01aafe1a85627889fe53bc/rtems" bdcc814/rtems]:

sparc: Add workaround for GRLIB-TN-0011

Affected components are the GR712RC, UT699, UT699E, UT700, and
LEON3FT-RTAX. Strictly, the workaround is only necessary if the MMU is
enabled. Use FIX_LEON3FT_B2BST to enable the workaround. This is not
100% appropriate, but the best thing we can use to enable the

Close #4551.

Note: See TracTickets for help on using tickets.