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 52E41C27C75 for ; Thu, 13 Jun 2024 10:27:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=jixuxwltnJ2inZAnpBEqM2TQmHs8ZjJ+bSLoowSHZo4=; b=jQldsm8hIwc2/7+BPAYOBjk02C Nr+d7LKWVp3pDp6t1niP5pNERUjCdiQel3siLfULcilCrEhRcZf8vBxlaZnrfEei4adNs1B2cTzlH eZNCF1TxNAF051OJGBe1U85kDD/77i+w39H1eRH/KPyA2+yA/QZnzdBjPZMDGqpc5tTA4/m6i7KeM wu/yleXqzn0Fb2KEKs6nxlaw0whaxjXkoF5PlrDF4Hjjb1ioeW+BYHw/aN8aMux7vqMsZDKwpLzDa 8bNNLCpIWSBClKVq394w3P4NIyul2BRwQSpUpMIl2TQcxouqBiKsXnoPIJWT1ish8Fo44/vsS0RQD /Mwr/9VQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHhfw-0000000G8Xb-1mR6; Thu, 13 Jun 2024 10:27:24 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHhft-0000000G8WB-290M for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 10:27:23 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DC2071063; Thu, 13 Jun 2024 03:27:44 -0700 (PDT) Received: from a077893.arm.com (unknown [10.163.44.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A08723F5A1; Thu, 13 Jun 2024 03:27:16 -0700 (PDT) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org Cc: mark.rutland@arm.com, ryan.roberts@arm.com, Anshuman Khandual , Marc Zyngier , Oliver Upton , Catalin Marinas , Will Deacon , Mark Brown , kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH V2 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT] Date: Thu, 13 Jun 2024 15:57:08 +0530 Message-Id: <20240613102710.3295108-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_032721_695380_6F81A657 X-CRM114-Status: UNSURE ( 7.63 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series replaces custom macros usage for ID_AA64PFR0_EL1_ELx_64BIT_ONLY and ID_AA64PFR0_EL1_ELx_32BIT_64BIT fields, thus finally just dropping them off completely. This series applies on v6.10-rc3 Cc: Marc Zyngier Cc: Oliver Upton Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Mark Brown Cc: linux-arm-kernel@lists.infradead.org Cc: kvmarm@lists.linux.dev Cc: linux-kernel@vger.kernel.org Changes in V2: - Replaced FIELD_PREP() with SYS_FIELD_PREP_ENUM() as per Marc Changes in V1: https://lore.kernel.org/all/20240418053804.2573071-1-anshuman.khandual@arm.com/ Anshuman Khandual (2): KVM: arm64: Replace custom macros with fields from ID_AA64PFR0_EL1 arm64/cpufeature: Replace custom macros with fields from ID_AA64PFR0_EL1 arch/arm64/include/asm/cpufeature.h | 4 ++-- arch/arm64/include/asm/sysreg.h | 4 ---- arch/arm64/kernel/cpufeature.c | 4 ++-- arch/arm64/kvm/hyp/include/nvhe/fixed_config.h | 10 +++++----- arch/arm64/kvm/hyp/nvhe/pkvm.c | 4 ++-- arch/arm64/kvm/hyp/nvhe/sys_regs.c | 2 +- 6 files changed, 12 insertions(+), 16 deletions(-) -- 2.30.2