Re: [PATCH v5 19/20] iommu/mediatek: Add shutdown callback

From: Yong Wu
Date: Wed Jan 30 2019 - 22:21:24 EST


On Wed, 2019-01-30 at 11:12 -0800, Evan Green wrote:
> On Mon, Dec 31, 2018 at 8:00 PM Yong Wu <yong.wu@xxxxxxxxxxxx> wrote:
> >
> > In the reboot burning test, if some Multimedia HW has something wrong,
> > It may keep send the invalid request to IOMMU. In order to avoid
> > affect the reboot flow, we add the shutdown callback to disable
> > M4U HW when shutdown.
>
> Sounds unpleasant. Hopefully the reboot flow still continues properly
> even in that case, since this shutdown code may not run during some
> rougher resets.

Thanks this hint. I will reword the comment avoid writing reboot.

>
> Reviewed-by: Evan Green <evgreen@xxxxxxxxxxxx>

Thanks.