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 970FBEB64DA for ; Wed, 12 Jul 2023 15:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FiwlTFn9oTyfIFZV0dwOzynZLbk2zaArR7ouEU60T14=; b=SowOiOoUhy/E5h NMafZgYQ8V4NSygE5Mx3KctLKykS8vPu6DlwZpzTf7vpS0rzsJ4+SQEhShTHKPzaRrM329j/8uhwh ifxJHmMAqRD9xi8K+jfOK/9eNMf1NxtUqZrsLrqhYlb88cIkRTzjFQxylb7OWQ/Knht9x5m6A+qw1 VhaS29Sal7UoinR12efZ4QG9cQzEtjNO+Jujg0LRmt3YMp0OKkXqRl0dvEqD0sPAEE8lFASK1Sqwy ggSG9opUVKNEGaiKPArGxHHVAs9Jtv0sUfda8CkMrXnUNrEHK932HHeIlUhF/Uf+cAdhT2uFtAhiD PzYwkU06VFbN/fMvQWLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJbot-000MSL-2c; Wed, 12 Jul 2023 15:31:59 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJbor-000MRZ-0n for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 15:31:58 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 63F7D61862; Wed, 12 Jul 2023 15:31:54 +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) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_083157_363117_8C4278B5 X-CRM114-Status: GOOD ( 28.03 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel