[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH for-4.22 v2 2/4] xen/ppc: introduce a dummy irq_to_desc()


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Mon, 29 Jun 2026 11:45:29 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SB2wbjUvy0R0FHhYbGZoS+Kajo8TUqIXA5aTQJgQCh0=; b=mJahms7vTwsFPDowc4jXvzMbU3Usmd3AnBtUpehAO2IifNj2oeqC1UKOT/+RqJZ+lnZmbVisNpjpevPvJDiT+tSkDoMs89xCfiidGSivOTHUzv//gaBTsVf37cyZVG1nJfAXRusnJ+HsQwbPaSIiaLUJCarrxoDS7OJzrA/dJoP4hKwcprVpzJFxXfdg0lY4hlBhjPrjsZKOrBKHMATpE7Uc7Y/OaXSdoXq9yaupPdNqi6OqWutUJEBtwHOornvJRvMqRvJImHPTVAeDVWjOHrWqJ1NUex9wfyzX70THkXvW8F/jA37Upn7lUq2I2/+GLVtZ0u5UL/RUdulgSNbf5A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WYxlEIHLy1kNi2j5vYUPDFbXTVkj3SjoeB4tXtj/Z/MhMnjlem9qtNgZMT/xK9SzsOHU76JDOUfp4pHP5RRsoMWycy42dcCM0++IHqOxSUagP7EUl200HEB8BKwE0w9rWelELXnaBUTj1An3452uphoGvat2Flmg//FLvpVd/xWS1tWNxj/mIXeNqM+Gj7Kov5alWce9ehgCn95MSnPKeXfowQ8TO4Ia28RKCKVgjwtpvHApqkSfoCA6prWomVyCisjTNBVd9kzwpAvuzlAvrtXFtAACjn7S5R+bbpovKGg91FEfSm5P6qRauAdu+eUQCOK5/G+qwTlbVlWa4fM9DQ==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 29 Jun 2026 09:46:42 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

In preparation for irq_to_desc() being called by common IRQ code.
PowerPC doesn't have an irq_desc array defined, so it cannot use the
generic irq_to_desc macro in the common header.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 xen/arch/ppc/include/asm/irq.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xen/arch/ppc/include/asm/irq.h b/xen/arch/ppc/include/asm/irq.h
index 5c37d0cf2500..fa70fd7d46dc 100644
--- a/xen/arch/ppc/include/asm/irq.h
+++ b/xen/arch/ppc/include/asm/irq.h
@@ -30,4 +30,10 @@ static inline int platform_get_irq(const struct 
dt_device_node *device, int inde
     BUG_ON("unimplemented");
 }
 
+static inline void *irq_to_desc(unsigned int irq)
+{
+    BUG_ON("unimplemented");
+}
+#define irq_to_desc irq_to_desc
+
 #endif /* __ASM_PPC_IRQ_H__ */
-- 
2.53.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.