mem-ruby: fix CHI wrong response to ReadShared

When an exclusive cache is responding to a ReadShared and the line is
unique, it send the data in unique state without checking if the line
already has other sharers in other upstream caches.

This patch fixes this issue and also cleans up Send_CompData.


Change-Id: Ica7c2afafb55750681b39ae7de99a665689ecb8a
Signed-off-by: Tiago Mück <>
Maintainer: Jason Lowe-Power <>
Reviewed-by: Bobby Bruce <>
Tested-by: kokoro <>
Reviewed-by: Jason Lowe-Power <>
1 file changed