From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b1-smtp.messagingengine.com (fout-b1-smtp.messagingengine.com [202.12.124.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B2193EB0EA for ; Tue, 30 Jun 2026 10:04:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.144 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782813856; cv=none; b=ZRzJzn6w5VZx3ecI562mkVE3cTkdsIzFssdaVyOK0wlszT98Oic8Be9oI/nSWDgjSd9rYMOjltXPZ8xSPGVfZRkZnQwJu7Y2YjOGiiSJYMQNcP5SWPerHz22D/ytQA0sS3PXeKPsC2f4qTTnx5gcQBNVltwCej/5dwrJp9bz1Os= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782813856; c=relaxed/simple; bh=HS/pxdQm52HSbEdEDBZgGYRZTR9J+rlmtDl7IiQ1+AQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ubeKkTRG2a2ub/0Dg0fS4eeyX1vVEH6OXiVUfRRAu8sasGdyagbUFUQqR0LTiILh6+jRlvPzrzadaGex5L8HDdc/gs1f+1I08ghUSOq1miHBqRf80ws781qJIhvS/edTyXeQYNvOIbPrgVDmCES/jtSjwkbAGHPm51zWN0LZ9rY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name; spf=pass smtp.mailfrom=shutemov.name; dkim=pass (2048-bit key) header.d=shutemov.name header.i=@shutemov.name header.b=FWQMoiv0; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=F2uGrUDA; arc=none smtp.client-ip=202.12.124.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shutemov.name Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shutemov.name header.i=@shutemov.name header.b="FWQMoiv0"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="F2uGrUDA" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 528611D000CB; Tue, 30 Jun 2026 06:04:13 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Tue, 30 Jun 2026 06:04:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782813853; x= 1782900253; bh=oVUw9vhUL7Fvcx3AisEmEjCStBLzP+hVNKjmaqkQAyA=; b=F WQMoiv0yNwumAnMkue8/Q20wqahfVdvNnqma3yhrNpj0Bi03MzR1Fue9W1iDR6Nc 7Ucrub9al8m2mm1ZolsgHMWgJrwrf0DvClnOnJHEOf1msMd+9Q5X4PyxCbyNR6J7 KgAYMkDkkEaTdhHBKmAy6AOCI1W4T4xIHjGy++Lpbh/59W6h8Jc15maQfW2mVWTF NMyNqDuI36dxuMadQlZfQui0XCoFqp1EEeej/sMtkiYE7yFssWdH5aEkVPciUcD1 yjuCt+YREJSn1aEERQQPgDys6tc0YFlMdf/tsinIH4J8nRt7oJC1fRim1lf+uidm VCWrFJbGbmOPBGEI3BcpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782813853; x=1782900253; bh=oVU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YlAUgLB9vQbr9gjcRnWUmS8cDfOhQcteXwNf5tQ X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 Jun 2026 06:04:12 -0400 (EDT) Date: Tue, 30 Jun 2026 11:04:10 +0100 From: Kiryl Shutsemau To: Catalin Marinas Cc: Will Deacon , James Morse , Mark Rutland , Marc Zyngier , Doug Anderson , Petr Mladek , Thomas Gleixner , Andrew Morton , Baoquan He , Puranjay Mohan , Usama Arif , Breno Leitao , Julien Thierry , Lecopzer Chen , Sumit Garg , kernel-team@meta.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/4] arm64: cross-CPU NMI via SDEI Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jun 29, 2026 at 05:53:57PM +0100, Kiryl Shutsemau wrote: > On Mon, Jun 29, 2026 at 04:54:18PM +0100, Catalin Marinas wrote: > > Have you tried SDEI_EVENT_COMPLETE_AND_RESUME instead? Just COMPLETE > > won't return to the kernel. We have sdei_handler_abort() to complete the > > event and, hopefully, you can continue with the CPU_OFF. It's a work > > around the TF-A non-compliance but I think this is useful even if you > > don't issue the CPU_OFF (e.g. no CPU hotplug, just the park loop). > > Tried it. The result is the opposite of what I expected, and it argues > against doing the complete at all under QEMU's TF-A. I have to walk back on this. My test setup was broken. I will be back to you with proper data. -- Kiryl Shutsemau / Kirill A. Shutemov