[PATCH v1 12/26] KVM: arm64: Add PVM_ prefix to avoid name collisions

Steffen Eiden seiden at linux.ibm.com
Mon Jun 8 01:09:48 PDT 2026


On Mon, Jun 01, 2026 at 03:23:36PM -0700, Oliver Upton wrote:
> On Fri, May 29, 2026 at 05:55:45PM +0200, Steffen Eiden wrote:
> > Rename ID_UNALLOCATED to PVM_ID_UNALLOCATED and read_id_reg to
> > pvm_read_id_reg to prevent future name collisions with other subsystems.
> > While at it, fix whitespace issues in the macro invocations
> > 
> > Signed-off-by: Steffen Eiden <seiden at linux.ibm.com>
> 
> No issues with the rename but do you even need the nVHE object at all
> for s390?

No we do not need those definitions. The problem comes with a later patch.
The ID_UNALLOCATED macro moves to include/kvm/arm64/sys_regs.h. Then
arch/arm64/kvm/hyp/nvhe/sys_regs.c redefines that macro.

I renamed the function to stay consistent. 

	Steffen



More information about the linux-arm-kernel mailing list