Download / 17 CONTROLLER 19\ 21

Transcript
5,884,027
14
13
Posting Buffer Operation
This allows certain con?guration registers to be initialiZed
Both posting buffers are used to help the bridge achieve
before PCI con?guration begins.
the full PCI bandwidth and to hide the latency of acquiring
The local processor reads and writes the bridge con?gu
two PCI buses for every transaction crossing the bridge. The
ration space as memory-mapped registers. Table 3 shows the
Posting Disable bit in the EBCR register must be Clear I0 5 register and its associated offset used in a PCI con?guration
allOW the buffers I0 POSI IfaIlSaCIlOIlScommand and its memory-mapped address in the local
The nature of the posting buffers allows for concurrent
processor address space,
Operatlohs froth the prhhaty t0 seeoheary PCI lhtertaees ahd
The assertion of the PiRST# signal on the primary side
froth the seeohdary t0 Pnthahy PCI lhterfaees- Thls theahs
of the bridge affects the state of most of the registers
that trahsaetlohs t0 Opposlte lhterfaees may occur 0h both 10 contained within the bridge con?guration space. Unless
Pct lhtehfaees at the samethhe- From the thotheht a trahs'
aetloh 1S lhltlateh t0 the hhdge, the target lhterfeee attempts
t0_ga_1h thastershlp of the target hhs- The theehahlsth used for
this is the standard PCI arbitration mechanism used on the
otherwise noted, all bits and registers will return to their
stated default state value upon primary reset. The reset state
of the secondary SiRST# output does not affect the state of
the registers unless explicitly noted
primary and the secondary interfaces.
15
As a default reset state, the posting buffers will be marked
invalid. Any subsequent PCI reset event will force all the
TABLE 3
buffers to be Cleared by being marked invalid~
PCI to PCI Bridge Con?guration Register Addresses
Transaction Ordering Rules
Because
the
brid g e can rocess multi
le transactions
it 20
'
~
'
p
' ' >
must maintain proper ordering to avoid deadlock conditions
and improve throughput. Table 2 contains the ordering rules
for multiple transactions. The ?rst row contains the trans
action that has been accepted. The ?rst column is the
_
Slze
in
Register Name
d
_
Address
Bytes Offset
5
ggg
Primary Command Register _ PCMDR
transaction that was just latched. The table indicates whether 25 Primary Status Register - PSR
the new transaction can pass the previous accepted transacRevlslen ID Reglster ' RIDR
2
2
1
04H
06H
08H
tion (denoted as Yes) the new transaction can not
3
_
’
_
[lg
ass the
p
Egg
Class Code Reglster ' CCR
_
09H
Cacheline Size Register — CLSR
1
OCH
previous accepted transaction (No), or the new transaction
Primary Latency Timer Register _ PLTR
1
ODH
should not be accepted (Do Not Accept). Transactions not
Header Type Register - HI‘R
1
OEH
accepted should be signaled a Retry.
TABLE 2
Transaction Passing
Pass accepted Pass accepted
Posted Memory Delayed Read
Pass accepted
Delayed Write
Pass accepted
Delayed Read
Pass accepted
Delayed Write
Write?
Request?
Request?
Completion?
Completion?
New Posted Memory Write
No
Yes
Yes
Yes
Yes
New
New
New
New
No
No
No
Yes
Do Not Accept
Do Not Accept
Yes
Yes
Do Not Accept
Do Not Accept
Yes
Yes
No
No
Do Not Accept
No
Yes
Yes
Do Not Accept
Do Not Accept
Pass?
Delayed
Delayed
Delayed
Delayed
Read Request
Write Request
Read Completion
Write Completion
Register De?nitions
.
.
.
45
The PCI to PCI bridge con?guration registers are
described below. The con?guration space consists of 8, 16,
TABLE 3_continued
24, and 32-bit registers arranged in a prede?ned format. The
PCI to PCI Bridge Con?guration Register Addresses
con?guration registers are accessed through Type 0 Con?guration Reads and Writes on the primary side of the bridge 50
and through local processor local operations.
Register Name
Each register other than those de?ned by the PCI Local
Bus Speci?cation and the PCI to PCI Bridge Architecture
'
'
'
'
'
'
'
S_
mm Address
Bytes Offset
ghmagy Bu; NulilnbelRelglster ' PBSI‘IIiIR
€COI1
ary
11S
um
6T
with an active IDSEL or a memory-mapped local processor
-
-
-
-
1
1g:
1
1
1
lAH
1EH
1CH
egister -
Speci?cation is detailed in functionality, access type (read/
Subordinate Bus Number Register _ SubBNR
write, read/clear, read only) and reset default condition. As 55 Secondary Latency Timer Register _ SLTR
stated, a Type 0 con?guration command on the primary side
I/O Base Register - IOBR
I/O Llmlt heglster - IQLR
1
1DH
Secondary Status Register — SSR
2
1EH
Memory Base Register _ MBR
2
20H
for the registers with offsets up to 3EH are de?ned with the
Memory Limit Register _ MLR
PCI to PCI Bridge Architecture Speci?cation Rev. 1.0, and 60 Prefetchable Memory Base Register - PMBR
therefore, are not detailed herein. Registers with offsets
Prefetchable Memory Limit Register - PMLR
2
2
2
22H
24H
26H
greater than 3EH are implementation speci?c to the P2P
Budge C°ntr_°1Reg1Ster ' BC?
2
3EH
Extended Bridge Control Register — EBCR
Secondary IDSEL Select Register — SISR
2
2
40H
42H
An a ltlona requlrément exlsts to_ a OW t e Oca proPrimary Bridge Interrupt Status Register — PBISR
cessor to access the bridge con?guration space. Some reg- 65 Secondary Bridge Interrupt Status Register _ SBISR
4
4
44H
48H
isters that are read only from Type 0 Con?guration Read and
4
4CH
access is required to read or write these registers. The format
rocessor
p
.
1
.
.
11
h
1
1
Write commands may be writable from the local processor.
Secondary Arbitration Control Register - SACR