2026-01-29 22:25:33 +08:00

22 lines
440 B
C

// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/msi.h>
#include <asm/sw64io.h>
int msi_compose_msg(unsigned int irq, struct msi_msg *msg)
{
msg->address_hi = (unsigned int)(MSIX_MSG_ADDR >> 32);
msg->address_lo = (unsigned int)(MSIX_MSG_ADDR & 0xffffffff);
msg->data = irq;
return irq;
}
void sw64_irq_noop(struct irq_data *d)
{
}
void arch_teardown_msi_irq(unsigned int irq)
{
}