Review Board 2.0.15


DMA: Refactor the DMA device and align timing and atomic

Review Request #1316 - Created July 21, 2012 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9146:a02007211735
---------------------------
DMA: Refactor the DMA device and align timing and atomic

This patch does a bunch of house-keeping updates on the DMA, including
indentation, and formatting, but most importantly breaks out the
response handling such that it can be shared between the atomic and
timing modes. It also removes a potential bug caused by the atomic
handling of responses only deleting the allocated request (pkt->req)
once the DMA action completes instead of doing so for every packet.

Before this patch, the handling of responses was near identical for
atomic and timing, but the code was simply duplicated. With this
patch, the handleResp method deals with the responses in both cases.

There are further updates to make after removing the NACKs, but that
will be part of a separate follow-up patch. This patch does not change
the behaviour of any regression.
util/regress all passing (disregarding t1000 and eio)

Issue Summary

4 1 3 0
Review request changed
Updated (Aug. 22, 2012, 1:53 a.m.)

Status: Closed (submitted)