hv/trace_pmgr.py: Get rid of pwrgate stuff

It's broken

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-11-17 22:46:10 +09:00
parent 71baff4adc
commit 9e2eeeb911

View file

@ -137,12 +137,6 @@ class PMGRTracer(Tracer):
ps_addr = addr + idx * 8
self.ranges[ps_addr:ps_addr + 8] = self.event_default, ps_addr, f"ps[{i}][{idx}]"
for i, pg in getattr(self.dev, "pwrgate_regs", []):
addr = self.dev.get_reg(pg.reg)[0] + pg.offset
for idx in range(32):
gate_addr = addr + idx * 8
self.ranges[gate_addr:gate_addr + 8] = self.event_default, gate_addr, f"pwrgate[{i}][{idx}]"
for i, dev in enumerate(self.dev.devices):
ps = self.dev.ps_regs[dev.psreg]
if dev.psidx or dev.psreg: