#530 closed defect (fixed)

Map prefetchable PCI memory as conventional

Reported by: gregory.menke Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: bsps Version: 4.6
Severity: normal Keywords:
Cc: bugs@…, gregory.menke@… Blocked By:


Force all pci memory spaces to be non-prefetchable because
on the pci bus, byte-wise reads against prefetchable
memory are applied as 32 bit reads, which is a pain
when you're trying to talk to non dword-aligned or non
dword-sized registers.

The fix is a little sub-optimal because the algorithm doesn't sort
the address regions to pack them in, OTOH, perhaps its
not so bad because the inefficient packing will help
avoid buffer overflow/underflow problems by leaving lots
of space between regions.


motorola_shared bsp, bootloader/pci.c

Attachments (1)

joel-diffs (4.5 KB) - added by gregory.menke on 12/03/06 at 13:31:12.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 12/06/04 at 17:27:16 by gregory.menke

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: obsoleted by PR 729

Changed on 12/03/06 at 13:31:12 by gregory.menke

Attachment: joel-diffs added


Note: See TracTickets for help on using tickets.