]> git.baikalelectronics.ru Git - kernel.git/commit
of: Check for overlap in reserved memory regions
authorMitchel Humpherys <mitchelh@codeaurora.org>
Wed, 16 Sep 2015 01:30:36 +0000 (18:30 -0700)
committerRob Herring <robh@kernel.org>
Thu, 17 Sep 2015 19:52:06 +0000 (14:52 -0500)
commitc363c9b0d0a398e4652628684fd31841da002278
tree693ae0d5d7cc8503d8beee9d3e6b722d2f254a75
parent057bbd503a2481086d78abb04587fb0c31039b4b
of: Check for overlap in reserved memory regions

Any overlap in the reserved memory regions (those specified in the
reserved-memory DT node) is a bug.  These bugs might go undetected as
long as the contested region isn't used simultaneously by multiple
software agents, which makes such bugs hard to debug.  Fix this by
printing a scary warning during boot if overlap is detected.

Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/of_reserved_mem.c