Re: [PATCH] tools/power/acpi/tools/acpidbg: Add multi-commands support in batch mode

From: Rafael J. Wysocki
Date: Thu Jul 21 2016 - 09:40:25 EST


On Wednesday, July 20, 2016 04:12:08 PM Lv Zheng wrote:
> This patch adds multi-commands support for the batch mode. The same mode
> can be seen in acpiexec.
>
> However people may think this is not useful for an in-kernel debugger,
> because the in-kernel debugger is always running, never exits. So we can
> run another command by running another acpidbg batch mode instance.
>
> But this mode should still be useful for acpidbg. The reason is: when the
> in-kernel debugger has entered the single-stepping mode, ending acpidbg
> (which closes the debugger IO interface) will lead to the end of the
> single-stepping mode.
>
> So we need the acpidbg multi-commands batch mode in order to execute
> multiple single-stepping mode commands in the batch mode.
>
> Signed-off-by: Lv Zheng <lv.zheng@xxxxxxxxx>

Does this depend on the kernel flushing support series?

Thanks,
Rafael