From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37A10606A31E for ; Fri, 27 Nov 2026 10:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Q3dkP2p2; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=k5GA0a/6 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-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=dsaVeXoBel9W4ls6UNrg3pQcg2DJDSo41c91+5f7WsI=; b=Q3dkP2p2fJOIoiPaHe3G53+joP vVX3SkqS+tNYnhTWhI6E4HYFv8FH3Hvdv5TEXzeYyEDYe4DsF5Vd7La7zOGU0QkHcWHcgmWmXnXq4 8DJ6bZ9L6g/mZ08v2nYCtvCeBk3mEUUOENq3++8ELvzSVdDS1OHzG3F1Vtm307OXpbuF21oCxbL9q Uy1ilsupriHXcdOZ9W/gNZ2w+HnJpGT1XEV2CZec9GSNLV3Zo63WurmSo5X9hHSH8fgQ8YlliMg2m BlnCmkv83e/up1aouOhq1iCrNSzih/+4h+oxiIOmmnbU9VSdK7AHWdpV2om9HI9duqLBaEZtK6IMQ 1gyWdOng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xWtfz-0000000FinZ-0s9d; Fri, 27 Nov 2026 10:59:35 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xWtfv-0000000FinM-1BFn for linux-arm-kernel@lists.infradead.org; Fri, 27 Nov 2026 10:59:33 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id DF0CF452CE; Fri, 27 Nov 2026 10:59:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 623A91F000C1; Fri, 27 Nov 2026 10:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795777170; bh=dsaVeXoBel9W4ls6UNrg3pQcg2DJDSo41c91+5f7WsI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=k5GA0a/6KnIWGYAqabz7IGnjq4PLk8KCtV/aToW9sariEo3xpD8o6bm7WNZtOZyfR uK7WFbamM4Ez4zFd+qZdWSzP6JV3SzmRmqWvP/Mvynhro29EJ0ENmFB3r1VNFuWLfX 65dJ9xTLJHPqmfW/b38ffrSemEz8it2qCisL+nXEAKTRnfbOCgwBMxHYAt1t9EnN1O rbx8OeltMpB6IX87UO/r5o6FuNKIp0v6Evkp68gedMFKYvB6xgd4DeKGGNKG+K1ekY Xwvih6zsEQKls1SVPv4tiqfZOc90X7/offjcNkAC9HozAcoEQu4+0VPVKjqQyQBckJ yKH3yKJJXiF0A== 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.98.2) (envelope-from ) id 1xWtfs-000000041wA-0p77; Fri, 27 Nov 2026 10:59:28 +0000 Date: Fri, 27 Nov 2026 10:59:27 +0000 Message-ID: <86tsl2y1yo.wl-maz@kernel.org> From: Marc Zyngier To: Amrit Anand Cc: tglx@kernel.org, radu@rendec.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] irqchip/gic-v3-its: Export its_cpu_init for hibernation restore path In-Reply-To: <20261127061711.1837870-1-amrit.anand@oss.qualcomm.com> References: <20261127061711.1837870-1-amrit.anand@oss.qualcomm.com> 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/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Archived-By: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: amrit.anand@oss.qualcomm.com, tglx@kernel.org, radu@rendec.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Fri, 27 Nov 2026 06:17:11 +0000, Amrit Anand wrote: > > After hibernation restore on affected systems, MSI users can observe > timeout/failure symptoms consistent with ITS LPIs not being fully > re-initialized for restored CPUs. > > Export its_cpu_init() so restore code can invoke ITS per-CPU > re-initialization explicitly at the required point in resume flow. > This also avoids relying on fragile probe-based invocation. No. Never. The design of GICv3 completely *prevents* things like hibernation from working *at all*. Why do you think we have all this crap about pre-allocating tables? Pretending that hibernation works with GICv3 is simply asking for memory corruption. You are just trying to paper over a much bigger issue, and this sort of hack is simply not acceptable. M. -- Without deviation from the norm, progress is not possible.