[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH arm-devs v4 12/15] xilinx_spips: Debug msgs for Snoo
From: |
peter . crosthwaite |
Subject: |
[Qemu-devel] [PATCH arm-devs v4 12/15] xilinx_spips: Debug msgs for Snoop state |
Date: |
Tue, 21 May 2013 16:37:18 +1000 |
From: Peter Crosthwaite <address@hidden>
This is worth keeping track of when debugging the device model.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
---
hw/ssi/xilinx_spips.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c
index 7222e15..8fbbd24 100644
--- a/hw/ssi/xilinx_spips.c
+++ b/hw/ssi/xilinx_spips.c
@@ -223,6 +223,7 @@ static void xilinx_spips_update_cs_lines(XilinxSPIPS *s)
}
if (!found) {
s->snoop_state = SNOOP_CHECKING;
+ DB_PRINT("moving to snoop check state\n");
}
}
@@ -346,6 +347,7 @@ static void xilinx_spips_flush_txfifo(XilinxSPIPS *s)
fifo8_push(&s->rx_fifo, (uint8_t)tx_rx[0]);
}
+ DB_PRINT("initial snoop state: %x\n", (unsigned)s->snoop_state);
switch (s->snoop_state) {
case (SNOOP_CHECKING):
switch (tx) { /* new instruction code */
@@ -374,6 +376,7 @@ static void xilinx_spips_flush_txfifo(XilinxSPIPS *s)
default:
s->snoop_state--;
}
+ DB_PRINT("final snoop state: %x\n", (unsigned)s->snoop_state);
}
}
--
1.8.3.rc1.44.gb387c77.dirty
- [Qemu-devel] [PATCH arm-devs v4 01/15] xilinx_spips: seperate SPI and QSPI as two classes, (continued)
- [Qemu-devel] [PATCH arm-devs v4 01/15] xilinx_spips: seperate SPI and QSPI as two classes, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 02/15] xilinx_spips: Make interrupts clear on read, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 03/15] xilinx_spips: Inhibit interrupts in LQSPI mode, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 04/15] xilinx_spips: Add verbose LQSPI debug output, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 05/15] xilinx_spips: Fix QSPI FIFO size, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 06/15] xilinx_spips: Trash LQ page cache on mode change, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 07/15] xilinx_spips: Add automatic start support, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 09/15] xilinx_spips: lqspi: Dont touch config register, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 10/15] xilinx_spips: Fix CTRL register RW bits, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 11/15] xilinx_spips: Fix striping behaviour, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 12/15] xilinx_spips: Debug msgs for Snoop state,
peter . crosthwaite <=
- [Qemu-devel] [PATCH arm-devs v4 13/15] xilinx_spips: Multiple debug verbosity levels, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 14/15] xilinx_spips: lqspi: Push more data to tx-fifo, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 15/15] xilinx_spips: lqspi: Fix byte/misaligned access, peter . crosthwaite, 2013/05/21
- [Qemu-devel] [PATCH arm-devs v4 08/15] xilinx_spips: Implement automatic CS, peter . crosthwaite, 2013/05/21
- Re: [Qemu-devel] [PATCH arm-devs v4 00/15] Xilinx SPIPS fixes round 2, Peter Maydell, 2013/05/24