Re: [PATCH v4 2/8] OF: Introduce DT overlay support.

From: Guenter Roeck
Date: Mon May 26 2014 - 19:48:21 EST


On 05/26/2014 02:44 PM, Geert Uytterhoeven wrote:
Hi Grant,

On Mon, May 26, 2014 at 11:33 PM, Grant Likely
<grant.likely@xxxxxxxxxxxx> wrote:
After thinking about it more, I think it is very likely that removing
all the overlays is the correct thing to do in the kexec use-case. When
kexec-ing, it makes sense that we'd want the exact same behaviour from
the kexec'ed kernel. That means we want the device drivers to do the
same thing including loading whatever overlays they depend on.

Are the device drivers loading the overlays?
That sounds a bit backwards to me.


Depends on what you mean with 'device driver'. In our case we have a driver
dedicated to handle card status. Quite similar to what the connector subsystem
does but with significantly more functionality (including devicetree overlay
management).

Guenter

--
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/