From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793637581; b=P0tbJsl9oRb/DSaUoT86F6TTrcx4eId5aLw5P4vk0JBle+y43M+4ir0I78NBnUIJspxu 2EWXZrgpWJ8BOWoJUimji/ttUAwkJzPW4kJ9KaZV7xifvbxKyHfrLgRZVNRdyfZT90sUY s3NNrBmBOUNg/iGiT45P0rdLQdW1wiWK6ZOmNlvo5IgQpAyYcWvRmP+rPe6/j+OoDnrGB 9cL33OkoFp9UbLDCYRtbhY0DYf34t+Ca12W5cH1G3yvramKtOwaC5XAXuL/UCOgyQUO59 1pOI4ueF2CSreeNXF+oj5RypGYcJlwE4K2j+K/h9mLFKHUfPkL0tjati2Zewf/G4RDQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793637581; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=2gusUduchRqEonlGBJHA8gtRcetBORHth6y/vTsWQmk=; b=eig6qTS0G3DG/CSdnjvJjVzNDb7i7DSkC9xqDexue1bHCEV0ADi25ot5EdCWEtJPsjg+ dY3BbC+GyuAS3TnxBeX8sXoiJ8bshByk0TTRy3dOH6a2pK/dvkKcnBJdIo90Lgr6+c0wX u6i3scXZ1fIsWtDf6PuVAHFq7RYrZrzPv4NbGc+p3kISnLDfT/dN4OLTrUP/CvaMveOg8 LAjEKU1SdJfHHmoQzapT+Q0dXo3JzexI0DJftPkI2xk70x9gOPIJ4nGkHFC37e9mV6CrE oE+pWUbCADMua3+qu/iO2qgjS9FZ8Cw2VKg/pp1TrcXOjPCRa2ZsZlDyXPAjKLdGxLA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b="0s3/Q4F+"; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=hiNQYyDT; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 EE3AB606B0FF; Mon, 2 Nov 2026 16:39:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EE3AB606B0FF Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=0s3/Q4F+; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=hiNQYyDT Date: Mon, 2 Nov 2026 17:39:37 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1793637578; 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=2gusUduchRqEonlGBJHA8gtRcetBORHth6y/vTsWQmk=; b=0s3/Q4F+bmgU8FT6zC8WHy3an8F4Zzml8l6oBU2Scq/CT750rvg0Ww/kxI0fPWWowHR9Ly RRGLVL8oWbDb2diSzCkBBLI9lrtsOx+9ciw+PuwUWTB2F8+DAAaYEU0O68jRrH97umQPIT 7Vu616FBU5OXlb4RRf17B2w6av8b81kYVK3WE0P+pN5MGEhBUzH6npzhdFBLirmiTiunwB az+GjST3TgtOTvzxmzLqM42oTBSPN0ceRjdHtrGI8IYHeAdBxw//J1Tx1nD59p93bi06fu fAxrHaiCoC9trO44EcfH07f+/88DpoNIq5y4pR/HP8c/iYIw06/tAi4rIp/WjA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1793637578; 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=2gusUduchRqEonlGBJHA8gtRcetBORHth6y/vTsWQmk=; b=hiNQYyDToDuZRNHlVtQt7Kiktw4q/8q0KHGxux+W9oQifa3h+sel7quIS30vyx0BdEHqf6 Jj2SUVxm6OlcCQBg== From: Sebastian Andrzej Siewior To: Adrian Hunter Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , James Clark , Thomas Gleixner , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , "Rafael J. Wysocki" , Pavel Machek , Greg Kroah-Hartman , Danilo Krummrich , Johan Hovold , Mathieu Desnoyers , Jiayuan Chen , "Steven Rostedt (Google)" , "Vineeth Pillai (Google)" , Frederic Weisbecker , Andi Kleen , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, driver-core@lists.linux.dev Subject: Re: [PATCH 1/6] irq_work: Re-raise pending irq_work after system resume Message-ID: <20261102163937.KwllF-Pg@linutronix.de> References: <20261102074039.26983-1-adrian.hunter@intel.com> <20261102074039.26983-2-adrian.hunter@intel.com> <20261102090604.GR1779021@noisy.programming.kicks-ass.net> <74511f6b-f5ff-498f-bf97-ebdc86c43d24@intel.com> X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <74511f6b-f5ff-498f-bf97-ebdc86c43d24@intel.com> On 2026-11-02 12:54:22 [+0200], Adrian Hunter wrote: > > Yes CPUs remain online for suspend2idle, but currently the choice between > suspend2idle and "deep" (S3) suspend is a user space choice, > refer /sys/power/mem_sleep. Many modern systems do not support S3 > anymore, but it has not gone away. > > > > > Anyway, I'm torn; I would much rather make this trigger a WARN and have > > AI now also identifies ftrace, BPF, GHES NMI, and #MC as possible causes, > not just perf. I haven't tried to confirm any of those. > > And, belatedly, AI is now saying an irq_work raised before lapic_resume() > might result in #GP if the APIC is left in xAPIC mode at resume. Also > not confirmed. Could we flush this before similarly to what happens during CPU-hotplug. The question is if this event can stay enqueued during suspend (and handled on resume) or should be taken care before entering suspend. Sebastian