From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8652AC04AAC for ; Wed, 20 Sep 2023 15:59:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235597AbjITP7T (ORCPT ); Wed, 20 Sep 2023 11:59:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235495AbjITP7Q (ORCPT ); Wed, 20 Sep 2023 11:59:16 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77091B9 for ; Wed, 20 Sep 2023 08:59:10 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99bdcade7fbso908503766b.1 for ; Wed, 20 Sep 2023 08:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1695225549; x=1695830349; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=rTOJJcBmIOT1+zi0OT/D2Ib8E/xBZc3n9UZuUTQAznk=; b=Gl6FWXk6yzKOoc0d6MY67zjOaZFsQ/eWn4xMYvkewbV9nojS9o1XGFL8ALbRZbVdBh oLY/DONYIwK+TerP4LruP8ZWUmVS9V7xFniM9CpUlGPp7PAQ8KJMCTdHGCI+sDx+eLFd DFrPyrkwF6fyyd/k+pNtHu/fAQoD8ztisoC1fim2dxX53zIG6TobzbqtEo+7wlqLGsKY KatU1jv9qrnI9oeVcUY+u6ftC8dwHJqzSIofU6G16gDz1yHesZwy28Nrnr2OwdWQ9bmT umU5TgE3T/XYc4NntsUbsr0rYlqdmuMv3ZfYm+ImF455bz6XtBJSizl/bh+Wc0tglOWG aQJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695225549; x=1695830349; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rTOJJcBmIOT1+zi0OT/D2Ib8E/xBZc3n9UZuUTQAznk=; b=A7h0o26+Rok2wl7Vp8qkAZj+tRndkuGTS+Dac4HqaXUSp0ArAnhyxyPndS1W7t3cmU qO3l2lQm9TFpH6iwHuzxH7ZSF36W/pH241jWiu+DNWbhiX+s3W3AO3k4N2GdviDQi+Tw sRe48RbzMw2YppIQzDoykMAA0K9F0RgrEJAGt+D9QO1sEBd/0db9bJbmFOzJXPNeH45p GNjdWcLbalzD33S4GCToExG84t1X7tUsb/BPJosXjym1qWclzehS/V+C6dOXxpzQU5bK SBVXOXTmaWrrKoQD1kpDS4waVuDyRQSnKucVxBPYYgzoc20YWgyyfYG6wVkcN3ruowHL OSHQ== X-Gm-Message-State: AOJu0YwFNjP8Nye3oSIRW3hiaDzJpZBQXURlw4jC6iw/59GoHWT0DjHC M8rOlla8hY8N/b/sP/xlCjytww== X-Google-Smtp-Source: AGHT+IHW9j1u4BZK6Q94x+QFx47AjJOr1ij3Eo4Zz9gh+6BWeijfKQS2YiZAaLykAhzJF3l96vQ3Sg== X-Received: by 2002:a17:907:2cd9:b0:9ae:4d6d:ba5b with SMTP id hg25-20020a1709072cd900b009ae4d6dba5bmr1730696ejc.40.1695225548942; Wed, 20 Sep 2023 08:59:08 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id v14-20020a17090606ce00b00993cc1242d4sm9573744ejb.151.2023.09.20.08.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 08:59:08 -0700 (PDT) Date: Wed, 20 Sep 2023 17:59:07 +0200 From: Andrew Jones To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Shuah Khan , Palmer Dabbelt , Paul Walmsley , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Atish Patra Subject: Re: [PATCH v2 4/4] KVM: riscv: selftests: Selectively filter-out AIA registers Message-ID: <20230920-e3fc5272a2818c67a17cd90c@orel> References: <20230920154608.1447057-1-apatel@ventanamicro.com> <20230920154608.1447057-5-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230920154608.1447057-5-apatel@ventanamicro.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 20, 2023 at 09:16:08PM +0530, Anup Patel wrote: > Currently the AIA ONE_REG registers are reported by get-reg-list > as new registers for various vcpu_reg_list configs whenever Ssaia > is available on the host because Ssaia extension can only be > disabled by Smstateen extension which is not always available. > > To tackle this, we should filter-out AIA ONE_REG registers only > when Ssaia can't be disabled for a VCPU. > > Fixes: 477069398ed6 ("KVM: riscv: selftests: Add get-reg-list test") > Signed-off-by: Anup Patel > Reviewed-by: Atish Patra I guess you missed my reply to myself where I corrected my analysis and gave an r-b. Anyway, here it is again, and thanks for fixing up the nits. Reviewed-by: Andrew Jones Thanks, drew