[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XEN][PATCH 3/3] xen/riscv: irq: drop unreachable pirq callbacks
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
- Date: Fri, 1 Aug 2025 10:08:55 +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=wrNY2qY3WqE1c+RRbuRXMYRfegzBRCI7aEFy15xy6dw=; b=re3jIyab3tH2RTDII9RkyzeirmGZfzi9xK32UwWG7rv+b1Ahrk0yKIBFJZnOS1HFISEICRBZdLaPfEGDPmtcN89CaA8074r6CbxmAYoToF1b2Rh09S5dGUzLx99NqZyHgWqSJ6zpSQkmvxr7tjCzaP/LtXpW/jIeoQAaJ3u96oRo7BZwzf72fJi4YSzmQdIKsMKmKNS1M8mXUnMuKWw9CBLh6GBw10Bzgq3Wt6RyEuet8QG6qn7jQhxdfSpSTJOtiSLBGDFiRVJLof6FeT0R665kIKOVmYA+FGuaxSq7+rmAr752Ar9dAI1gmJM3WcCMjUwsxNoJ4fYWC0YLL3wewQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JCKsWRakLwyYzf4BTYs5H1H1zUCCpImRQV5w5PFHnffAngJIQuKJPp62EktN4WP5PSW3qsk26dj2Q38g4lXOaoxrRlTPG1X6AEBZ7Crtw8MmfUe3Otkk486Li+s5Jofa5RBBMGKXJXi/IyF3aU5zQIXNfejjmDyuhTnUymIUsDtMx5lnd5SUBYtajvJXMjaILl3wyFINcJ/wzDLvn5X7bv+1UOSA1hujGo/rxeZUd+yEj9lstyWKV+aFr2Xq2I4dIOVYBDnAu4xduqwOsXQ/8AaE2TqZYvffCOr74w/8ePToxtBkwTlIDMkBh6Rhp2GsrAZDmYJiGnJ0R2Yk4Kh+kQ==
- 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>
- Delivery-date: Fri, 01 Aug 2025 10:09:04 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHcAsxKoBNPnM+NO0mt/czZMWhDgg==
- Thread-topic: [XEN][PATCH 3/3] xen/riscv: irq: drop unreachable pirq callbacks
From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
Hence all common pIRQ code is under CONFIG_HAS_PIRQ idefs corresponding
RISCV arch pIRQ callbacks become unreachable, so drop them.
Signed-off-by: Grygorii Strashko <grygorii_strashko@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
|