]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
hw/sd/sdhci: Log non-sequencial access as GUEST_ERROR
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Jul 2024 12:28:30 +0000 (14:28 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jul 2024 21:50:04 +0000 (23:50 +0200)
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>

hw/sd/sdhci.c

index 27673e1c70e014818650b180032ce97b95b6636f..d02c3e3963be0a0e7c28df29d2e4e06bfce78ba3 100644 (file)
@@ -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;