Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp816798pxb; Wed, 13 Apr 2022 13:07:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoL0PCnApIFnBjfyyemhwO27AvmuvwjThuOsjRhL26J1T/fVPVq+Z30bWGfAZFsMzFdLCQ X-Received: by 2002:a17:902:d2d1:b0:158:761e:c19c with SMTP id n17-20020a170902d2d100b00158761ec19cmr13517605plc.27.1649880427934; Wed, 13 Apr 2022 13:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649880427; cv=none; d=google.com; s=arc-20160816; b=IJPlcAv+wQSHKkHFY3+AXD6QroqNfvofv9YZYNMTNATLc4CO6jFaEMVdyreDjSaB18 BYjYYPHKh9fkIR00p9MSuyDBo7B+KhZ6+dL+wD0KZe1wRAA5+cew9ImzNjzw9cpVFKrp JdNKEqnWQMT4vP8Hb7Ti+bfHQTcZULerbBdCMkFbMnP4Qlz0HmlsyduPiBcYdy0yE25u 5zDxhcEGKbHYgOj9SPA/nogJw7GewMrg3QoYFoioC0PBWMCvvf8OlAsoxyUPAQLy65S5 fyaRsxnfDKWTO4NqkvPHCKTHmSvIZJpFueGcEZ7v063aDoZ1CHYV9amYwn2zmJrWCGEk D7ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:reply-to:dkim-signature; bh=etNogBidbFvzG587dPz0EWEzFmzslPPD/UlHCJ6dM0k=; b=zXSdHntMXvAUz7rL7DaIhUdu5JgMVJleqSpSFW+FJxe+bpQ2U25OQVZgryBCL1BvOZ wcYInB03ra7QTDVkz21jWkqjOpwCaq4Iu5cFUjS+ja0KSXLnV3QR8hC6yWDEGVwPawzY npUFCZTalY0hLu2qsLSy9bBnMtIlbwtP9kRDM9dkZidHQzrZ5RtaBpqdksv0hvyiuTR+ gmSFw9jNIjC6haQmX9i3lLwG2RXT9tqw+/s85omHCQ8zvUDKJbsvTJLPjpT8APw/k1OS 73aq9a4Yq33I4U5nLt4gE9kRz/+/0ZQVI7GrWG3j35tttzd7ZhlkEZRa6n2LwKRTEj/i rgQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=a8XGpArF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a38-20020a056a001d2600b005061eb330a1si2543997pfx.351.2022.04.13.13.06.51; Wed, 13 Apr 2022 13:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=a8XGpArF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234420AbiDMJZS (ORCPT + 99 others); Wed, 13 Apr 2022 05:25:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234406AbiDMJZH (ORCPT ); Wed, 13 Apr 2022 05:25:07 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3F4D653705 for ; Wed, 13 Apr 2022 02:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649841762; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=etNogBidbFvzG587dPz0EWEzFmzslPPD/UlHCJ6dM0k=; b=a8XGpArFIvGZdlSSBflpENbY0bAZwGwGOyJOfIbg10GFOZ64X/uaSjhfgF8W6cwei4I3zv 7KN0kshMc9j7Bg5g5q64yztrbE85S05I2Y5Dja+5w5NDWhXbYzLr6pNsC/zlyuN3DIBxQB d148c1PJ//ZRbgSSGbFWgi7s6SNGeV8= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-EfPFCYQhPdGHFp6PNVnNaQ-1; Wed, 13 Apr 2022 05:22:40 -0400 X-MC-Unique: EfPFCYQhPdGHFp6PNVnNaQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 298FD296A60B; Wed, 13 Apr 2022 09:22:40 +0000 (UTC) Received: from [10.72.13.171] (ovpn-13-171.pek2.redhat.com [10.72.13.171]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A55CAC15E73; Wed, 13 Apr 2022 09:22:33 +0000 (UTC) Reply-To: Gavin Shan Subject: Re: [PATCH v5 10/10] selftests: KVM: aarch64: Add KVM_REG_ARM_FW_REG(3) to get-reg-list To: Raghavendra Rao Ananta , Marc Zyngier , Andrew Jones , James Morse , Alexandru Elisei , Suzuki K Poulose Cc: kvm@vger.kernel.org, Catalin Marinas , Peter Shier , linux-kernel@vger.kernel.org, Paolo Bonzini , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org References: <20220407011605.1966778-1-rananta@google.com> <20220407011605.1966778-11-rananta@google.com> From: Gavin Shan Message-ID: Date: Wed, 13 Apr 2022 17:22:30 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <20220407011605.1966778-11-rananta@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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