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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 162FEC433FE for ; Wed, 16 Nov 2022 22:49:49 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NCJCH3W0Nz3cS4 for ; Thu, 17 Nov 2022 09:49:47 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=pybGnpXR; dkim=fail reason="signature verification failed" header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=vXZ17LC/; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linutronix.de (client-ip=2a0a:51c0:0:12e:550::1; helo=galois.linutronix.de; envelope-from=tglx@linutronix.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=pybGnpXR; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=vXZ17LC/; dkim-atps=neutral Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4NCJBG58KTz3cJX for ; Thu, 17 Nov 2022 09:48:54 +1100 (AEDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668638928; 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=zTCdp2XTy4WV/TRq6AmcOpzAbhC2i0YQDZLmTTQbvWU=; b=pybGnpXR91ye2Jz7fzqWIvvHXHKcBQHy3yhPT4PUnEkoxw0z7Tk9qJdwg6tzaxzuembbZo hX8GoArXP6acbEoNPH8yk8yM/QPNxP+YNj4LKRgECkOUSykq+w1cn94gtUFd7w2OGVWIvl Arqsfl7G2AaMCZEAqkTF/tix9/S++grna9r8j761roXixlwnVBAikHqYPoGE6bL5i7RxNH 9pRegwEKn0TA8irJ1+uYDMj2cQ/URQv5ejEzQWBJfQS9Qeta/4tOuCAzsORF8wAAmEA6AK JAQXVNVBJYV4vy1m69cuH9qLhLZ6FYnyCynYYYQ54nBwLaYOSyaUPHye7GJn2g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668638928; 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=zTCdp2XTy4WV/TRq6AmcOpzAbhC2i0YQDZLmTTQbvWU=; b=vXZ17LC/04L0m8gSNNgs6Jaj2t/5aaKWXwozWalYoUWSqn6f9jUPV7Dcjytgns0E8iKu73 liCze9LCZtU8xTDQ== To: Jason Gunthorpe Subject: Re: [patch 08/39] genirq/msi: Provide msi_domain_ops::post_free() In-Reply-To: References: <20221111120501.026511281@linutronix.de> <20221111122014.063153448@linutronix.de> Date: Wed, 16 Nov 2022 23:48:47 +0100 Message-ID: <87leoao6r4.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pci@vger.kernel.org, Will Deacon , Lorenzo Pieralisi , Dave Jiang , Ashok Raj , Joerg Roedel , x86@kernel.org, Allen Hubbe , Kevin Tian , "Ahmed S. Darwish" , Jon Mason , linuxppc-dev@lists.ozlabs.org, Alex Williamson , Bjorn Helgaas , Dan Williams , Reinette Chatre , Greg Kroah-Hartman , LKML , Marc Zyngier , Logan Gunthorpe Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Nov 16 2022 at 13:44, Jason Gunthorpe wrote: > On Fri, Nov 11, 2022 at 02:54:27PM +0100, Thomas Gleixner wrote: >> To prepare for removing the exposure of __msi_domain_free_irqs() provide a >> post_free() callback in the MSI domain ops which can be used to solve >> the problem of the only user of __msi_domain_free_irqs() in arch/powerpc. >> >> Signed-off-by: Thomas Gleixner >> --- >> include/linux/msi.h | 4 ++++ >> kernel/irq/msi.c | 2 ++ >> 2 files changed, 6 insertions(+) > > Make sense, but I do wonder why PPC needs this ordering.. Some hypervisor thing.