[RTEMS Project] #4304: grlib, grspw: SET_PACKET_SIZE could use old DMA address

RTEMS trac trac at rtems.org
Sun Mar 7 15:56:37 UTC 2021

#4304: grlib,grspw: SET_PACKET_SIZE could use old DMA address
 Reporter:  Daniel Hellstrom  |       Owner:  Daniel Hellstrom
     Type:  defect            |      Status:  assigned
 Priority:  normal            |   Milestone:  6.1
Component:  bsps              |     Version:  5
 Severity:  normal            |  Resolution:
 Keywords:                    |  Blocked By:
 Blocking:                    |

Comment (by Daniel Hellstrom <daniel@…>):

 In [changeset:"84fb340ac464c6aba2c5b4f3352c1c8f60466d47/rtems"
 #!CommitTicketReference repository="rtems"
 leon,grspw: fix for SET_PACKET_SIZE

 When the DMA table has been allocated dynamically, the
 will trigger an issue where pDev->rx and pDev->tx are not updated with
 the new DMA tables base address. Instead the old pointers are used.

 There is no point in reallocting the DMA tables because there is no
 configuration option to it. Therefore the DMA tables allocation is
 moved to a separate function never called from SET_PACKETSIZE.

 Update #4304.

Ticket URL: <http://devel.rtems.org/ticket/4304#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list