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

[PATCH v2 3/3] xen/riscv: 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:21 +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=LElp82G94vVCAKhYOIMf2khf0EvixVKSB+1fEMlwrws=; b=ylQbQ180BSwSUwVqDDmgfRpo3EUdaD2Gvc1Q9HRJxnQXhc3I2DzWqPRQyLHmFw6kI5gnLrgib2jbAOlfRqeD97Eb4bq2DxgSd4ZTnDlSBGcukBGH/HnTKV4tDAsmZM34Xmx9Z6nwj3kqjOyqTlz/s6Lp3BpEr0ej6JAZwPiinGPJqwfwRxJrsT5azd8hyjGkogMdp3oOpwf+J56pYlj7qyAp9Y6itNHllnEWov4OZlKM2nRjh4+DhVeewbVD7ENxHg9nJImfXmJRPPjSKgyrhVm3/1STmAPgDaRc4OEnI6UojOgX/p/57oKIsSMYHEZhGBz77W9pyim6n5rDt7MI3g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Y2qRbNHafGyOJ0Qq1wkrIAYreKAczjS10hTcwPHpbpUYWjrO552wIlpqMuTlRAxQKDAbOLjRrQFnThsWq/2vil6Vls3lbgMS+yw1MIM6RFkNawclUos20tHxImXc7lu+a2OqeGxhRoDlAlVIKSIo3FalWFprMWcr40PsZSp4Uj1tzBAK6tXMTDwBW31UZdoBQGrhbAVy1vo/l+Jibq9MyyaVQJ8zSFtRd6JQBmjE71VXLeMEBeZ0iYE+NsLTpVIWd4K4rWeymyNvKWAIZvqD8OAIfcl/DyX0/EoF8SaSNnlDh2oNOQRDwpdI/45utv4T+eSRoXv6/EqB6bySA9h/FA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Grygorii Strashko <grygorii_strashko@xxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Denis Mukhin <dmukhin@xxxxxxxx>
  • Delivery-date: Tue, 05 Aug 2025 18:41:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcBjhlQO0OorApKE2GxdYJHoRWDg==
  • Thread-topic: [PATCH v2 3/3] xen/riscv: 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 RISCV arch pIRQ
callbacks become unreachable, so drop them.

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

diff --git a/xen/arch/riscv/stubs.c b/xen/arch/riscv/stubs.c
index 8918cebf35c6..1a8c86cd8da2 100644
--- a/xen/arch/riscv/stubs.c
+++ b/xen/arch/riscv/stubs.c
@@ -82,26 +82,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®.