]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ba099d1b4498d17ec7556939bf31999437fbcf7
tree2ae6c250044d7fa515cd13f00276b9ddd49d409a
parent0f0d6d83b660953c39d666624514a09cb218cdad
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]