Re: [PATCH 1/2] metag: copy devicetree to non-init memory

From: Vineet Gupta
Date: Thu Feb 21 2013 - 06:20:00 EST


On Wednesday 20 February 2013 08:22 PM, James Hogan wrote:
> Make a copy of the device tree blob in non-init memory. It is required
> when using built-in device tree files that the platform code copies the
> blob to non-init memory prior to calling unflatten_device_tree(),
> otherwise the strings that the device tree refer to will get poisoned
> and potentially reused, breaking later reading of the device tree
> post-init (such as compatible matching in modules, debugfs, and the
> procfs interface).
>
> Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx>

In case you need it - Reviewed-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>
--
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/