Re: [PATCH v2 0/2] MIPS: BMIPS: Improved early panic support

From: Thomas Bogendoerfer
Date: Sun Jul 17 2022 - 09:49:51 EST


On Fri, Jul 15, 2022 at 02:37:45PM -0700, Florian Fainelli wrote:
> Hi Thomas,
>
> This patch series adds support for cfe_die() which can be used during
> early platform initialization when we do not yet have a valid DTB to
> infer an earlycon console from. This is useful while bringing up new
> platforms/DTBs as well.
>
> Thanks!
>
> Changes in v2:
>
> - ensure that we do not break multi-CPU builds by reading the CPU's PrID
> to perform the appropriate XKS01 disabling before handing over to CFE
>
> Florian Fainelli (2):
> MIPS: CFE: Add cfe_die()
> MIPS: BMIPS: Utilize cfe_die() for invalid DTB
>
> arch/mips/Kconfig | 1 +
> arch/mips/bmips/setup.c | 14 +++++-
> arch/mips/fw/cfe/cfe_api.c | 68 +++++++++++++++++++++++++-
> arch/mips/include/asm/fw/cfe/cfe_api.h | 2 +
> 4 files changed, 83 insertions(+), 2 deletions(-)

series applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]