summary refs log tree commit diff stats
path: root/hw/sd
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-02 14:28:30 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-05 23:50:04 +0200
commitbb8dacedd51c75f03c95b5c0b22d92e9f14527ba (patch)
treef11844eeece11bc988ca9f615af884cb40fd89f4 /hw/sd
parentf2cb4026fccfe073f84a4b440e41d3ed0c3134f6 (diff)
downloadfocaccia-qemu-bb8dacedd51c75f03c95b5c0b22d92e9f14527ba.tar.gz
focaccia-qemu-bb8dacedd51c75f03c95b5c0b22d92e9f14527ba.zip
hw/sd/sdhci: Log non-sequencial access as GUEST_ERROR
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Message-Id: <20240702140842.54242-3-philmd@linaro.org>
Diffstat (limited to 'hw/sd')
-rw-r--r--hw/sd/sdhci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c
index 27673e1c70..d02c3e3963 100644
--- a/hw/sd/sdhci.c
+++ b/hw/sd/sdhci.c
@@ -983,8 +983,9 @@ static inline bool
 sdhci_buff_access_is_sequential(SDHCIState *s, unsigned byte_num)
 {
     if ((s->data_count & 0x3) != byte_num) {
-        trace_sdhci_error("Non-sequential access to Buffer Data Port register"
-                          "is prohibited\n");
+        qemu_log_mask(LOG_GUEST_ERROR,
+                      "SDHCI: Non-sequential access to Buffer Data Port"
+                      " register is prohibited\n");
         return false;
     }
     return true;