From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58D6524169 for ; Wed, 12 Jul 2023 15:31:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C023BC433C7; Wed, 12 Jul 2023 15:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689175913; bh=n7iPhHNvQBqYfKrs7J+YNqytd8Rd8bfcawwOlHwdCFM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eaA4vguC9EyJ5/DSCtqu+pabWF7uM8rEtQPOdoOm7NA8UmWU16AeZAwUD0UFJWG03 6UkL+qZQbACxzKaxGWqirPEx6zpWcq4Oi8HSjdjD2e0Q/Qv9oZRRAu4thyNbvhm/mM Zm7IPnast9U63sFk48cCMj+tTCe7RIx7nMpf2wH7ZddCaoyYk4VLdZQx4enSjwMKWk vtV5lErSdAA56lppuE6qB9ZZ/y3LFkfZHKlQfJ9eiHVv7Yr0QXY65HvA2zh+M2WPul TyUvJDsI7QbVqf2E9XEehUpAKzRUzzrOOEXPGMihUNLbTg21SaO6GbDQmQ8KJjAUNz M8d9O80ZU46Sg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qJbol-00CVSd-J5; Wed, 12 Jul 2023 16:31:51 +0100 Date: Wed, 12 Jul 2023 16:31:51 +0100 Message-ID: <86y1jluowo.wl-maz@kernel.org> From: Marc Zyngier To: eric.auger@redhat.com Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Mark Brown , Mark Rutland , Will Deacon , Alexandru Elisei , Andre Przywara , Chase Conklin , Ganapatrao Kulkarni , Darren Hart , Miguel Luis , James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu Subject: Re: [PATCH 00/27] KVM: arm64: NV trap forwarding infrastructure In-Reply-To: References: <20230712145810.3864793-1-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: eric.auger@redhat.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, broonie@kernel.org, mark.rutland@arm.com, will@kernel.org, alexandru.elisei@arm.com, andre.przywara@arm.com, chase.conklin@arm.com, gankulkarni@os.amperecomputing.com, darren@os.amperecomputing.com, miguel.luis@oracle.com, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Wed, 12 Jul 2023 16:16:59 +0100, Eric Auger wrote: > > Hi Marc, > > On 7/12/23 16:57, Marc Zyngier wrote: > > As people are getting tired of seeing the full NV series, I've > > extracted some of the easy stuff which I'm targeting for 6.6. > > > > This implements the so called "trap forwarding" infrastructure, which > > gets used when we take a trap from an L2 guest and that the L1 guest > > wants to see the trap for itself. > > > > Most of the series is pretty boring stuff, mostly a long list of > > encodings which are mapped to a set of trap bits. I swear they are > > correct. Sort of. > > > > The interesting bit is around how we compute the trap result, which is > > pretty complex due to the layers of crap the architecture has piled > > over the years (a single op can be trapped by multiple coarse grained > > trap bits, or a fine grained trap bit, which may itself be conditioned > > by another control bit -- madness). > > > > This also results in some rework of both the FGT stuff (for which I > > carry a patch from Mark) and newly introduced the HCRX support. > > > > With that (and the rest of the NV series[1]), FGT gets exposed to guests > > and the trapping seems to work as expected. > > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/nv-6.6-WIP > > I have not received patches 10-27 and I do not see them on lore archive > https://lore.kernel.org/all/20230712145810.3864793-1-maz@kernel.org/#r You should see them shortly. My server throttles outgoing bursts of more than 10 emails, which is why the rest still in limbo. It will eventually time out and spam you for good! ;p Thanks, M. -- Without deviation from the norm, progress is not possible.