mbox series

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

Message ID 20220715213747.111321-1-f.fainelli@gmail.com (mailing list archive)
Headers show
Series MIPS: BMIPS: Improved early panic support | expand

Message

Florian Fainelli July 15, 2022, 9:37 p.m. UTC
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(-)

Comments

Thomas Bogendoerfer July 17, 2022, 1:49 p.m. UTC | #1
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.