Re: [PATCH] ACPI / scan: Annotate physical_node_lock in acpi_scan_is_offline()

From: Toshi Kani
Date: Thu Apr 16 2015 - 15:20:55 EST


On Sat, 2015-04-11 at 01:31 +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> acpi_scan_is_offline() may be called under the physical_node_lock
> of the given device object's parent, so prevent lockdep from
> complaining about that by annotating that instance with
> SINGLE_DEPTH_NESTING.
>
> Reported-by: Xie XiuQi <xiexiuqi@xxxxxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

Agreed that the issue is likely with the lock-class. Assuming Xie's
test goes well (we will need to wait for that :),

Reviewed-by: Toshi Kani <toshi.kani@xxxxxx>

Thanks,
-Toshi


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/