linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: linux-mips@vger.kernel.org
Cc: Florian Fainelli <f.fainelli@gmail.com>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	Broadcom internal kernel review list 
	<bcm-kernel-feedback-list@broadcom.com>,
	linux-kernel@vger.kernel.org (open list)
Subject: [PATCH v2 0/2] MIPS: BMIPS: Improved early panic support
Date: Fri, 15 Jul 2022 14:37:45 -0700	[thread overview]
Message-ID: <20220715213747.111321-1-f.fainelli@gmail.com> (raw)

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(-)

-- 
2.25.1


             reply	other threads:[~2022-07-15 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 21:37 Florian Fainelli [this message]
2022-07-15 21:37 ` [PATCH v2 1/2] MIPS: CFE: Add cfe_die() Florian Fainelli
2022-07-15 21:37 ` [PATCH v2 2/2] MIPS: BMIPS: Utilize cfe_die() for invalid DTB Florian Fainelli
2022-07-17 13:49 ` [PATCH v2 0/2] MIPS: BMIPS: Improved early panic support Thomas Bogendoerfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220715213747.111321-1-f.fainelli@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).