]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: highbank: handle soft poweroff and reset key events
authorRob Herring <rob.herring@calxeda.com>
Wed, 4 Dec 2013 17:05:17 +0000 (11:05 -0600)
committerOlof Johansson <olof@lixom.net>
Wed, 4 Dec 2013 17:28:50 +0000 (09:28 -0800)
commit39ed3b38c17824586ada2d9e073629e74734e37f
tree83cb155afa72b41bbeddf7002d9236f2575a249a
parent8d3847e258aaf1d9f2430a6ff961095d11ab6ff0
ARM: highbank: handle soft poweroff and reset key events

Graceful reboot and poweroff via IPMI commands to the management
processor don't work. Power and reset keys are events from the
management processor which are generated via IPC messages. Passing
the keys to userspace does not work as neither acpid nor a desktop
environment are present.

This adds a notifier handler for the IPC messages so the kernel can
handle the key events directly and IPMI graceful shutdown will work.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: stable@vger.kernel.org
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-highbank/highbank.c