Re: [patch 11/18] iommu/of: Adjust system_state check
From: Joerg Roedel
Date: Mon May 15 2017 - 10:43:00 EST
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 <tglx@xxxxxxxxxxxxx>
> Cc: Joerg Roedel <joro@xxxxxxxxxx>
> Cc: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
Acked-by: Joerg Roedel <jroedel@xxxxxxx>