Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3892943rwb; Mon, 5 Sep 2022 21:56:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR5HUPPy2CU46vvvIvLo8cLCxzkvJlMITcWqtmY188huT8wxgrQZ7bX3hPttsJakmlLCqUHF X-Received: by 2002:a17:906:9bf6:b0:76f:55a3:9579 with SMTP id de54-20020a1709069bf600b0076f55a39579mr60394ejc.222.1662440185226; Mon, 05 Sep 2022 21:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662440185; cv=none; d=google.com; s=arc-20160816; b=hu8z6OG7ribNOa63sYryU5kFDwL+T0rg+ly1x8EnubxLHEVkjuHKUyPXfS01PrgO3U HNnkiHDWqC49pmN9+pRome1z3inylmy2jXB7+zgWG9TwlxWdQ2a/lU4R2zUvma3Au3+A GhZ1TC0P/DKEOrSCUdsr5CIiyrZEVtzXSP4sZ2e2U4vmdg1BIPzy/tvuwLCMwFdj5Dpc uk6p9n6cmrlvTS+vG/MyWJLnu+Rz3Mg7UM3dfyFttuczQt41Nd9L6xU1gnF0sel2715R nUZYaQQ65yi6k2fJixE2tqezGhizY7+GKKCTe3aky0ZIlBZuM0+mFrOxLPP+casKfAsM c9hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=hEQ8207Wqe20jUMzx18IBRP3OCnR8vMZaKCXgkLkmoI=; b=R8laLqdb7LTZG4G+MLpvfrBz4Hq1PMc7HO1xiq1YjuBCkUf6nMPl9RtNqofWfno3iB sT/KomxDePwumsXs/GfyF7xTM7vopQ8ChJdUEQL9xThzWepKWrJJSkNcABT+hgTWPSVm do55f3PDj6p2wyB48gfvtqGd3eQf/zvUBF//pYzZOiHCjhp9TtYpNxAh/POQ9OklSD7X GEA1KQTKRNDwT/ThRRY30F7P/ljcIbK9ZE8BMbhoeGEAfg0AnOBuv1uP1raTifuL6kKL 4GRN8vk2xosdwgvM30jW2ix0bR5+SkBu390JzpGPD1WWU/Xe0L1vb9ACDWqC6lfj8j6L 8N1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=cpKKgUdk; 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=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a50eb03000000b0043bc19efc0bsi7204761edp.136.2022.09.05.21.56.00; Mon, 05 Sep 2022 21:56:25 -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=@linux.dev header.s=key1 header.b=cpKKgUdk; 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=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232576AbiIFEyt (ORCPT + 99 others); Tue, 6 Sep 2022 00:54:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230189AbiIFEyr (ORCPT ); Tue, 6 Sep 2022 00:54:47 -0400 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF2FC12A98; Mon, 5 Sep 2022 21:54:45 -0700 (PDT) Date: Tue, 6 Sep 2022 05:54:40 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1662440083; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hEQ8207Wqe20jUMzx18IBRP3OCnR8vMZaKCXgkLkmoI=; b=cpKKgUdkl1pr2b5NAK+po55wTT4lLZFVj2qXXrk+tQJtYXNItl2oTLRu2W5BbAdhXBxw2d zVPdqLj35UVIKoqWdjwC+LOeaHmkB4MQkY09RikH1UtRHMJYcb+LiGFTEEvAfDSNba37CD z91nYZEs/rqeI0hbE1URG2e9enSD2Vs= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Andrew Jones Cc: Marc Zyngier , James Morse , Alexandru Elisei , Paolo Bonzini , Shuah Khan , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Reiji Watanabe , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 7/7] KVM: selftests: Add test for RAZ/WI AArch32 ID registers Message-ID: References: <20220902154804.1939819-1-oliver.upton@linux.dev> <20220902154804.1939819-8-oliver.upton@linux.dev> <20220905073140.lrsrbyu2zhkiki5a@kamzik> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220905073140.lrsrbyu2zhkiki5a@kamzik> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,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 Drew, On Mon, Sep 05, 2022 at 09:31:40AM +0200, Andrew Jones wrote: [...] > > +static uint64_t reg_ids[] = { > > + KVM_ARM64_SYS_REG(SYS_ID_PFR0_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_PFR1_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_DFR0_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_MMFR0_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_MMFR1_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_MMFR2_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_MMFR3_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_ISAR0_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_ISAR1_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_ISAR2_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_ISAR3_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_ISAR4_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_ISAR5_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_MMFR4_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_ISAR6_EL1), > > + KVM_ARM64_SYS_REG(SYS_MVFR0_EL1), > > + KVM_ARM64_SYS_REG(SYS_MVFR1_EL1), > > + KVM_ARM64_SYS_REG(SYS_MVFR2_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_PFR2_EL1), > > + KVM_ARM64_SYS_REG(SYS_ID_MMFR5_EL1), > > Hi Oliver, > > I see all the hidden and unallocated registers have been filtered out of > the test lists. They should also behave as RAZ, right? Maybe we should > keep them in the lists here for consistency and to test them as well. Sure, can do. The reason I only tested these registers is because they have RAZ/WI behavior with this series, whereas the rest are RAZ + invariant. Should be easy enough to cover the whole range, though. -- Thanks, Oliver