summaryrefslogtreecommitdiffstats
path: root/drivers/soc/aspeed/aspeed-socinfo.c
diff options
context:
space:
mode:
authorJae Hyun Yoo <jae.hyun.yoo@intel.com>2020-12-08 17:17:47 +0800
committerJoel Stanley <joel@jms.id.au>2021-02-10 20:29:31 +1030
commit3f94cf15583be554df7aaa651b8ff8e1b68fbe51 (patch)
treee1654508eb9afd0fe7a5337b97832c9011e4dd62 /drivers/soc/aspeed/aspeed-socinfo.c
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
downloadlinux-3f94cf15583be554df7aaa651b8ff8e1b68fbe51.tar.bz2
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: 3772e5da4454 ("drivers/misc: Aspeed LPC snoop output using misc chardev") Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com> Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20201208091748.1920-1-wangzhiqiang.bj@bytedance.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/soc/aspeed/aspeed-socinfo.c')
0 files changed, 0 insertions, 0 deletions