Re: [PATCH v3 09/11] hw/sd/sdcard: Correctly display the command name in trace events

2020-06-15 Thread Peter Maydell
On Fri, 5 Jun 2020 at 11:25, Philippe Mathieu-Daudé wrote: > > From: Philippe Mathieu-Daudé > > Some ACMD were incorrectly displayed. Fix by remembering if we > are processing a ACMD (with current_cmd_is_acmd) and add the > sd_current_cmd_name() helper, which display to correct name > regardless

[PATCH v3 09/11] hw/sd/sdcard: Correctly display the command name in trace events

2020-06-05 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé Some ACMD were incorrectly displayed. Fix by remembering if we are processing a ACMD (with current_cmd_is_acmd) and add the sd_current_cmd_name() helper, which display to correct name regardless it is a CMD or ACMD. Signed-off-by: Philippe Mathieu-Daudé --- hw/sd/s