17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2<br />

Hawk PCI Host Bridge & Multi-Processor Interrupt Controller<br />

A simultaneous indication of a stall from both slaves means that a bridge<br />

lock has happened. To resolve this, one of the slaves must back out of its<br />

currently pending transaction. This will allow the other stalled slave to<br />

proceed with its transaction. When the PCI Master detects bridge lock, it<br />

will always signal the PPC Slave to take actions to resolve the bridge lock.<br />

If the PPC bus is currently supporting a read cycle of any type, the PPC<br />

Slave will terminate the pending cycle with a retry. Note that if the read<br />

cycle is across a mod-4 address boundary (i.e. from address 0x...02, 3<br />

bytes), it is possible that a portion of the read could have been completed<br />

before the stall condition was detected. The previously read data will be<br />

discarded and the current transaction will be retried.<br />

If the PPC bus is currently supporting a posted write transaction, the<br />

transaction will be allowed to complete since this type of transaction is<br />

guaranteed completion. If the PPC bus is currently supporting a nonposted<br />

write transaction, the transaction will be terminated with a retry.<br />

Note that a mod-4 non-posted write transaction could be interrupted<br />

between write cycles, and thereby results in a partially completed write<br />

cycle. It is recommended that write cycles to write-sensitive, non-posted<br />

locations be performed on mod-4 address boundaries.<br />

The PCI Master must make the determination to perform the resolution<br />

function since it must make some decisions on possibly removing a<br />

currently pending command from the PPC FIFO.<br />

There are some performance issues related to bridge lock resolution. PHB<br />

offers two mechanism that allow fine tuning of the bridge lock resolution<br />

function.<br />

Programmable Lock Resolution<br />

Consider the scenario where the PPC Slave is hosting a read cycle and the<br />

PCI Slave is hosting a posted write transaction. If both transactions happen<br />

at roughly the same time, then the PPC Slave will hold off its transaction<br />

until the PCI Slave can fill the PCI FIFO with write posted data. Once this<br />

happens, both slaves will be stalled and a bridge lock resolution cycle will<br />

happen. The effect of this was to make the PPC Slave waste PPC bus<br />

bandwidth. In addition, a full PCI FIFO will cause the PCI Slave to start<br />

issuing wait states to the PCI bus.<br />

2-46 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!