11. Low-Level Core Control¶
This chapter describes some low-level core control registers.
11.1. Control/Status Registers¶
A summary of platform-specific control/status registers in CSR space:
Feature Disable Control Register (mfdc), see Feature Disable Control Register (mfdc)
Clock Gating Control Register (mcgc), see Clock Gating Control Register (mcgc)
All reserved and unused bits in these control/status registers must be hardwired to ‘0’. Unless otherwise noted, all read/write control/status registers must have WARL (Write Any value, Read Legal value) behavior.
11.1.1. Feature Disable Control Register (mfdc)¶
The mfdc
register hosts low-level core control bits to disable specific features.
This may be useful in case a feature intended to increase core performance should prove to have problems.
Note
fence.i
instructions are required before and after writes to the mfdc
register.
Note
The default state of the controllable features is ‘enabled’. Firmware may turn off a feature if needed.
This register is mapped to the non-standard read/write CSR address space.
Field |
Bits |
Description |
Access |
Reset |
---|---|---|---|---|
Reserved |
31:19 |
Reserved |
R |
0 |
dqc |
18:16 |
DMA QoS control, see Quality Of Service |
R/W |
7 |
Reserved |
15:13 |
Reserved |
R |
0 |
td |
12 |
Trace disable:
|
R/W |
0 |
elfd |
11 |
External load-to-load forwarding disable:
|
R/W |
0 |
Reserved |
10:9 |
Reserved |
R |
0 |
cecd |
8 |
Core ECC check disable:
|
R/W |
0 |
Reserved |
7 |
Reserved |
R |
0 |
sepd |
6 |
Side effect pipelining disable:
|
R/W |
0 (AHB-Lite) / 1 (AXI4) |
Reserved |
5:4 |
Reserved |
R |
0 |
bpd |
3 |
Branch prediction disable:
|
R/W |
0 |
wbcd |
2 |
Write Buffer (WB) coalescing disable:
|
R/W |
0 |
Reserved |
1 |
Reserved |
R |
0 |
pd |
0 |
Pipelining disable:
|
R/W |
0 |
11.1.2. Clock Gating Control Register (mcgc)¶
The mcgc
register hosts low-level core control bits to override clock gating for specific units.
This may be useful in case a unit intended to be clock gated should prove to have problems when in lower power mode.
Note
Except for PIC I/O, the default state of the clock gating overrides is ‘disabled’. Firmware may turn off clock gating (i.e., set the clock gating override bit) for a specific unit if needed.
This register is mapped to the non-standard read/write CSR address space.
Field |
Bits |
Description |
Access |
Reset |
---|---|---|---|---|
Reserved |
31:10 |
Reserved |
R |
0 |
picio |
9 |
PIC I/O clock gating override:
|
R/W |
1 |
misc |
8 |
Miscellaneous clock gating override:
|
R/W |
0 |
dec |
7 |
DEC clock gating override:
|
R/W |
0 |
exu |
6 |
EXU clock gating override:
|
R/W |
0 |
ifu |
5 |
IFU clock gating override:
|
R/W |
0 |
lsu |
4 |
LSU clock gating override:
|
R/W |
0 |
bus |
3 |
Bus clock gating override:
|
R/W |
0 |
pic |
2 |
PIC clock gating override:
|
R/W |
0 |
dccm |
1 |
DCCM clock gating override:
|
R/W |
0 |
iccm |
0 |
ICCM clock gating override:
|
R/W |
0 |