Otherwise a hit after a table walk will result in a 0 value being
read from the ConfigCache.
Change-Id: I9813998acce44c93c5ce203f252ca80c10ba8f38
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Michiel Van Tol <michiel.vantol@arm.com>
Reviewed-by: Adrian Herrera <adrian.herrera@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19631
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
uint16_t vmid;
uint8_t stage1_tg;
uint8_t stage2_tg;
+ uint8_t t0sz;
+ uint8_t s2t0sz;
};
ConfigCache(unsigned numEntries, unsigned _associativity,
tc.stage1TranslGranule = e->stage1_tg;
tc.stage2TranslGranule = e->stage2_tg;
+ tc.t0sz = e->t0sz;
+ tc.s2t0sz = e->s2t0sz;
+
return true;
}
e.vmid = tc.vmid;
e.stage1_tg = tc.stage1TranslGranule;
e.stage2_tg = tc.stage2TranslGranule;
+ e.t0sz = tc.t0sz;
+ e.s2t0sz = tc.s2t0sz;
doSemaphoreDown(yield, smmu.configSem);