Skip to content
Commit 3f94cf15 authored by Jae Hyun Yoo's avatar Jae Hyun Yoo Committed by Joel Stanley
Browse files

soc: aspeed: snoop: Add clock control logic



If LPC SNOOP driver is registered ahead of lpc-ctrl module, LPC
SNOOP block will be enabled without heart beating of LCLK until
lpc-ctrl enables the LCLK. This issue causes improper handling on
host interrupts when the host sends interrupt in that time frame.
Then kernel eventually forcibly disables the interrupt with
dumping stack and printing a 'nobody cared this irq' message out.

To prevent this issue, all LPC sub-nodes should enable LCLK
individually so this patch adds clock control logic into the LPC
SNOOP driver.

Fixes: 3772e5da ("drivers/misc: Aspeed LPC snoop output using misc chardev")
Signed-off-by: default avatarJae Hyun Yoo <jae.hyun.yoo@intel.com>
Signed-off-by: default avatarVernon Mauery <vernon.mauery@linux.intel.com>
Signed-off-by: default avatarJohn Wang <wangzhiqiang.bj@bytedance.com>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20201208091748.1920-1-wangzhiqiang.bj@bytedance.com


Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 5c8fe583
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment