From b652ab85581b59edf82492901aa85e15065e974e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20M=C3=BCck?= <11845661+tiagormk@users.noreply.github.com> Date: Thu, 4 Jan 2024 09:55:11 -0600 Subject: [PATCH] mem-ruby: fix missing txnId for prefetch requests (#734) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Internal prefetch message generation at AllocateTBE_PfRequest was missing the expected txnId value. Change-Id: I7d1ead24db947a15133f6ec45b27a47c70096682 Signed-off-by: Tiago Mück --- src/mem/ruby/protocol/chi/CHI-cache-actions.sm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mem/ruby/protocol/chi/CHI-cache-actions.sm b/src/mem/ruby/protocol/chi/CHI-cache-actions.sm index 74acce2e87..34358050cf 100644 --- a/src/mem/ruby/protocol/chi/CHI-cache-actions.sm +++ b/src/mem/ruby/protocol/chi/CHI-cache-actions.sm @@ -236,6 +236,7 @@ action(AllocateTBE_PfRequest, desc="Allocate TBE for prefetch request") { assert(in_msg.Prefetch != PrefetchBit:No); out_msg.is_local_pf := true; out_msg.is_remote_pf := false; + out_msg.txnId := max_outstanding_transactions; if (in_msg.Type == RubyRequestType:LD) { out_msg.type := CHIRequestType:Load;