[PATCH v2] arm: Support initrd with address in boot alias region

Matija Glavinic Pecotic matija.glavinic-pecotic.ext at nokia.com
Thu Aug 18 05:28:13 PDT 2022


On 18.08.2022 14:03, Arnd Bergmann wrote:
> I think the logic looks correct, but I' would not put this into init/initramfs.c
> when the problem is specific to Arm. The function is called from
> arch/arm/mm/init.c, so you could just put it there.
> 
> I'm fairly sure that only keystone2 is affected by this, so it might
> even be possible to do this inside of keystone specific code,
> e.g. in keystone_pv_fixup(), which is called a little earlier.

Thanks, I agree initramfs was wrong place to put it.

I will find better place, however since idmap is generic (although with
only one known user platform), I'd like to keep it for arm in general.

Let me prepare next patch.

Thanks,

Matija



More information about the linux-arm-kernel mailing list