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 27F0CECAAA1 for ; Fri, 28 Oct 2022 00:40:08 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LM0cpvO0v4ixEuR6WsTh9ZJ/bJtRYylWlq//RBxNaB8=; b=IzySMiVyO0xvXZ jpZZpimuWSwkcx/ZGHrHRjSPuhFmf/Yyvpn7qEifftWbBoaVGlskQo6Ll4adm8ylvViCiOQYl0aBg tz80rhlr/KahTUh4G2i3tkikkRaweDr9KsuOGrf0i7VkALkgnaU+8xV+nDOK5CrhR3gdi0uawz2ij 07Aq4Upkb9uNIBIE1b3lmtxUwn5/Twf1iWI/nLucR4jevXHUtDfc3mBgAsKLvS6YuBCM/HFTZBizx sjGI0xbF1jqRtW9+H1CdvNaI2hHQfjOb/SSjKg97kQVepwLfgxV84kFExNwtgHsExlbSfepoP9aZy iw1qPYp0OpHtQAA/akEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooDOQ-00FJWW-Hq; Fri, 28 Oct 2022 00:38:38 +0000 Received: from out0.migadu.com ([94.23.1.103]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooDOO-00FJVk-6R for linux-arm-kernel@lists.infradead.org; Fri, 28 Oct 2022 00:38:37 +0000 Date: Fri, 28 Oct 2022 00:38:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1666917512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C1BX7lhml2+zqjiHu3UCj3/w6pDSCf34usKTumXgNFM=; b=T79GI1toYxDNVx/ytLi/J222M7Ok73l6zejXrlbbTsUUPxl+lWFF8OlJnmecwEV7PJeCwC tyurX+E0JyGbfL+r65dJTQMA+2qvxq4oe3sZuTsBg4UlzT/KAN4jBqRzmplgFNuE+k72Wb yO/vN8cZ0xLeppMUa42V8IhEP2xqrQU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Mark Brown Cc: Catalin Marinas , Will Deacon , Marc Zyngier , Peter Maydell , Richard Henderson , Vincent Donnefort , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev Subject: Re: [PATCH v1 0/2] arm64/sme: Fix SMPRI_EL1 traps for KVM guests Message-ID: References: <20221027210441.814061-1-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221027210441.814061-1-broonie@kernel.org> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_173836_405660_C726797D X-CRM114-Status: GOOD ( 12.93 ) 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, Oct 27, 2022 at 10:04:38PM +0100, Mark Brown wrote: > When adding support for SME I missed management of traps for SMPRI_EL1 > in KVM guests. This series adds that management, and also updates the > documentation to help avoid such issues in future. > > This was noticed due to Vincent Donnefort noticing that qemu has > implemented support for SME virtualisation but not fine grained traps > which was causing problems for qemu in nVHE mode since that already used > fine grained traps with SME, the FGT registers are not implemented and > UNDEF. As a result of this change VHE will also be affected so a > separate series "KVM: arm: Refuse to enable KVM on systems with SME but > not FGT" has been sent which will ensure we don't run on such systems. > > Mark Brown (2): > arm64: booting: Document our requirements for fine grained traps with > SME > KVM: arm64: Trap access to SMPRI_EL1 in VHE mode For the series: Reviewed-by: Oliver Upton -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel