[PATCH kvmtool] arm64: pvtime: Use correct region size
Will Deacon
will at kernel.org
Fri Jul 1 08:41:23 PDT 2022
On Wed, 29 Jun 2022 11:39:05 +0100, Alexandru Elisei wrote:
> pvtime uses ARM_PVTIME_BASE instead of ARM_PVTIME_SIZE for the size of the
> memory region given to the guest, which causes to the following error when
> creating a flash device (via the -F/--flash command line argument):
>
> Error: RAM (read-only) region [2000000-27fffff] would overlap RAM region [1020000-203ffff]
>
> The read-only region represents the guest memory where the flash image is
> copied by kvmtool. The region starting at 0x102_0000 (ARM_PVTIME_BASE) is
> the pvtime region, which should be 64K in size. kvmtool erroneously creates
> the region to be ARM_PVTIME_BASE in size instead, and the last address
> becomes:
>
> [...]
Applied to kvmtool (master), thanks!
[1/1] arm64: pvtime: Use correct region size
https://git.kernel.org/will/kvmtool/c/6a1f699108e5
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list