Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ace17c36 authored by Tayar, Tomer's avatar Tayar, Tomer Committed by David S. Miller
Browse files

qed: fix dump of context data



Currently when dumping a context data only word number '1' is read for the
entire context.

Fixes: c965db44 ("qed: Add support for debug data collection")

Signed-off-by: default avatarTomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 60cfe1ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2956,7 +2956,7 @@ static u32 qed_grc_dump_ctx_data(struct qed_hwfn *p_hwfn,
				qed_wr(p_hwfn,
				       p_ptt,
				       s_storm_defs[storm_id].cm_ctx_wr_addr,
				       BIT(9) | lid);
				       (i << 9) | lid);
				*(dump_buf + offset) = qed_rd(p_hwfn,
							      p_ptt,
							      rd_reg_addr);