drivers/misc: add Aspeed LPC snoop driver
authorRobert Lippert <roblip@gmail.com>
Fri, 2 Jun 2017 21:53:22 +0000 (14:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 10:15:18 +0000 (19:15 +0900)
commit9f4f9ae81d0affc182f54dd00285ddb90e0b3ae1
tree2ae6c250044d7fa515cd13f00276b9ddd49d409a
parent761d031ec95b09f4126748a4849b3dabe3c00427
drivers/misc: add Aspeed LPC snoop driver

This driver enables the LPC snoop hardware on the ASPEED BMC
which generates an interrupt upon every write to an I/O port
by the host.

This is typically used to monitor BIOS boot progress by listening
to well-known debug port 80h.

The functionality in this commit just saves all snooped values
to a circular 2K buffer in the kernel, subsequent commits can
act on the values to do things with them.

Signed-off-by: Robert Lippert <rlippert@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/aspeed-lpc-snoop.c [new file with mode: 0644]