[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17e04ad9-350a-4f6e-b932-9881b7898c5a@linaro.org>
Date: Mon, 8 Apr 2024 08:48:14 +0200
From: Philippe Mathieu-Daudé <philmd@...aro.org>
To: Jiaxun Yang <jiaxun.yang@...goat.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/9] MIPS: debug: Implement low-level debugging
functions
On 26/3/24 21:35, Jiaxun Yang wrote:
> Currently we have three sets of early debugging functions
> for MIPS: zboot putc/puts, cps-vec-ns16550, and prom_putc.
>
> This is a attempt to bring them all to one by providing
> a interface similar to arm's debug_ll, which is very portable
> and allows you to support new platforms easily.
>
> Two examples of output interfaces are provided, including
> 8250 uart and MIPS UHI semihosting, which already covered
> most of the platforms.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@...goat.com>
> ---
> arch/mips/Kconfig.debug | 80 +++++++++++++++++++++++++
> arch/mips/include/debug/8250.S | 60 +++++++++++++++++++
> arch/mips/include/debug/uhi.S | 48 +++++++++++++++
> arch/mips/kernel/Makefile | 2 +
> arch/mips/kernel/debug.S | 130 +++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 320 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@...aro.org>
Powered by blists - more mailing lists