From patchwork Wed Jul 31 18:58:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13749062 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 937A6C3DA7F for ; Wed, 31 Jul 2024 19:00:05 +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:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5m8Eju+6/y+muK1gKvCScTVw9yglVhDntX/56eaa3RA=; b=BGbmazx8n/3z4W +a1BYbDxtLGiiGddd/5lafXGQlzlV2DglwGlpVwbdvCSyhKZqhttbtGi6O4tc4Z1Xuv9RSTschX2b 667668NAtof1FlxofMueBB+Hk3nOn8pg1A1FcmBj40QLbwxVepWU5wdwY0Va3CqxrJ6IM6nT1rL94 jgI1fAa0ug/d53srHHLnO25jGcdfvMv34Lwv5La5wFJQi3WatgG+kwkCDepe4EqSVdcTFkQrtOLOu jh7YlNIlTZhupZnLLx8ixq9uWp6FY9T5CgyyHTTsLZidgh+SeGRS9lEAGwD4Bf2OQI7Egf4XcwE0b GHoYW4kMTDZWHTAD0jEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZEYC-00000002CIb-3b2h; Wed, 31 Jul 2024 18:59:52 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZEXe-00000002CA7-4A0g for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2024 18:59:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 3C52662574; Wed, 31 Jul 2024 18:59:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6017C116B1; Wed, 31 Jul 2024 18:59:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722452357; bh=IIxkJ+LLHYSF5s/zfFF1eKcKu6RdZFrjQL0BFWoTo/o=; h=From:Subject:Date:To:Cc:From; b=jcwZZh1XgVTFtdiGExPIP7jFzmY0PpPU30sHhUcK8L/S2Yg4ijFU5xbGYm3S3kyYV FeJgvkBIwiWrRA8FonjBsmw+9n9xgiZhbDeJUcy1E+26/B1ZUe180QwPOxd91AjdYG W7bdefqPLDXoD+Fnd+YfAK6bwYFzXGKW6lJ6MJe4y4hn8GT/imKOPAg8yo6EFgsDCp VuKPWz3eM622QWeEXv2FoLjipBvhqs/KlYd5sirwlyw4aY6rKGtP9fuTMA+DWRYbri pUA6ccbktEaCVw/88FJKUtYdCklDeDs3M/JtT3HreH5HY/w552Kkh8IBS1L96BWMZ8 dkKjmR0jJNrMg== From: Mark Brown Subject: [PATCH 0/2] KVM: arm64: Fine grained traps documentation clarification Date: Wed, 31 Jul 2024 19:58:36 +0100 Message-Id: <20240731-kvm-arm64-fgt-doc-v1-0-abb364f8fe57@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAF2JqmYC/x3MTQqAIBBA4avErBuwsjG6SrSQHGuIftCIILx70 vJbvPdC5CAcoS9eCHxLlGPPqMoCpsXuM6O4bKhVrZVpFK73hjZspNHPF7pjQkuku5a8NY4gd2d gL8//HMaUPtlErV1jAAAA To: Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Catalin Marinas , Will Deacon , Fuad Tabba Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.15-dev-37811 X-Developer-Signature: v=1; a=openpgp-sha256; l=691; i=broonie@kernel.org; h=from:subject:message-id; bh=IIxkJ+LLHYSF5s/zfFF1eKcKu6RdZFrjQL0BFWoTo/o=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBmqomBCLHIbVaYACy/dLCOdZqN+VAb+rwmgXoapvB7 oU+PVwSJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZqqJgQAKCRAk1otyXVSH0A5EB/ 0QurbYEG/u2OyMRbdKZa6f1yyjuNQh0ZsYGWibl2UJ63RPg23h1L8aeo/IyC20qYw2adus+iyEhtXk c8BUxBwAFP8jJv8ov/BjizHGutauGR779w2ylyPuhTKNpzHjqHCAvM+F28wvhYANyVtn0wWmHtfnT3 HdrtO2afgS31K73HoHK+WEGb6wYBXJDD+2LIbRwOGQ08Lgy+1mp/uLqnjRrDyYm889lkr5F/ylcFPF U05Szpkv1sPMRujAj0uTMhx/l/3Phy9a1LqPhV6H7Vq0fFPsJRZQ5Da1JNqQSKUe2Cm5mCZ2qCJgOe d5bfBxQaxZaye7kGvh+mWLOtcJXcxN X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240731_115919_134892_1DA97EA7 X-CRM114-Status: UNSURE ( 7.03 ) 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 When looking at the code for management of fine grained traps I noticed that some comments were out of date, and that there's some potentially suprising usage which could usefully be clarified. Signed-off-by: Mark Brown --- Mark Brown (2): KVM: arm64: Fix outdated comment about incomplete FGT bitmask definitions KVM: arm64: Clarify meaning of _MASK and _nMASK for FGT registers arch/arm64/include/asm/kvm_arm.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b change-id: 20240730-kvm-arm64-fgt-doc-a664856fa7d6 Best regards,