From: Mahesh J Salgaonkar <mahesh@linux.vnet.ibm.com>
To: linuxppc-dev <linuxppc-dev@ozlabs.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: [PATCH 0/3] Add HMI handling in Linux host.
Date: Tue, 29 Jul 2014 18:39:53 +0530 [thread overview]
Message-ID: <20140729130900.13492.85976.stgit@mars> (raw)
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
next reply other threads:[~2014-07-29 13:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-29 13:09 Mahesh J Salgaonkar [this message]
2014-07-29 13:10 ` [PATCH 1/3] powerpc/book3s: Add basic infrastructure to handle HMI in Linux Mahesh J Salgaonkar
2014-07-29 13:10 ` [PATCH 2/3] powerpc/powernv: Invoke opal call to handle hmi Mahesh J Salgaonkar
2014-07-29 13:10 ` [PATCH 3/3] powerpc/book3s: handle HMIs for cpus in nap mode Mahesh J Salgaonkar
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=20140729130900.13492.85976.stgit@mars \
--to=mahesh@linux.vnet.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
/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).