Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750952AbdGZNl7 (ORCPT ); Wed, 26 Jul 2017 09:41:59 -0400 Received: from 8bytes.org ([81.169.241.247]:60200 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbdGZNl6 (ORCPT ); Wed, 26 Jul 2017 09:41:58 -0400 Date: Wed, 26 Jul 2017 15:41:35 +0200 From: Joerg Roedel To: Artem Savkov Cc: Thomas Gleixner , iommu@lists.linux-foundation.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/amd: Fix schedule-while-atomic BUG in initialization code Message-ID: <20170726134135.GA21502@8bytes.org> References: <20170725135618.hev4vj7w24gm3a5q@shodan.usersys.redhat.com> <20170726122614.GP15833@8bytes.org> <20170726132505.cw4xmstcrbmuduyz@shodan.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170726132505.cw4xmstcrbmuduyz@shodan.usersys.redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 610 Lines: 15 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 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