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

[PATCH v2 2/3] xen/ppc: irq: drop unreachable pirq callbacks


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
  • Date: Tue, 5 Aug 2025 18:40:20 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=zB2KQ+scFytrUE7aWgUqxSHfQlc8SZRvYpZoxy+Fdno=; b=CebIJEm8wlcVPwZBiS9HqIzzpQqggWpx0Z5hzeXc9g2L4+HrvQrXBuR7KoS4s8AtmiT6ugl8+fE1DUX8gIMu+5NgB8MWtmz3ySkRG+qqMCCHfUqxHVNiduvkm5A/tI1pcEEeEUfWJZb79KhO1WuChWxBza0fLJhxV+z5GEJaUYUdrgSYsHffEbijLML5BHxaUpzpFV9raBoad/uuwL6lW9Cxc8b+muexKLZcxerTOLKNdx/7dd/kdKRrxMFB12CjRC4OB6a17EGG87qsUwoRX/cufK1KdUDs/5RnXnIhKZioP88SR0KFI787K+OD+fybmvbt0XtVPqOQjxtWshi7eA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qByu3emOOA7qyVbifXLhaRW1q28bincxGA1rgIZU+JZcYnNOmQW+eHjuuCCwuiI5Ba19RyK24LZdBDVEbZRG1zoc+S8qY3QKBhXXkNrFBSM7njV5+e0UHu4qdRZgCn1ptQ6KWBLJPhtqrMhX7gXimP24rIQtqzlSwoIVTMqLt3QmYC938N4uSkHo2BHxS/jw8sS4odS7FdKnYB7baVDmSFnIfqqWl2b4uwo4MVtJHR2N9eUYm0JEJ9np+qVLN7hQOf07dTaYvDakhk1YDyxZaHxtFVYxsPRY1qopxUMlUW/0PsPAFiByBYgCYFKMbFoJcaQmkLZCMkFW7tpAgiyE4A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Grygorii Strashko <grygorii_strashko@xxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Denis Mukhin <dmukhin@xxxxxxxx>
  • Delivery-date: Tue, 05 Aug 2025 18:41:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcBjhlE9g3QIsKXEqpdrUXZNRhXA==
  • Thread-topic: [PATCH v2 2/3] xen/ppc: irq: drop unreachable pirq callbacks

From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>

Since commit 341f271cf86f ("xen/evtchn: fully restrict concept of pIRQ for
arches with pIRQ support only"), the corresponding PPC arch pIRQ callbacks
become unreachable, so drop them.

Signed-off-by: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Denis Mukhin <dmukhin@xxxxxxxx>
---
 xen/arch/ppc/stubs.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/xen/arch/ppc/stubs.c b/xen/arch/ppc/stubs.c
index 671e71aa0a60..bdaf474c5cc0 100644
--- a/xen/arch/ppc/stubs.c
+++ b/xen/arch/ppc/stubs.c
@@ -103,26 +103,6 @@ void smp_send_call_function_mask(const cpumask_t *mask)
 
 /* irq.c */
 
-struct pirq *alloc_pirq_struct(struct domain *d)
-{
-    BUG_ON("unimplemented");
-}
-
-int pirq_guest_bind(struct vcpu *v, struct pirq *pirq, int will_share)
-{
-    BUG_ON("unimplemented");
-}
-
-void pirq_guest_unbind(struct domain *d, struct pirq *pirq)
-{
-    BUG_ON("unimplemented");
-}
-
-void pirq_set_affinity(struct domain *d, int pirq, const cpumask_t *mask)
-{
-    BUG_ON("unimplemented");
-}
-
 void irq_ack_none(struct irq_desc *desc)
 {
     BUG_ON("unimplemented");
-- 
2.34.1



 


Rackspace

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