On Thu, 5 Jan 2023 21:01:27 +0800, Yu Zhang wrote: > KVM already has a 'GPA_INVALID' defined as (~(gpa_t)0) in kvm_types.h, > and it is used by ARM code. We do not need another definition of > 'INVALID_GPA' for X86 specifically. > > Instead of using the common 'GPA_INVALID' for X86, replace it with > 'INVALID_GPA', and change the users of 'GPA_INVALID' so that the diff > can be smaller. Also because the name 'INVALID_GPA' tells the user we > are using an invalid GPA, while the name 'GPA_INVALID' is emphasizing > the GPA is an invalid one. > > [...] Applied to kvmarm/next, thanks! [1/1] KVM: MMU: Make the definition of 'INVALID_GPA' common https://git.kernel.org/kvmarm/kvmarm/c/cecafc0a830f -- Best, Oliver