mbox series

[v2,0/5] powerpc/64s: improve boot debugging

Message ID 20220926055620.2676869-1-npiggin@gmail.com (mailing list archive)
Headers show
Series powerpc/64s: improve boot debugging | expand

Message

Nicholas Piggin Sept. 26, 2022, 5:56 a.m. UTC
This series provides a machine check handler to catch out of
bounds memory accesses in early boot before the MMU is enabled.

Since v1:
- 64e compile fix

Nicholas Piggin (5):
  powerpc/64s/interrupt: move early boot ILE fixup into a macro
  powerpc/64s: early boot machine check handler
  powerpc/64: avoid using r13 in relocate
  powerpc/64: don't set boot CPU's r13 to paca until the structure is
    set up
  powerpc/64s/interrupt: halt early boot interrupts if paca is not set
    up

 arch/powerpc/include/asm/asm-prototypes.h |   1 +
 arch/powerpc/kernel/exceptions-64s.S      | 117 +++++++++++++---------
 arch/powerpc/kernel/head_64.S             |   3 +
 arch/powerpc/kernel/reloc_64.S            |  14 +--
 arch/powerpc/kernel/setup_64.c            |  33 ++++--
 arch/powerpc/kernel/traps.c               |  14 +++
 6 files changed, 120 insertions(+), 62 deletions(-)

Comments

Michael Ellerman Oct. 4, 2022, 1:25 p.m. UTC | #1
On Mon, 26 Sep 2022 15:56:15 +1000, Nicholas Piggin wrote:
> This series provides a machine check handler to catch out of
> bounds memory accesses in early boot before the MMU is enabled.
> 
> Since v1:
> - 64e compile fix
> 
> Nicholas Piggin (5):
>   powerpc/64s/interrupt: move early boot ILE fixup into a macro
>   powerpc/64s: early boot machine check handler
>   powerpc/64: avoid using r13 in relocate
>   powerpc/64: don't set boot CPU's r13 to paca until the structure is
>     set up
>   powerpc/64s/interrupt: halt early boot interrupts if paca is not set
>     up
> 
> [...]

Applied to powerpc/next.

[1/5] powerpc/64s/interrupt: move early boot ILE fixup into a macro
      https://git.kernel.org/powerpc/c/bf75a3258a40327b73c5b4458ae8102cfa921b40
[2/5] powerpc/64s: early boot machine check handler
      https://git.kernel.org/powerpc/c/2f5182cffa43f31c241131a2c10a4ecd8e90fb3e
[3/5] powerpc/64: avoid using r13 in relocate
      https://git.kernel.org/powerpc/c/b830c8754e046f96e84da9d3b3e028c4ceef2b18
[4/5] powerpc/64: don't set boot CPU's r13 to paca until the structure is set up
      https://git.kernel.org/powerpc/c/519b2e317e39ac99ce589a7c8480c47a17d62638
[5/5] powerpc/64s/interrupt: halt early boot interrupts if paca is not set up
      https://git.kernel.org/powerpc/c/e1100cee059ad0bea6a668177e835baa087a0c65

cheers