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 mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D885ECAA25 for ; Thu, 25 Aug 2022 17:29:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id B549F4D8A4; Thu, 25 Aug 2022 13:29:34 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@linux.dev Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xxL7A8pFoYCm; Thu, 25 Aug 2022 13:29:33 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 7D72D4D92B; Thu, 25 Aug 2022 13:29:33 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 082AB4D8A4 for ; Thu, 25 Aug 2022 13:29:32 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JmAi9kSylxkg for ; Thu, 25 Aug 2022 13:29:31 -0400 (EDT) Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 0325D4D83B for ; Thu, 25 Aug 2022 13:29:30 -0400 (EDT) Date: Thu, 25 Aug 2022 10:29:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1661448570; 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=zdth8V+Yi5dhI0ba6Qeqn/SaZeHitUYg7hY4PMB4tjs=; b=JcVnmGrUDy+xU5oOhDVH5E7TR0ogrnEsL5NSG20fGR19XFIeXqFamJ8yN6v9E8Ba1/W2S0 d4WodRFs9xgi7bnqqt7NWF8y/VyfKtA6tjciw1Edpu8L68Z8655kUY1itd+T5TtOp6Gf63 VzcEvmvYg08INaBs/P7H5ocMm/ghoSU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Reiji Watanabe Subject: Re: [PATCH 5/9] KVM: arm64: selftests: Have debug_version() use cpuid_get_ufield() helper Message-ID: References: <20220825050846.3418868-1-reijiw@google.com> <20220825050846.3418868-6-reijiw@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220825050846.3418868-6-reijiw@google.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev Cc: kvm@vger.kernel.org, Marc Zyngier , Andrew Jones , Paolo Bonzini , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Wed, Aug 24, 2022 at 10:08:42PM -0700, Reiji Watanabe wrote: > Change debug_version() to use cpuid_get_ufield() to extract DebugVer > field from the AA64DFR0_EL1 register value. Either squash this into the patch that adds the field accessors or reorder it to immediately follow said patch. aarch64_get_supported_page_sizes() is also due for a cleanup, as it accesses the TGRANx fields of ID_AA64MMFR0_EL1. -- Thanks, Oliver _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5506FECAA25 for ; Thu, 25 Aug 2022 17:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=br9pJNFGbt7S7dgHbJgoYF7MtIjPoUHnzgKD62hyXSM=; b=q2ELd85LmcODCU xU8FugipZu6t1Eza/sb9q6TLg/uyNhSehMBYN3tF0R+G/qIS2jgBqCsP01pAY6e2s4x/CeUirgcp7 es5GZTlOhJ5DPYCdWFs1orKkYbhVVef8ih74VExQb9alna4/hMXipKAMcltzNJwbFZ4jj4yzMFrUp J5qtzMxLf2a6wLHKCIu4JkfQlQ9SevQKNgFa7qJh7wAty12K7+WwoYQ1vYeIAvOQNQdiFVpj+wlx5 lURn2z5chY6l3NSFhw1yglo8D2qeWiwWatAJKganqFALTf8prOE0iSTWbFCSY7eH4eKRQ+bILWnET Q8HThGZup6unhMZ7q4Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRGff-00GsCc-Ce; Thu, 25 Aug 2022 17:29:35 +0000 Received: from out0.migadu.com ([2001:41d0:2:267::]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRGfb-00Gs7u-KP for linux-arm-kernel@lists.infradead.org; Thu, 25 Aug 2022 17:29:33 +0000 Date: Thu, 25 Aug 2022 10:29:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1661448570; 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=zdth8V+Yi5dhI0ba6Qeqn/SaZeHitUYg7hY4PMB4tjs=; b=JcVnmGrUDy+xU5oOhDVH5E7TR0ogrnEsL5NSG20fGR19XFIeXqFamJ8yN6v9E8Ba1/W2S0 d4WodRFs9xgi7bnqqt7NWF8y/VyfKtA6tjciw1Edpu8L68Z8655kUY1itd+T5TtOp6Gf63 VzcEvmvYg08INaBs/P7H5ocMm/ghoSU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Reiji Watanabe Cc: Marc Zyngier , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Andrew Jones , Paolo Bonzini , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 5/9] KVM: arm64: selftests: Have debug_version() use cpuid_get_ufield() helper Message-ID: References: <20220825050846.3418868-1-reijiw@google.com> <20220825050846.3418868-6-reijiw@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220825050846.3418868-6-reijiw@google.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_102931_859618_A7B4C6BA X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Aug 24, 2022 at 10:08:42PM -0700, Reiji Watanabe wrote: > Change debug_version() to use cpuid_get_ufield() to extract DebugVer > field from the AA64DFR0_EL1 register value. Either squash this into the patch that adds the field accessors or reorder it to immediately follow said patch. aarch64_get_supported_page_sizes() is also due for a cleanup, as it accesses the TGRANx fields of ID_AA64MMFR0_EL1. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 36F48ECAA24 for ; Thu, 25 Aug 2022 17:29:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242503AbiHYR3d (ORCPT ); Thu, 25 Aug 2022 13:29:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242346AbiHYR3c (ORCPT ); Thu, 25 Aug 2022 13:29:32 -0400 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82523A4041 for ; Thu, 25 Aug 2022 10:29:31 -0700 (PDT) Date: Thu, 25 Aug 2022 10:29:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1661448570; 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=zdth8V+Yi5dhI0ba6Qeqn/SaZeHitUYg7hY4PMB4tjs=; b=JcVnmGrUDy+xU5oOhDVH5E7TR0ogrnEsL5NSG20fGR19XFIeXqFamJ8yN6v9E8Ba1/W2S0 d4WodRFs9xgi7bnqqt7NWF8y/VyfKtA6tjciw1Edpu8L68Z8655kUY1itd+T5TtOp6Gf63 VzcEvmvYg08INaBs/P7H5ocMm/ghoSU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Reiji Watanabe Cc: Marc Zyngier , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Andrew Jones , Paolo Bonzini , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 5/9] KVM: arm64: selftests: Have debug_version() use cpuid_get_ufield() helper Message-ID: References: <20220825050846.3418868-1-reijiw@google.com> <20220825050846.3418868-6-reijiw@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220825050846.3418868-6-reijiw@google.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, Aug 24, 2022 at 10:08:42PM -0700, Reiji Watanabe wrote: > Change debug_version() to use cpuid_get_ufield() to extract DebugVer > field from the AA64DFR0_EL1 register value. Either squash this into the patch that adds the field accessors or reorder it to immediately follow said patch. aarch64_get_supported_page_sizes() is also due for a cleanup, as it accesses the TGRANx fields of ID_AA64MMFR0_EL1. -- Thanks, Oliver