Download Errata Sheet

Transcript
Errata Sheet
Functional Deviations
PCP_TC.029 Possible corruption of CPPN value when a nested channel
is restarted
If using multiple levels of interrupt nesting, there is a possibility where an
interrupted channel may be restarted with a wrong Current PCP Priority
Number (CPPN).
The PCP has an internal buffer where the CPPN of the current channel is held.
This buffer is updated when a channel is (re)started.
If during a nested interrupt restart, the following conditions occur:
•
•
an external FPI access or groups of accesses to PRAM are processed, and
there is more than one suspended channel,
the CPPN buffer may get the next lowest nested CPPN rather than the
programmed value. This incorrect value (always lower) is then used by the core
to arbitrate if this channel can be interrupted by incoming service requests.
Once this channel eventually finishes and exits, it will be reinvoked with the
correct CPPN value stored in R6. The bug does not occur if there is no more
than one suspended channel.
Workaround 1
Do not allow nested channel restore during a PRAM access performed by an
FPI master.
The PCP_CS.EN prevents any new channels from being taken. It has however
no effect on currently running channels. Therefore, when this bit is reset,
context operations can no more coincide with an FPI access.
The following sequence must be followed before any FPI master access to
PRAM:
•
•
Reset bit PCP_CS.EN.
Perform two dummy single read accesses to any location on the FPI (e.g.
by reading two non-consecutive address locations).
At the end of the access, PCP_CS.EN should be set back to 1B.
Workaround 2
Disable nested interrupts by setting PCP_FTD.DNI = 1B, in order to disable
nested interrupts for all channels (register PCP_FTD1) address is F004 3F30H,
TC1796, EES-BC, ES-BC, BC
171/226
Rel. 2.2, 2011-10-10