Skip to content

Refactor exception entry on 40x/6xx/8xx

Christophe Leroy linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11powerpc/32: Rename THREAD_INFO to TASK_STACKarch/powerpc/kernel/asm-offsets.c arch/powerpc/kernel/entry_32.S arch/powerpc/kernel/head_32.S +4 more+9 -90 replies
2/11powerpc/32: Refactor EXCEPTION entry macros for head_8xx.S and head_32.Sarch/powerpc/kernel/head_32.S arch/powerpc/kernel/head_32.h arch/powerpc/kernel/head_8xx.S+111 -1930 replies
3/11powerpc/32: Add a macro for setting MSR_RI in EXCEPTION_PROLOG_2arch/powerpc/kernel/head_32.S arch/powerpc/kernel/head_32.h arch/powerpc/kernel/head_8xx.S+9 -20 replies
4/11powerpc/32: add CLR_MSR_WE() in EXCEPTION_PROLOG in head_32.harch/powerpc/kernel/head_32.h+5 -00 replies
5/11powerpc/32: add START_EXCEPTION() in head_32.harch/powerpc/kernel/head_32.h+5 -20 replies
6/11powerpc/32: move LOAD_MSR_KERNEL() into head_32.h and use itarch/powerpc/kernel/entry_32.S arch/powerpc/kernel/head_32.h+11 -90 replies
7/11powerpc/40x: Don't use SPRN_SPRG_SCRATCH2 in EXCEPTION_PROLOGarch/powerpc/kernel/head_40x.S+9 -120 replies
8/11powerpc/40x: add exception frame markerarch/powerpc/kernel/head_40x.S+6 -00 replies
9/11powerpc/40x: Split and rename NORMAL_EXCEPTION_PROLOGarch/powerpc/kernel/head_40x.S+16 -100 replies
10/11powerpc/40x: Add EXC_XFER_TEMPLATE_CRITICAL()arch/powerpc/kernel/head_40x.S+11 -100 replies
11/11powerpc/40x: Refactor exception entry macros by using head_32.harch/powerpc/kernel/head_40x.S+8 -860 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchNicholas Piggin
1/11R-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] Refactor exception entry on 40x/6xx/8xx

This serie refactors exception entry macros for 40x, 6xx and 8xx

This serie will benefit to the implementation of CONFIG_VMAP, and also to Ben's serie on MSR_EE.

First patch of this serie is a part of the CONFIG_THREAD_INFO_IN_TASK serie. This avoids a conflict between the two series.

Christophe Leroy (11):
powerpc/32: Rename THREAD_INFO to TASK_STACK powerpc/32: Refactor EXCEPTION entry macros for head_8xx.S and

    head_32.S

powerpc/32: Add a macro for setting MSR_RI in EXCEPTION_PROLOG_2 powerpc/32: add CLR_MSR_WE() in EXCEPTION_PROLOG in head_32.h powerpc/32: add START_EXCEPTION() in head_32.h powerpc/32: move LOAD_MSR_KERNEL() into head_32.h and use it powerpc/40x: Don't use SPRN_SPRG_SCRATCH2 in EXCEPTION_PROLOG powerpc/40x: add exception frame marker
powerpc/40x: Split and rename NORMAL_EXCEPTION_PROLOG powerpc/40x: Add EXC_XFER_TEMPLATE_CRITICAL() powerpc/40x: Refactor exception entry macros by using head_32.h

 arch/powerpc/kernel/asm-offsets.c    |   2 +-
 arch/powerpc/kernel/entry_32.S       |  11 +---
 arch/powerpc/kernel/head_32.S        | 101 ++--------------------------
 arch/powerpc/kernel/head_32.h        | 124 +++++++++++++++++++++++++++++++++++
 arch/powerpc/kernel/head_40x.S       | 120 ++++++++-------------------------
 arch/powerpc/kernel/head_8xx.S       | 103 ++---------------------------
 arch/powerpc/kernel/head_booke.h     |   4 +-
 arch/powerpc/kernel/head_fsl_booke.S |   2 +-
 8 files changed, 167 insertions(+), 300 deletions(-)
 create mode 100644 arch/powerpc/kernel/head_32.h
Signature · 1 line
2.13.3