aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi/trace-events
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2020-02-06 12:26:44 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-03-12 16:01:37 +0000
commitbd6ce9a6ed99889803b044510dc753ed6ac7bfeb (patch)
tree3c7bdefad29b2e8651ce0b4430c151c7a75823c2 /hw/ssi/trace-events
parent563152e0d4cff72eaa2e1de36a842e99ea3c222f (diff)
downloadqemu-bd6ce9a6ed99889803b044510dc753ed6ac7bfeb.zip
qemu-bd6ce9a6ed99889803b044510dc753ed6ac7bfeb.tar.gz
qemu-bd6ce9a6ed99889803b044510dc753ed6ac7bfeb.tar.bz2
aspeed/smc: Add some tracing
Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200206112645.21275-2-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/ssi/trace-events')
-rw-r--r--hw/ssi/trace-events9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/ssi/trace-events b/hw/ssi/trace-events
new file mode 100644
index 0000000..ffe531a
--- /dev/null
+++ b/hw/ssi/trace-events
@@ -0,0 +1,9 @@
+# aspeed_smc.c
+
+aspeed_smc_flash_set_segment(int cs, uint64_t reg, uint64_t start, uint64_t end) "CS%d segreg=0x%"PRIx64" [ 0x%"PRIx64" - 0x%"PRIx64" ]"
+aspeed_smc_flash_read(int cs, uint64_t addr, uint32_t size, uint64_t data, int mode) "CS%d @0x%" PRIx64 " size %u: 0x%" PRIx64" mode:%d"
+aspeed_smc_do_snoop(int cs, int index, int dummies, int data) "CS%d index:0x%x dummies:%d data:0x%x"
+aspeed_smc_flash_write(int cs, uint64_t addr, uint32_t size, uint64_t data, int mode) "CS%d @0x%" PRIx64 " size %u: 0x%" PRIx64" mode:%d"
+aspeed_smc_read(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size %u: 0x%" PRIx64
+aspeed_smc_dma_checksum(uint32_t addr, uint32_t data) "0x%08x: 0x%08x"
+aspeed_smc_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size %u: 0x%" PRIx64