[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 1/3] xen/arm: 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=9ICIu1LnPFrPVQvLLhoLO3we8fxkiCkYbGFAbNQIUXc=; b=vmu8g53t3SUJ4vvYb840jxLmPk2jUgPzT1FCB26SqVn3Iug/Robf36x85CeNTuujjZVhzoHsKOD0zGJfaTrx49ch771HyDAf4tWzB8QiWpVrdVi+w6hPKVSC99YtbA/zEDiKrN3p6ZXeb4wevUIDeQJ2GMWu3Wxa8Ox7e4pcCH/R0+yq5idqSue+3VPTgNs2tXDOq5Rpz1AeTf/maYg9yIbymWnVrz9E8zrsLWt1xkszuEZsOz45Ra1k0CszmyFqsKDpZZcSrDGq9fofl7m7+f/wIEDQThZDFCk0p2f1YkH4NVOae9En6qO2q40p7ZTsXZcutZ2x+3qav6tjRxgUZQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kUVWqSY2zscj71XVvAM4y9Wl5BGXazb6hLpnyV4w5OE5K/6J9qSh9kvzRpyHWCgRhCgWwoB5HlcJf48WqYUum5rd5EoSDG5IYkOcFTd8sJ0USIgXsEMTFIvE9Q1Sr+I2CGBZTz2zpZhWLhNBS84gdq1kMffRPSSJu0BsxuxMX7T38bv6swzIV5yaYXBM79Q5hx2FXSXTWcOd/x74aL5Ficb1Cdd1QAppBiXck2DqnzuqIQVuYaq5IeEhQ24qqwg3IAnf/BpPxLYMWPe1w2Ioc+O6pCWkR0i5Bmu9zKhHQ/sOK0oUjnWm+sRqJD7mYPdovuseUBKMWMIz58rXeduKeA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: Grygorii Strashko <grygorii_strashko@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, 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: AQHcBjhleTZOnx+b3Uimt1PhvreN+g==
- Thread-topic: [PATCH v2 1/3] xen/arm: 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 Arm 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/arm/irq.c | 29 -----------------------------
1 file changed, 29 deletions(-)
diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c
index 03fbb90c6c43..4bbf0b0664df 100644
--- a/xen/arch/arm/irq.c
+++ b/xen/arch/arm/irq.c
@@ -595,35 +595,6 @@ unlock:
return ret;
}
-/*
- * pirq event channels. We don't use these on ARM, instead we use the
- * features of the GIC to inject virtualised normal interrupts.
- */
-struct pirq *alloc_pirq_struct(struct domain *d)
-{
- return NULL;
-}
-
-/*
- * These are all unreachable given an alloc_pirq_struct
- * which returns NULL, all callers try to lookup struct pirq first
- * which will fail.
- */
-int pirq_guest_bind(struct vcpu *v, struct pirq *pirq, int will_share)
-{
- BUG();
-}
-
-void pirq_guest_unbind(struct domain *d, struct pirq *pirq)
-{
- BUG();
-}
-
-void pirq_set_affinity(struct domain *d, int pirq, const cpumask_t *mask)
-{
- BUG();
-}
-
static bool irq_validate_new_type(unsigned int curr, unsigned int new)
{
return (curr == IRQ_TYPE_INVALID || curr == new );
--
2.34.1
|