From: Philippe Mathieu-Daudé Date: Tue, 2 Jul 2024 12:28:30 +0000 (+0200) Subject: hw/sd/sdhci: Log non-sequencial access as GUEST_ERROR X-Git-Tag: v9.1.0-rc0~43^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb8dacedd51c75f03c95b5c0b22d92e9f14527ba;p=thirdparty%2Fqemu.git hw/sd/sdhci: Log non-sequencial access as GUEST_ERROR Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Cédric Le Goater Tested-by: Andrew Jeffery Message-Id: <20240702140842.54242-3-philmd@linaro.org> --- diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index 27673e1c70e..d02c3e3963b 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;