[RTEMS Project] #3062: When a PCI addreess range is empty PCI Library Programs Bridges with errouneous address range

RTEMS trac trac at rtems.org
Thu Jul 6 00:31:23 UTC 2017


#3062: When a PCI addreess range is empty PCI Library Programs Bridges with
errouneous address range
--------------------------+-----------------------
 Reporter:  Jeffrey Hill  |       Owner:  Ben Gras
     Type:  defect        |      Status:  assigned
 Priority:  normal        |   Milestone:
Component:  cpukit        |     Version:  4.11
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by Jeffrey Hill):

 One is fairly quickly convinced that there will be an issue when "end <=
 start" if we look at this line in the source. Refer to the PCI Bridge
 specification to fully understand this part of the code. The bridge window
 size registers at offset 0x20 and 0x24 are being programmed.

 line 741:
 {{{
     tmp = ((res->end-1) & 0xfff00000) | (res->start >> 16);
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3062#comment:8>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list