From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934716AbdEOOm5 (ORCPT ); Mon, 15 May 2017 10:42:57 -0400 Received: from 8bytes.org ([81.169.241.247]:36108 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934356AbdEOOm4 (ORCPT ); Mon, 15 May 2017 10:42:56 -0400 Date: Mon, 15 May 2017 16:42:54 +0200 From: Joerg Roedel To: Thomas Gleixner Cc: LKML , Peter Zijlstra , Ingo Molnar , Steven Rostedt , Mark Rutland , iommu@lists.linux-foundation.org Subject: Re: [patch 11/18] iommu/of: Adjust system_state check Message-ID: <20170515144254.GE14127@8bytes.org> References: <20170514182716.347236777@linutronix.de> <20170514183613.331455858@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170514183613.331455858@linutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 14, 2017 at 08:27:27PM +0200, Thomas Gleixner wrote: > To enable smp_processor_id() and might_sleep() debug checks earlier, it's > required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. > > Adjust the system_state check in of_iommu_driver_present() to handle the > extra states. > > Signed-off-by: Thomas Gleixner > Cc: Joerg Roedel > Cc: iommu@lists.linux-foundation.org Acked-by: Joerg Roedel