Re: [PATCH] iommu/amd: Fix schedule-while-atomic BUG in initialization code

From: Joerg Roedel
Date: Wed Jul 26 2017 - 09:42:03 EST


On Wed, Jul 26, 2017 at 03:25:05PM +0200, Artem Savkov wrote:
> On Wed, Jul 26, 2017 at 02:26:14PM +0200, Joerg Roedel wrote:
> > Yes, that should fix it, but I think its better to just move the
> > register_syscore_ops() call to a later initialization step, like in the
> > patch below. I tested it an will queue it to my iommu/fixes branch.
>
> Checked it as well just in case, didn't see any issues. Thank you.
>
> Reported-and-tested-by: Artem Savkov <asavkov@xxxxxxxxxx>

Thanks for testing it! I added your's and Thomas' tags and applied the
patch to my tree. It should go upstream this week.


Joerg