Commit 0a5096ec authored by Alex Elder's avatar Alex Elder Committed by Jakub Kicinski

net: ipa: ignore the microcontroller log event

The IPA-resident microcontroller has the ability to log various
activity in an area of IPA shared memory.  When the microcontroller
starts it generates an event to the AP to provide information about
the log.

We don't support reading this log, and we can safely ignore the
event.  So do that rather than treating the log info event we
receive as "unsupported."
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3ce6da1b
...@@ -129,9 +129,10 @@ static void ipa_uc_event_handler(struct ipa *ipa, enum ipa_irq_id irq_id) ...@@ -129,9 +129,10 @@ static void ipa_uc_event_handler(struct ipa *ipa, enum ipa_irq_id irq_id)
if (shared->event == IPA_UC_EVENT_ERROR) if (shared->event == IPA_UC_EVENT_ERROR)
dev_err(dev, "microcontroller error event\n"); dev_err(dev, "microcontroller error event\n");
else else if (shared->event != IPA_UC_EVENT_LOG_INFO)
dev_err(dev, "unsupported microcontroller event %hhu\n", dev_err(dev, "unsupported microcontroller event %hhu\n",
shared->event); shared->event);
/* The LOG_INFO event can be safely ignored */
} }
/* Microcontroller response IPA interrupt handler */ /* Microcontroller response IPA interrupt handler */
......
Markdown is supported
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