Thread (10 messages) 10 messages, 3 authors, 2021-06-04

Re: [PATCH V11 1/2] i2c: i2c-qcom-geni: Add shutdown callback for i2c

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-06-04 20:34:03
Also in: linux-arm-msm, linux-media, lkml

On Tue, May 25, 2021 at 06:40:50PM +0530, Roja Rani Yarubandi wrote:
If the hardware is still accessing memory after SMMU translation
is disabled (as part of smmu shutdown callback), then the
IOVAs (I/O virtual address) which it was using will go on the bus
as the physical addresses which will result in unknown crashes
like NoC/interconnect errors.

So, implement shutdown callback for i2c driver to suspend the bus
during system "reboot" or "shutdown".

Fixes: 37692de5d523 ("i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller")
Signed-off-by: Roja Rani Yarubandi <redacted>
Applied to for-current, thanks!

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help