* [PATCH] fix: copy paste bug
@ 2026-02-23 9:54 Weixie Cui
2026-02-23 21:53 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Weixie Cui @ 2026-02-23 9:54 UTC (permalink / raw)
To: qemu-devel; +Cc: Weixie Cui
---
hw/ssi/xilinx_spips.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c
index a4718fb72d..f6e717bc01 100644
--- a/hw/ssi/xilinx_spips.c
+++ b/hw/ssi/xilinx_spips.c
@@ -369,7 +369,7 @@ static void xilinx_spips_reset(DeviceState *d)
memset(s->regs, 0, sizeof(s->regs));
fifo8_reset(&s->rx_fifo);
- fifo8_reset(&s->rx_fifo);
+ fifo8_reset(&s->tx_fifo);
/* non zero resets */
s->regs[R_CONFIG] |= MODEFAIL_GEN_EN;
s->regs[R_SLAVE_IDLE_COUNT] = 0xFF;
@@ -397,7 +397,7 @@ static void xlnx_zynqmp_qspips_reset(DeviceState *d)
memset(s->regs, 0, sizeof(s->regs));
fifo8_reset(&s->rx_fifo_g);
- fifo8_reset(&s->rx_fifo_g);
+ fifo8_reset(&s->tx_fifo_g);
fifo32_reset(&s->fifo_g);
s->regs[R_INTR_STATUS] = R_INTR_STATUS_RESET;
s->regs[R_GPIO] = 1;
--
2.39.5 (Apple Git-154)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fix: copy paste bug
2026-02-23 9:54 [PATCH] fix: copy paste bug Weixie Cui
@ 2026-02-23 21:53 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2026-02-23 21:53 UTC (permalink / raw)
To: Weixie Cui, qemu-devel
On 2/23/26 19:54, Weixie Cui wrote:
> ---
> hw/ssi/xilinx_spips.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c
> index a4718fb72d..f6e717bc01 100644
> --- a/hw/ssi/xilinx_spips.c
> +++ b/hw/ssi/xilinx_spips.c
> @@ -369,7 +369,7 @@ static void xilinx_spips_reset(DeviceState *d)
> memset(s->regs, 0, sizeof(s->regs));
>
> fifo8_reset(&s->rx_fifo);
> - fifo8_reset(&s->rx_fifo);
> + fifo8_reset(&s->tx_fifo);
> /* non zero resets */
> s->regs[R_CONFIG] |= MODEFAIL_GEN_EN;
> s->regs[R_SLAVE_IDLE_COUNT] = 0xFF;
> @@ -397,7 +397,7 @@ static void xlnx_zynqmp_qspips_reset(DeviceState *d)
> memset(s->regs, 0, sizeof(s->regs));
>
> fifo8_reset(&s->rx_fifo_g);
> - fifo8_reset(&s->rx_fifo_g);
> + fifo8_reset(&s->tx_fifo_g);
> fifo32_reset(&s->fifo_g);
> s->regs[R_INTR_STATUS] = R_INTR_STATUS_RESET;
> s->regs[R_GPIO] = 1;
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-23 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 9:54 [PATCH] fix: copy paste bug Weixie Cui
2026-02-23 21:53 ` Richard Henderson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.