Skip to content

Add HMI handling in Linux host.

Mahesh J Salgaonkar linuxppc-dev 1 version New

Get series with b4
b4 am 20140729130900.13492.85976.stgit@mars

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/book3s: Add basic infrastructure to handle HMI in Linux.arch/powerpc/include/asm/exception-64s.h arch/powerpc/include/asm/hardirq.h arch/powerpc/include/asm/hw_irq.h +10 more+139 -30 replies
2/3powerpc/powernv: Invoke opal call to handle hmi.arch/powerpc/include/asm/opal.h arch/powerpc/include/asm/paca.h arch/powerpc/platforms/powernv/Makefile +3 more+267 -70 replies
3/3powerpc/book3s: handle HMIs for cpus in nap mode.arch/powerpc/kernel/idle_power7.S+32 -00 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/3] Add HMI handling in Linux host.

This patch series implements HMI interrupt handling in Linux. First patch implements basic infrastructure to handle HMI in Linux host. Second patch invokes opal call to handle hmi in opal firmware and retrieve HMI event generated by opal. Third patch handles HMI received on cpus in sleep/nap mode.

This patchset have been tested with following scenario:
a. SMT on mode
b. SMT off mode without any guest
c. SMT off + multiple guest
c. SMT off + multiple guest running 'find /' command

Thanks,
-Mahesh.
---

Mahesh Salgaonkar (3):
powerpc/book3s: Add basic infrastructure to handle HMI in Linux. powerpc/powernv: Invoke opal call to handle hmi. powerpc/book3s: handle HMIs for cpus in nap mode.

 arch/powerpc/include/asm/exception-64s.h       |    2 
 arch/powerpc/include/asm/hardirq.h             |    1 
 arch/powerpc/include/asm/hw_irq.h              |    1 
 arch/powerpc/include/asm/kvm_asm.h             |    1 
 arch/powerpc/include/asm/machdep.h             |    4 +
 arch/powerpc/include/asm/opal.h                |   49 ++++++
 arch/powerpc/include/asm/paca.h                |    1 
 arch/powerpc/kernel/entry_64.S                 |    5 +
 arch/powerpc/kernel/exceptions-64s.S           |   66 ++++++++
 arch/powerpc/kernel/idle_power7.S              |   32 ++++
 arch/powerpc/kernel/irq.c                      |   14 ++
 arch/powerpc/kernel/traps.c                    |   24 +++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S        |    6 +
 arch/powerpc/platforms/powernv/Makefile        |    2 
 arch/powerpc/platforms/powernv/opal-hmi.c      |  188 ++++++++++++++++++++++++
 arch/powerpc/platforms/powernv/opal-wrappers.S |    1 
 arch/powerpc/platforms/powernv/opal.c          |   43 +++++
 arch/powerpc/platforms/powernv/setup.c         |    2 
 18 files changed, 435 insertions(+), 7 deletions(-)
 create mode 100644 arch/powerpc/platforms/powernv/opal-hmi.c

--
Signature