Re: [PATCH v1] ARM: tegra: Fix misplaced tegra_uart_config in decompressor

From: Florian Fainelli
Date: Tue Dec 15 2020 - 11:05:54 EST




On 12/15/2020 5:52 AM, Dmitry Osipenko wrote:
> The tegra_uart_config of the DEBUG_LL code is now placed right at the
> start of the .text section after commit which enabled debug output in the
> decompressor. Tegra devices are not booting anymore if DEBUG_LL is enabled
> since tegra_uart_config data is executes as a code. Fix the misplaced
> tegra_uart_config storage by embedding it into the code.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 2596a72d3384 ("ARM: 9009/1: uncompress: Enable debug in head.S")
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> arch/arm/include/debug/tegra.S | 54 +++++++++++++++++-----------------
> 1 file changed, 27 insertions(+), 27 deletions(-)

Looks like arch/arm/include/debug/brcmstb.S would need the same
treatment since the implementation was copied from tegra.S.
--
Florian