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 6E5F0CD13CF for ; Sun, 9 Nov 2025 17:16:43 +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:References:In-Reply-To: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:List-Owner; bh=kmX4lyPBoT875wjHWdcqUov5fV8rK+s5knvWif8YRXo=; b=eLslQZnjEaYyFXkzevfq0Teo9i 6We+KIg/KyLBWowdlZSn0O2q3Y0d38YiodMCwxRxRFK8dREDbtuiObVA/wn1DyiigQzRoQHK2ZZxP Gh6zhq/qNIj0VC8E/GSr1f8xsbsN/E1hyre3k9E1H95Z5vFQcbx337t8k3HBHnYd8x142uMq0DRT6 TTuSXDR350dTgaIGJLcivXjj7Utph/n7XF29bNNHYEfe7jk6ii7dIFnXXOT5H75Wfeot7dMffVCdc 0BcdbBjQhEvcocFX/Tm1iaEnzbOm3cVMVa6o8CedN7gHPfEs0dFWvP5taR+8s6CTe5hIoyDPeTC4+ zsIHMN1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vI91n-00000004CEv-3FKj; Sun, 09 Nov 2025 17:16:35 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vI91j-00000004C90-2fQs for linux-arm-kernel@lists.infradead.org; Sun, 09 Nov 2025 17:16:33 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 4DDCC417CD; Sun, 9 Nov 2025 17:16:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 291ADC19421; Sun, 9 Nov 2025 17:16:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762708590; bh=/GSt2XVw5TKgrkgRLW7hTqPErYsbM430CGm8iWI4aZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dKKwGzh+C2ajzJvllUjpYtaJhqfIjPu5DJ7a5+9rRSVxbOHAWCAeR/yde88eCQQd2 L5qTo/Uu6/Y2Nk1iHGOgjrijMpmW+vnX3/NsZQJqP8JfHuC1YiE+5mUE4oVnw8hBk5 u4Tcg4nQuLaei+qeCC8A8LUJyjqax0Yc7hPLTYtGDT1kcKB4PYPatFbi065zqffjlr FgfpeOUWPGKtSaP7eFoPwVbzvSqjj3BwNlEpo55zcVnEx66MKVAuxKdSEO6V1eY+so DIyk/TmYLCaVi5EQJSfLxGVKrzB7QhHSt42r1XqFFDKQnaOMRnaXMEz2sMh52wxpIF kBIcuNZVuerNg== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vI91g-00000003exw-0Ipf; Sun, 09 Nov 2025 17:16:28 +0000 From: Marc Zyngier To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Cc: Joey Gouly , Suzuki K Poulose , Oliver Upton , Zenghui Yu , Christoffer Dall , Volodymyr Babchuk , Yao Yuan Subject: [PATCH v2 01/45] irqchip/gic: Add missing GICH_HCR control bits Date: Sun, 9 Nov 2025 17:15:35 +0000 Message-ID: <20251109171619.1507205-2-maz@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251109171619.1507205-1-maz@kernel.org> References: <20251109171619.1507205-1-maz@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, joey.gouly@arm.com, suzuki.poulose@arm.com, oupton@kernel.org, yuzenghui@huawei.com, christoffer.dall@arm.com, Volodymyr_Babchuk@epam.com, yaoyuan@linux.alibaba.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-20251109_091631_689335_A6E70D50 X-CRM114-Status: UNSURE ( 9.53 ) 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 The GICH_HCR description is missing a bunch of additional control bits for the maintenance interrupt. Add them. Signed-off-by: Marc Zyngier --- include/linux/irqchip/arm-gic.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/irqchip/arm-gic.h b/include/linux/irqchip/arm-gic.h index 2223f95079ce8..d45fa19f9e470 100644 --- a/include/linux/irqchip/arm-gic.h +++ b/include/linux/irqchip/arm-gic.h @@ -86,7 +86,13 @@ #define GICH_HCR_EN (1 << 0) #define GICH_HCR_UIE (1 << 1) +#define GICH_HCR_LRENPIE (1 << 2) #define GICH_HCR_NPIE (1 << 3) +#define GICH_HCR_VGrp0EIE (1 << 4) +#define GICH_HCR_VGrp0DIE (1 << 5) +#define GICH_HCR_VGrp1EIE (1 << 6) +#define GICH_HCR_VGrp1DIE (1 << 7) +#define GICH_HCR_EOICOUNT GENMASK(31, 27) #define GICH_LR_VIRTUALID (0x3ff << 0) #define GICH_LR_PHYSID_CPUID_SHIFT (10) -- 2.47.3