Skip to content

enable the PACA_IRQ_EE_EDGE support for book3e

Kevin Hao linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/book3e: introduce external_input_edge exception handler for 64bit kernelarch/powerpc/include/asm/paca.h arch/powerpc/kernel/asm-offsets.c arch/powerpc/kernel/entry_64.S +4 more+44 -94 replies
2/4powerpc: move the patch_exception to a common placearch/powerpc/include/asm/code-patching.h arch/powerpc/lib/code-patching.c arch/powerpc/mm/tlb_nohash.c+22 -190 replies
3/4powerpc: use patch_exception to update the debug exception handlerarch/powerpc/kernel/setup_64.c+1 -50 replies
4/4powerpc/fsl-book3e: enable the external_input_edge exception handlerarch/powerpc/platforms/85xx/corenet_ds.c+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] enable the PACA_IRQ_EE_EDGE support for book3e

Hi,

In the current kernel, the external proxy works pretty well with the lazy EE. But it still treat the external input interrupt as level sensitive and would hard disable the irq while a interrupt occurs with irq soft disabled. This patch series enables PACA_IRQ_EE_EDGE support for book3e and will leave the irq still hard enabled while a external interrupt occurs with soft irq disabled. This passed the boot test on T4240QDS board.

---
Kevin Hao (4):
powerpc/book3e: introduce external_input_edge exception handler for
64bit kernel
powerpc: move the patch_exception to a common place
powerpc: use patch_exception to update the debug exception handler powerpc/fsl-book3e: enable the external_input_edge exception handler

 arch/powerpc/include/asm/code-patching.h |  7 +++++++
 arch/powerpc/include/asm/paca.h          |  1 +
 arch/powerpc/kernel/asm-offsets.c        |  1 +
 arch/powerpc/kernel/entry_64.S           |  2 ++
 arch/powerpc/kernel/exceptions-64e.S     | 26 +++++++++++++++++++++++---
 arch/powerpc/kernel/irq.c                | 12 ++++++------
 arch/powerpc/kernel/paca.c               |  3 +++
 arch/powerpc/kernel/setup_64.c           |  6 +-----
 arch/powerpc/lib/code-patching.c         | 15 +++++++++++++++
 arch/powerpc/mm/tlb_nohash.c             | 19 -------------------
 arch/powerpc/platforms/85xx/corenet_ds.c |  9 ++++++++-
 arch/powerpc/sysdev/mpic.c               |  8 ++++++++
 12 files changed, 75 insertions(+), 34 deletions(-)

Thanks,
Kevin

Signature · 1 line
1.8.1.4