mem: Add StreamID and SubstreamID
authorStanislaw Czerniawski <stacze01@arm.com>
Wed, 16 May 2018 12:30:24 +0000 (13:30 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 22 Aug 2018 10:43:23 +0000 (10:43 +0000)
commit50a57c0376c02c912a978c4443dd58caebe0f173
treea957701d716a9bfed24e9e7c2ba713f3e94dc4a6
parent200281b08ca21f0d2678e23063f088960d3c0819
mem: Add StreamID and SubstreamID

This patch adds StreamID and SubstreamID to Request. These fields can
be used by a SMMU/IOMMU model to pick up the correct translation
context for each request and they correspond to an ASID in a device.
For this reason they have been merged together with the request asid
in a union, so that a cpu will set the asid and a device will set
the Stream and Substream ID.

Change-Id: Iac2b5a1ba9c6598ee7635c30845dc68ba6787c34
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12187
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/mem/request.hh