Re: [PATCH] x86: only load initrd above 4g on second try

From: Yinghai Lu
Date: Tue Aug 26 2014 - 18:58:55 EST


On Tue, Aug 26, 2014 at 3:16 PM, Mantas MikulÄnas <grawity@xxxxxxxxx> wrote:
>
> In particular, I just realized yesterday that I don't know whether
> it's referring to physical or virtual addresses in the initrd load
> code -- and the laptop only has 4 GB of memory, so the kernel
> shouldn't be using larger physical addresses in the first place.
> (Virtual ones, on the other hand, /would/ mean a weird bug like
> described above.)

When you have 4G ram installed, the mmio could take [3G,4G).
ram range will be [0,3G), [4G, 5G).

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