From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3F161DE8AE for ; Tue, 13 Oct 2026 13:02:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791896578; cv=none; b=cbPLG1P2ewhnY6mz+cAl17+tjmPW3Ne+5Cn41DuJVi4Q7un7Q0jjLZ6hP6Zod8dkf3BXU2x0M2AqN0mPzkgYwSU4BUF453Pvpy3FYYpJ2MdqnZkaJEXAAWpvtxK99eIXhbbtxTajp+ue/r163cv/h99Y0Pg1lf6gLT+qDw60jYA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791896578; c=relaxed/simple; bh=ZrqN4SwiMfEFjFMJxxaia+E+p360c/BMd14mXe0AmBE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=XznhlGyjgRbB6A1s7KT0RqbgiLxjURURL+2Z+lCM2+DVXATJA53Zpf8E6qa/8fLbvsVGlCLeh13j71kQKfVuryUW6CuV/T1RNM2XnnEsaQ///2CwfjqnG8lRIQU/E8U+iYLhDjS61S0uEnReHRL1JklIXjRvqhUSnt4xDuCIKlQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=UvoO1oKv; arc=none smtp.client-ip=91.218.175.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="UvoO1oKv" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=ZrqN4SwiMfEFjFMJxxaia+E+p360c/BMd14mXe0AmBE=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1791896574; v=1; x=1792501374; b=UvoO1oKvm6CIs2UP34wYbPATNuM6vw+boI/0tuolMfoYR2G6PTWd4dYTgAIUgaRu0RCtx+gS Egx9v9DAUxGKKu5AFUw4DU0Ms8HirR3asnLEQ7amTJyNTTYTXqR6z0ASx66fAD5sPppRRmEZx0b RogMUI7aWPUcGM7lcCfHuIvg= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 5eb0838c8443a40b; Tue, 13 Oct 2026 13:02:54 +0000 X-Mizu-Trace-ID: 5eb0838c8443a40b X-Migadu-Flow: FLOW_OUT From: Fuad Tabba To: Will Deacon , Catalin Marinas Cc: Mark Rutland , Marc Zyngier , Oliver Upton , Joey Gouly , Suzuki K Poulose , Zenghui Yu , Steffen Eiden , Mark Brown , Fuad Tabba , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] arm64: sysreg: Bring field definitions in line with the spec Date: Tue, 13 Oct 2026 14:02:43 +0100 Message-Id: <20261013130247.4135515-1-fuad.tabba@linux.dev> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi folks, Fixes to definitions in the sysreg file that don't match the current spec: three wrong enum values, two misspelt field names, and fields the architecture has dropped, including leftovers from FEAT_TME. The last patch also removes the BRBE driver's check on two more such fields (BRBINFx_EL1.T and LASTFAILED), the only functional change in the series. These came out of the pKVM feature-bit audit, which led me to check the whole file against ARM's register descriptions. I plan to look at turning that check into a linter under arch/arm64/tools, along the lines Will suggested [1], so the next batch doesn't depend on someone reading the spec. Based on Linux 7.3-rc6 (a90ee4305c4a5). Cheers, /fuad [1] https://lore.kernel.org/all/20241211224015.GB17836@willie-the-truck/ Fuad Tabba (4): arm64: sysreg: Fix three incorrect enum values arm64: sysreg: Fix the names of two misspelt fields arm64: sysreg: Mark fields the architecture dropped as RES0 perf: arm_brbe: Remove the check for TME transaction states arch/arm64/kvm/config.c | 4 ++-- arch/arm64/kvm/emulate-nested.c | 2 +- arch/arm64/tools/sysreg | 28 ++++++++++------------------ drivers/perf/arm_brbe.c | 18 ------------------ 4 files changed, 13 insertions(+), 39 deletions(-) base-commit: a90ee4305c4a5df72c11b31dacfdc76e00fcf78a -- 2.39.5