From: peter.crosthwaite@xilinx.com
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH for-1.5 v2 12/15] xilinx_spips: Debug msgs for Snoop state
Date: Fri, 19 Apr 2013 12:10:50 +1000 [thread overview]
Message-ID: <40d0335e02104cd360a106dc843b668ba6dcad28.1366335998.git.peter.crosthwaite@xilinx.com> (raw)
In-Reply-To: <cover.1366335998.git.peter.crosthwaite@xilinx.com>
From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
This is worth keeping track of when debugging the device model.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
---
hw/ssi/xilinx_spips.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c
index 43e4df1..fec22ef 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.7.0.4
next prev parent reply other threads:[~2013-04-19 2:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 2:02 [Qemu-devel] [PATCH for-1.5 v2 00/15] Xilinx SPIPS fixes round 2 peter.crosthwaite
2013-04-19 2:03 ` [Qemu-devel] [PATCH for-1.5 v2 01/15] xilinx_spips: seperate SPI and QSPI as two classes peter.crosthwaite
2013-04-19 2:04 ` [Qemu-devel] [PATCH for-1.5 v2 02/15] xilinx_spips: Make interrupts clear on read peter.crosthwaite
2013-04-19 2:04 ` [Qemu-devel] [PATCH for-1.5 v2 03/15] xilinx_spips: Inhibit interrupts in LQSPI mode peter.crosthwaite
2013-04-19 2:05 ` [Qemu-devel] [PATCH for-1.5 v2 04/15] xilinx_spips: Add verbose LQSPI debug output peter.crosthwaite
2013-04-19 2:06 ` [Qemu-devel] [PATCH for-1.5 v2 05/15] xilinx_spips: Fix QSPI FIFO size peter.crosthwaite
2013-04-19 2:06 ` [Qemu-devel] [PATCH for-1.5 v2 06/15] xilinx_spips: Trash LQ page cache on mode change peter.crosthwaite
2013-04-19 10:23 ` Peter Maydell
2013-04-22 4:48 ` Peter Crosthwaite
2013-04-19 2:07 ` [Qemu-devel] [PATCH for-1.5 v2 07/15] xilinx_spips: Add automatic start support peter.crosthwaite
2013-04-19 2:08 ` [Qemu-devel] [PATCH for-1.5 v2 08/15] xilinx_spips: Implement automatic CS peter.crosthwaite
2013-04-19 2:08 ` [Qemu-devel] [PATCH for-1.5 v2 09/15] xilinx_spips: lqspi: Dont touch config register peter.crosthwaite
2013-04-19 2:09 ` [Qemu-devel] [PATCH for-1.5 v2 10/15] xilinx_spips: Fix CTRL register RW bits peter.crosthwaite
2013-04-19 2:10 ` [Qemu-devel] [PATCH for-1.5 v2 11/15] xilinx_spips: Fix striping behaviour peter.crosthwaite
2013-04-19 2:10 ` peter.crosthwaite [this message]
2013-04-19 2:11 ` [Qemu-devel] [PATCH for-1.5 v2 13/15] xilinx_spips: Multiple debug verbosity levels peter.crosthwaite
2013-04-19 2:12 ` [Qemu-devel] [PATCH for-1.5 v2 14/15] xilinx_spips: lqspi: Push more data to tx-fifo peter.crosthwaite
2013-04-19 2:12 ` [Qemu-devel] [PATCH for-1.5 v2 15/15] xilinx_spips: lqspi: Fix byte/misaligned access peter.crosthwaite
2013-04-19 10:33 ` [Qemu-devel] [PATCH for-1.5 v2 00/15] Xilinx SPIPS fixes round 2 Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40d0335e02104cd360a106dc843b668ba6dcad28.1366335998.git.peter.crosthwaite@xilinx.com \
--to=peter.crosthwaite@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).