Message ID | 20220407011605.1966778-11-rananta@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM: arm64: Add support for hypercall services selection | expand |
Hi Raghavendra, On 4/7/22 9:16 AM, Raghavendra Rao Ananta wrote: > Add the register KVM_REG_ARM_FW_REG(3) > (KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3) to the base_regs[] of > get-reg-list. > > Signed-off-by: Raghavendra Rao Ananta <rananta@google.com> > --- > tools/testing/selftests/kvm/aarch64/get-reg-list.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/kvm/aarch64/get-reg-list.c b/tools/testing/selftests/kvm/aarch64/get-reg-list.c > index 281c08b3fdd2..7049c31aa443 100644 > --- a/tools/testing/selftests/kvm/aarch64/get-reg-list.c > +++ b/tools/testing/selftests/kvm/aarch64/get-reg-list.c > @@ -691,6 +691,7 @@ static __u64 base_regs[] = { > KVM_REG_ARM_FW_REG(0), > KVM_REG_ARM_FW_REG(1), > KVM_REG_ARM_FW_REG(2), > + KVM_REG_ARM_FW_REG(3), > KVM_REG_ARM_FW_FEAT_BMAP_REG(0), /* KVM_REG_ARM_STD_BMAP */ > KVM_REG_ARM_FW_FEAT_BMAP_REG(1), /* KVM_REG_ARM_STD_HYP_BMAP */ > KVM_REG_ARM_FW_FEAT_BMAP_REG(2), /* KVM_REG_ARM_VENDOR_HYP_BMAP */ > It seems the same fixup has been done in another patch. https://www.mail-archive.com/kvmarm@lists.cs.columbia.edu/msg38027.html Thanks, Gavin
On Wed, Apr 13, 2022 at 2:22 AM Gavin Shan <gshan@redhat.com> wrote: > > Hi Raghavendra, > > On 4/7/22 9:16 AM, Raghavendra Rao Ananta wrote: > > Add the register KVM_REG_ARM_FW_REG(3) > > (KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3) to the base_regs[] of > > get-reg-list. > > > > Signed-off-by: Raghavendra Rao Ananta <rananta@google.com> > > --- > > tools/testing/selftests/kvm/aarch64/get-reg-list.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/tools/testing/selftests/kvm/aarch64/get-reg-list.c b/tools/testing/selftests/kvm/aarch64/get-reg-list.c > > index 281c08b3fdd2..7049c31aa443 100644 > > --- a/tools/testing/selftests/kvm/aarch64/get-reg-list.c > > +++ b/tools/testing/selftests/kvm/aarch64/get-reg-list.c > > @@ -691,6 +691,7 @@ static __u64 base_regs[] = { > > KVM_REG_ARM_FW_REG(0), > > KVM_REG_ARM_FW_REG(1), > > KVM_REG_ARM_FW_REG(2), > > + KVM_REG_ARM_FW_REG(3), > > KVM_REG_ARM_FW_FEAT_BMAP_REG(0), /* KVM_REG_ARM_STD_BMAP */ > > KVM_REG_ARM_FW_FEAT_BMAP_REG(1), /* KVM_REG_ARM_STD_HYP_BMAP */ > > KVM_REG_ARM_FW_FEAT_BMAP_REG(2), /* KVM_REG_ARM_VENDOR_HYP_BMAP */ > > > > It seems the same fixup has been done in another patch. > > https://www.mail-archive.com/kvmarm@lists.cs.columbia.edu/msg38027.html > Yes, Andrew won the race :( I'll drop this patch. > Thanks, > Gavin > Regards, Raghavendra
diff --git a/tools/testing/selftests/kvm/aarch64/get-reg-list.c b/tools/testing/selftests/kvm/aarch64/get-reg-list.c index 281c08b3fdd2..7049c31aa443 100644 --- a/tools/testing/selftests/kvm/aarch64/get-reg-list.c +++ b/tools/testing/selftests/kvm/aarch64/get-reg-list.c @@ -691,6 +691,7 @@ static __u64 base_regs[] = { KVM_REG_ARM_FW_REG(0), KVM_REG_ARM_FW_REG(1), KVM_REG_ARM_FW_REG(2), + KVM_REG_ARM_FW_REG(3), KVM_REG_ARM_FW_FEAT_BMAP_REG(0), /* KVM_REG_ARM_STD_BMAP */ KVM_REG_ARM_FW_FEAT_BMAP_REG(1), /* KVM_REG_ARM_STD_HYP_BMAP */ KVM_REG_ARM_FW_FEAT_BMAP_REG(2), /* KVM_REG_ARM_VENDOR_HYP_BMAP */
Add the register KVM_REG_ARM_FW_REG(3) (KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3) to the base_regs[] of get-reg-list. Signed-off-by: Raghavendra Rao Ananta <rananta@google.com> --- tools/testing/selftests/kvm/aarch64/get-reg-list.c | 1 + 1 file changed, 1 insertion(+)