net: ipa: fix inter-EE IRQ register definitions
authorAlex Elder <elder@linaro.org>
Wed, 5 May 2021 22:36:36 +0000 (17:36 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 6 May 2021 23:32:10 +0000 (16:32 -0700)
commit6a780f51f87b430cc69ebf4e859e7e9be720b283
tree92da292ded9a5efaabbccc89e263af91f939bce1
parent9f3c3b423567f09ab73d6e89eaccd7fe8a8741f5
net: ipa: fix inter-EE IRQ register definitions

In gsi_irq_setup(), two registers are written with the intention of
disabling inter-EE channel and event IRQs.

But the wrong registers are used (and defined); the ones used are
read-only registers that indicate whether the interrupt condition is
present.

Define the mask registers instead of the status registers, and use
them to disable the inter-EE interrupt types.

Fixes: 46f748ccaf01 ("net: ipa: explicitly disallow inter-EE interrupts")
Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20210505223636.232527-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c
drivers/net/ipa/gsi_reg.h