Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1087841lqb; Wed, 17 Apr 2024 22:38:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLEpadkvRN8917kVLUeV2O13kK3Ct6ce+DgQjHJw5kbxfmPE27lKm2A+NI6d7N0ZJzpi+XxMKpPlbqU0YolBXLimbr3hXeo2gtJOfc2g== X-Google-Smtp-Source: AGHT+IGwLLI2oXEbXvFxcA7jWENAqrIXBeX5owOJJwWR73WQsPecYXeuqms2s2wjYSBLP/YYuAyQ X-Received: by 2002:a05:6a00:460e:b0:6ed:1c7:8c65 with SMTP id ko14-20020a056a00460e00b006ed01c78c65mr2533164pfb.10.1713418724761; Wed, 17 Apr 2024 22:38:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713418724; cv=pass; d=google.com; s=arc-20160816; b=oHGMoikTBvERCO9mdigfvAOwHJf6yBQOqGvLwbo7ChrP2iSOVyiktxvVVrGCS8YXl/ N7AFQhZBZsLJXnwFD77jTFKFbYCNM9lCLR57cMFWOhMlVzgPGgZE9OKQhSRPXONvQJEA u72lleiDTPTMSrFs2Y+lhDUf4ARSXFR2cl9n1WvlW7RjdAvVJuuM9MjUzK4ZSUtswI0Y 6k1lXaO1xns4Dz1ATx/6zBCW+VWCmONkaTX3X9wkg0LtnL1N0tIYqMwcLx2LrDqFCqZI cf3PlBfsLmigDtXVvKNKMgJsjBlA/MOqR+NTgrWyX3O3cp1a/x2z9Trhh0yBUhhCgAsq G6Uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=gPbyW+QsTqpjN+UJatUtMOgfAv8eGMiaaxT/LjC8ZaE=; fh=sR2y/+f93sJBGbnmB/6htSF7Mp8aJmpKgR8IkyuxNzo=; b=jjjDkph0H3payClWDf47A1O+SJX8zF8O1cg+FO7sABWF+rPWcwpBhBq+qcmNEBmTTR 442RNL5gIE/ifZbsr/jQOkvEKeekS0jJy+gKMAQYuVt4h09xBI1WSQGffVeUwj84Ef/K d6/NETVD7oS0PmocbxXaQqXbFXNwO3nookiYYcp4QJZHFYSjJt59wXUlyJWYdZea4LMY Lo8SZQ0c+cvDI9gWpN9PXxLtd/A8ct/w0UcsKNE6dLxMOVb2ZZyDbn9ya/ibh3wmhde9 Ij/W+e0tHk0A74aZXYxJHSmFhnCg/gPDKuPYOqV37wkq0XSFPRicDJ2CIvFTXB4Y1+qK JdDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-149530-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149530-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q20-20020a63d614000000b005f06995b372si719786pgg.286.2024.04.17.22.38.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 22:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149530-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-149530-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149530-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9B9E0B221F6 for ; Thu, 18 Apr 2024 05:38:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 984FF57334; Thu, 18 Apr 2024 05:38:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BE5C4F8A3 for ; Thu, 18 Apr 2024 05:38:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713418707; cv=none; b=gSYOko6ackBjJjx/mbWHAKsClzYIYqb2CMPe4ovnHl26nfx3cFySTkrlb6Vgh2W3ujfEOsKAT74ondjvvzVoKKXV30bea6qP/PqBTmZ3hxEpWCIrJHuMcC2jpVtRUtNAZlO6mpHOaI7j0NEX2WbbQy1o9hh71XJOWx0rmmCJRbA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713418707; c=relaxed/simple; bh=gDSXEJclSLPUkmucAi4YvSV5HLcUGxSq8okWA1JWTHw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AgToE7EuvUvaDxwEEaLKzo2ZwHRf2gubypHr4Jx/R1uqh+3iiL1qrszZOyK5opQP+kNTzBGq5xop2b0RRIzFvxGUjapHOzIVU6EmrLExWuOWPpwO2qvSKWBq8ZW1N1ReVo4OD3HB15qXR/ZjnaZgZO50x3yWV2l11eAhdZJENck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 51CE4339; Wed, 17 Apr 2024 22:38:46 -0700 (PDT) Received: from a077893.arm.com (unknown [10.163.60.115]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 042623F792; Wed, 17 Apr 2024 22:38:13 -0700 (PDT) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com Cc: Anshuman Khandual , Marc Zyngier , Oliver Upton , Will Deacon , Mark Rutland , Mark Brown , kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT] Date: Thu, 18 Apr 2024 11:08:02 +0530 Message-Id: <20240418053804.2573071-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.9-rc4. 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 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 | 8 ++++---- arch/arm64/kvm/hyp/nvhe/pkvm.c | 4 ++-- arch/arm64/kvm/hyp/nvhe/sys_regs.c | 2 +- 6 files changed, 11 insertions(+), 15 deletions(-) -- 2.25.1