Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1267594

Re: [PATCH v2] of: Check for overlap in reserved memory regions

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH v2] of: Check for overlap in reserved memory regions
Date 2015-11-12 03:30 +0100
Message-ID <qtPOa-2OL-7@gated-at.bofh.it> (permalink)
References <q99Rw-6uQ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2015-09-15 at 18:30 -0700, Mitchel Humpherys wrote:

> Any overlap in the reserved memory regions (those specified in the
> reserved-memory DT node) is a bug.

Can you expand a bit on why you think it's a bug? I assume it was discussed at
some point on the list but I didn't see it sorry.

There's nothing I can see in the binding document[1] about whether regions can
overlap, or what it would mean if they did.

If we want to declare that overlapping regions are always a bug then there
should be some text in the binding explaining that. There's also the
possibility that we have existing device trees in the wild that contain
overlapping regions, and whether we think it's OK to retrospectively declare
that they're incorrect.

cheers

[1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2] of: Check for overlap in reserved memory regions Michael Ellerman <mpe@ellerman.id.au> - 2015-11-12 03:30 +0100

csiph-web