[PATCH] [PowerPC] Support For Initrd Loaded Into Highmem

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon May 18 07:55:03 EST 2009


> Also if initrd is in the highmem, uBoot adds initrd highmem region into the
> initial_boot_params->off_mem_rsvmap. This leads to kernel crash, because kernel
> assumes that regions from the initial_boot_params->off_mem_rsvmap are in the
> lowmem. So patch skips initrd highmem region when kernel reserves lowmem regions
> in early_reserve_mem().
> 
>   This patch is for linux-2.6.30-rc6.

Fixing the reserve map isn't the right approach.

We should be able to have anything in there. It's the kernel that should
be more careful at coping if it contains things that aren't in lowmem.

Cheers,
Ben.





More information about the Linuxppc-dev mailing list