PowerPC e500 Core Family Reference Manual, Rev. 1
5-18
Freescale Semiconductor
Interrupts and Exceptions
5.7.2.2
Cache Parity Error Injection
Cache parity error injection provides a way to test error recovery software by intentionally
injecting parity errors into the instruction and data caches, as follows:
•
If L1CSR1[ICPI] is set, any instruction cache line fill has all of its parity bits inverted in
the instruction cache.
•
If L1CSR0[CPI] is set, any data line fill has all of its parity bits inverted in the data cache.
Additionally, inverted parity bits are generated for any bytes stored into the data cache by
store instructions, dcbz, and dcba.
NOTE
L1 cache parity checking for the instruction cache must be enabled
(L1CSR1[ICPE] = 1,) when L1CSR1[ICPI] is set. Similarly for the
data cache, L1CSR0[CPE] must be set if L1CSR0[CPI] is set. If the
programmer attempts to set the field L1CSR0[CPI] (using mtspr)
without setting the field L1CSR0[CPE], then the field L1CSR0[CPI]
will not be set. If the programmer attempts to set the field
L1CSR1[ICPI] without setting the field L1CSR1[ICPE], then the field
L1CSR1[ICPI] will not be set.
Castout or
snoop push
BUS_WAERR Address bus error
MCSRR0 is not meaningful.
MCAR is set to an address on the
cache line with the error.
The system has enough
information to prevent
memory corruption.
A front-side L2 does not
cache the bad data.
BUS_WBERR Write data bus error signaled by
assertion of
core_wr_errin_b input
DCP_PERR Detection of an L1 data cache
parity error in the data being
pushed
A front-side L2 does not
cache the bad data.
The system has enough
information to prevent
memory corruption.
Instruction
fetch
(cache hit)
ICPERR
Detection of an L1 instruction
cache parity error
MCSRR0 has an address on the
line of the failing instruction.
MCAR is not set.
The instruction that
causes the exception is not
executed.
Instruction
fetch (cache
miss or cache
inhibited)
BUS_IAERR Address bus error
MCSRR0 has an address on the
line of the failing instruction.
MCAR is set to an address on the
cache line with the error.
The instruction that
causes the exception is not
executed.
Line-fill data does not get
into the L1 cache.
BUS_IBERR Read data bus error
BUS_IPERR Detection of a read data bus parity
error
Table 5-10. Parity Error Exception Scenarios (continued)
Scenario
MCSR Bit
Description
MCSRR0 and MCAR Values
Comments
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...