On Mon, Aug 17, 2015 at 01:06:35PM +0200, Ard Biesheuvel wrote:
On 17 August 2015 at 13:04, Catalin Marinas [off-list ref] wrote:
quoted
On Mon, Aug 17, 2015 at 12:44:50PM +0200, Ard Biesheuvel wrote:
quoted
I proposed to override early_init_dt_add_memory_arch() completely
instead, but Rob had some comments, after which the discussion kind of
fizzled out.
I don't think we should override early_init_dt_add_memory_arch(), unless
we diverge too much from it. Currently, it looks to me like the end of
PA range check is pretty useless in this function.
OK. But note that, when we decouple the linear mapping from the
mapping of the kernel image, we will need to override this function
anyway.
That's fine. I assume we'll keep the DT memblock checking in the same
place. The main issue I have with your patch is the split of lower
blocks rejected by one function and higher blocks by another.
--
Catalin