From patchwork Tue Oct 22 14:40:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 13845753 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 E38B5D2C560 for ; Tue, 22 Oct 2024 14:42:06 +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:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EJrwmMO1cqMf3eohk42DIpP2XmyQ/aDTNkUb6eIOB/0=; b=4OSRObyMEkEoSA6b7EPeFL211X OvijF/1inXAnmygOUsJCMqsT680JCh89bkcQlyAlBw3lXaRCPECNMh3h/qqYqTdBh2hqNrYmrPaUr BpYtyt86Mhb7OITIwOSB7/lLNo+XcTwPwyKAHfabSDrk/Km12Qcdet7rwJTaEtJtdIeKFFol62ZEZ ZJnU5pEyvhVnNai9Fsvt3EStJJO0uyAFean6hUubh6U21sAhaxJXVmh+3wQ/RzJUagsXVm4jJHUl9 7fCUltZTR5Wj4kvIrUIeKbHS8Q17dm8IN0jehMr8kv4U14t2jD+9aFYZMW5oUBc1KCa17UfY2v8jW GviecgQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3G56-0000000B8aS-22sN; Tue, 22 Oct 2024 14:41:56 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3G3a-0000000B8Mv-2w85 for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 14:40:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id AA3A7A43BDA; Tue, 22 Oct 2024 14:40:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E727C4CEC3; Tue, 22 Oct 2024 14:40:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729608021; bh=hM3RLqwvypSOep8dQhDbJN+CxR9fQGncFd2fOZkcEOI=; h=From:To:Cc:Subject:Date:From; b=kgcxk9wY9EOsmaSDGs4jGUBXlnET6mZY2zIqaYsIVCheuVk7ZbPxxE+O6fi9GTT4h //V3+obkwrApaivUMN+FfGRFyu7lX9aTP1FsrVBIg5tBUWDHC5MjN8LjZzppNBKRDd zotcwlYDgpf8nD51z/Z7eU8RqmS8JCLni78XDEgSd2k8TEJPfapRB1ir6nYI6VY3rS K/wVWDM2ig5Og8poxzN5rBMdHhzIFlDNbQy9U0p8TIURcwA80U84z3lUIy4fOoIY3A tM7KlwhlD92skxSoOWEdOwBYEsamA76m1Eyykwnw6IttVxehR6o5k6Jt90ql1Qky1i DX5EZGRUMFJUg== From: Will Deacon To: linux-arm-kernel@lists.infradead.org Cc: Will Deacon , Marc Zyngier , Oliver Upton , Joey Gouly , Fuad Tabba , kvmarm@lists.linux.dev Subject: [PATCH 0/2] KVM: arm64: Simplify handling of GICv3 hardware with broken SEIS Date: Tue, 22 Oct 2024 15:40:14 +0100 Message-Id: <20241022144016.27350-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_074022_820186_890DF1D1 X-CRM114-Status: UNSURE ( 7.60 ) 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 Hi folks, While looking at reducing the host memory mapped into pKVM at EL2, I noticed that the GICv3 CPU interface emulation for hardware with broken SEIS implementations can be simplified and the corresponding mapping of 'kvm_vgic_global_state' can be dropped. Please have a look! Cheers, Will Cc: Marc Zyngier Cc: Oliver Upton Cc: Joey Gouly Cc: Fuad Tabba Cc: kvmarm@lists.linux.dev --->8 Will Deacon (2): KVM: arm64: Just advertise SEIS as 0 when emulating ICC_CTLR_EL1 KVM: arm64: Don't map 'kvm_vgic_global_state' at EL2 with pKVM arch/arm64/kvm/hyp/nvhe/setup.c | 17 ----------------- arch/arm64/kvm/hyp/vgic-v3-sr.c | 3 --- 2 files changed, 20 deletions(-)