mem: Fix the snoop filter when there is a downstream addr mapper
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 20 Jun 2016 14:11:18 +0000 (15:11 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 20 Jun 2016 14:11:18 +0000 (15:11 +0100)
commit40e4453ddc9ddbf5b3b949c98e2d3281cf3e97f2
tree80b66eafb009caeecf2ff4a30c632d10c4eb04d4
parentdd0f54fed65de7962bc5621c4a601579c2f82184
mem: Fix the snoop filter when there is a downstream addr mapper

The snoop filter handles requests in two steps which preceed and
follow the call to send the packet downstream. An address mapper could
possibly change the address of the packet when it is sent downstream
breaking the snoop filter assumption that the address is unchanged

Change-Id: Ib2db755e9ebef4f2f7c0169a46b1b11185ffbe79
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/mem/coherent_xbar.cc
src/mem/snoop_filter.cc
src/mem/snoop_filter.hh