Re: [PATCH 3/5] x86/pvh: Omit needless clearing of phys_base

From: Jason Andryuk
Date: Thu Sep 26 2024 - 16:37:25 EST


On 2024-09-26 06:41, Ard Biesheuvel wrote:
From: Ard Biesheuvel <ardb@xxxxxxxxxx>

Since commit

d9ec1158056b ("x86/boot/64: Use RIP_REL_REF() to assign 'phys_base'")

phys_base is assigned directly rather than added to, so it is no longer
necessary to clear it after use.

Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>

Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Tested-by: Jason Andryuk <jason.andryuk@xxxxxxx>

My patch pre-dated the above, but I never liked it. Happy to see this gone.

Thanks,
Jason