[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 3/6] xen/riscv: add zImage kernel loading support




On 2/17/26 2:02 PM, Jan Beulich wrote:
On 17.02.2026 12:58, Oleksii Kurochko wrote:
On 2/16/26 5:31 PM, Jan Beulich wrote:
On 12.02.2026 17:21, Oleksii Kurochko wrote:
Introduce support for loading a Linux zImage kernel on RISC-V.
Before I look here in any detail - where would a zImage come from? I can't
spot any support for it in Linux'es arch/riscv/Makefile (whereas
arch/arm/Makefile has such).
Good point.

It is something that should be renamed as not Arm64 (Arm32 really has such
target), not RISC-V doesn't really work with zImage. They are using Image plus
Image.gz as compressed image.

Maybe it would be better to rename kernel_zimage_probe() to something more
generic kernel_image_probe().
Well, it's two things. In the description you explicitly say zImage. That's
simply misleading.

Agree, it should be just Image, I'll update that part of commit description
in the next version.

  Renaming the function (if indeed it copes with more than
just zImage) would likely be a good thing too, but needs sorting with its
maintainers.

I will suggest that then in a separate patch.

~ Oleksii




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.