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 4CE1FC433FE for ; Mon, 14 Nov 2022 11:13:29 +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=s3Tg/i1VFfwPSgpqG04HEmgB1IIMzD8+gZioGQ8DuMQ=; b=xQAF3TLFRXtZxE kSftX3nme5Df4qrVNAiciADGkZHplxGukaQ2hh2Q9v8EbvKHQW/jhhGikvPNYktJ6QZbshBQErnf4 cou0HGM8lhWAmokp3KESdyACUKUrUOiSwFE1O2PbyYsF3ZcUwl9MaH2gbJS98cFeyhmH7Fcovy0YQ DuFVnHuZt1bG4/TcmQ8nQja5u41/zY7fSLlo6FYJDOVG0u86KPoG5GvRmhDSIFn7gIaBnMV1KLJg4 r7WAkbs3UyWBwDg/pMqHBQXKUdYC1H3LcranLPbUK3GeTGMbfvtQsX/34KFC8NbQYQWE8VfXXp/dw wqVJeSUR2YpC5r5Qb8nQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouXO9-000FbX-2r; Mon, 14 Nov 2022 11:12:29 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouXO3-000FYH-Sw for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2022 11:12:27 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3AB1EB80DE8; Mon, 14 Nov 2022 11:12:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5500C433D7; Mon, 14 Nov 2022 11:12:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668424340; bh=zhhrfqNl+EV6juqEE9mZnvETtLqZWXBgg1lEQa+nXoE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=E4fGaf3Rto52fVPcGiol5YfEGPiFAuoIYVUNrDLSGVgUJSocGAPVi7Z6agEa4UrBn 98e/aXO3jR1ECDB44HMJDZm+k+z0296ZRBaOdl9rzIfU1okhjxR/OObimanQc5bzKY +sGHKe89TA63uKROYC8Esiw+bav6VG4K7NXTq//E68DVERQeUiBrhStmmEx5o9GuIE BKTUnHayivZi+SZxBVMx09WQYPwFwv/BYp2UrvMl4NbxL3yZ23NRvlf0RxVZPkPCkF UwDq4HTzZ/I68Q86lBDfY5tFZUeORuo4Z2wpDxrMCt829ZgcbiiBsSZl4eCvbdLikQ C0NUJAQI25rfA== Received: from [82.3.55.76] (helo=wait-a-minute.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 1ouXNy-005wOV-LS; Mon, 14 Nov 2022 11:12:18 +0000 Date: Mon, 14 Nov 2022 11:11:57 +0000 Message-ID: <87cz9pvlhe.wl-maz@kernel.org> From: Marc Zyngier To: Lorenzo Pieralisi Cc: Mark Brown , Catalin Marinas , Will Deacon , Mark Rutland , Sami Mujawar , Thomas Gleixner , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 00/18] arm64/nmi: Support for FEAT_NMI In-Reply-To: References: <20221104235453.870573-1-broonie@kernel.org> <87r0ygfh2s.wl-maz@kernel.org> <87leojuse3.wl-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/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 82.3.55.76 X-SA-Exim-Rcpt-To: lpieralisi@kernel.org, broonie@kernel.org, catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, Sami.Mujawar@arm.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org 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-20221114_031224_255521_E0B1000D X-CRM114-Status: GOOD ( 32.35 ) 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 Thu, 10 Nov 2022 11:06:25 +0000, Lorenzo Pieralisi wrote: > > [...] > > > > > Frankly, we are accumulating a bunch of half implemented features > > > > (SME, SPE) for which there is no KVM support, and I don't think this > > > > is the correct direction of travel. > > > > > > Yeah, it's not great. For NMIs Lorenzo is looking at the GIC side, I'll > > > let him clarify his schedule. Here it's more the case that implementing > > > the architecture side without an interrupt controller isn't useful (and > > > certainly not usefully testable) than anything else - my expectation is > > > that it should work fine, though from your comments above it sounds like > > > there will be issues with the handling of PSTATE that I've not realised. > > > > The vgic support should be rather trivial. It is only a matter of > > adding the required interrupt state, reworking the priority sorting > > and LR stuffing, handling the additional MMIO range and dealing with > > the GIC versioning. Trapping of ALLINT should be done at the same > > time. > > > > If people cannot be bothered, I'll end-up doing it myself. > > Apologies for the slow feedback. > > I should be able to do it - I thought that we could start with sorting out > the host required changes but it makes sense to make the KVM changes at > the same time. I'm reviving the couple of hacks I had come up with a long while ago, and will point you to them once I'm done. Feel free to take them or ignore them altogether. Cheers, 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