mem: Remove threadId from memory request class
authorMitch Hayenga <mitch.hayenga@arm.com>
Thu, 7 Apr 2016 14:30:20 +0000 (09:30 -0500)
committerMitch Hayenga <mitch.hayenga@arm.com>
Thu, 7 Apr 2016 14:30:20 +0000 (09:30 -0500)
commitc75ff71139d6358678835cca63e35d1135eaf466
tree0811177db4dca4a237b8e5d7dd65f8ec155cb14e
parentd99deff8ea296fd28b48da08aba577a1e7dfc01b
mem: Remove threadId from memory request class

In general, the ThreadID parameter is unnecessary in the memory system
as the ContextID is what is used for the purposes of locks/wakeups.
Since we allocate sequential ContextIDs for each thread on MT-enabled
CPUs, ThreadID is unnecessary as the CPUs can identify the requesting
thread through sideband info (SenderState / LSQ entries) or ContextID
offset from the base ContextID for a cpu.

This is a re-spin of 20264eb after the revert (bd1c6789) and includes
some fixes of that commit.
29 files changed:
ext/sst/ExtMaster.cc
src/arch/arm/isa.cc
src/arch/arm/vtophys.cc
src/arch/hsail/insts/mem.hh
src/arch/mips/locked_mem.hh
src/cpu/base.hh
src/cpu/base_dyn_inst.hh
src/cpu/checker/cpu.cc
src/cpu/checker/cpu_impl.hh
src/cpu/kvm/base.cc
src/cpu/kvm/x86_cpu.cc
src/cpu/minor/fetch1.cc
src/cpu/minor/lsq.cc
src/cpu/o3/fetch_impl.hh
src/cpu/o3/lsq.hh
src/cpu/o3/lsq_impl.hh
src/cpu/simple/atomic.cc
src/cpu/simple/timing.cc
src/cpu/testers/memtest/memtest.cc
src/cpu/testers/networktest/networktest.cc
src/cpu/testers/rubytest/Check.cc
src/cpu/trace/trace_cpu.cc
src/gpu-compute/compute_unit.cc
src/gpu-compute/dispatcher.cc
src/gpu-compute/ndrange.hh
src/gpu-compute/shader.cc
src/gpu-compute/shader.hh
src/mem/cache/prefetch/queued.cc
src/mem/request.hh