Skip to content

Commit 850aae9

Browse files
committed
Revert "x86/apic/msi: Enable PCI/IMS"
This reverts commit 6e24c88. IMS (Interrupt Message Store) support appeared in v6.2, but there are no users yet. Remove it for now. We can add it back when a user comes along. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]>
1 parent 79f99aa commit 850aae9

File tree

1 file changed

+0
-5
lines changed
  • arch/x86/kernel/apic

1 file changed

+0
-5
lines changed

arch/x86/kernel/apic/msi.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ static int x86_msi_prepare(struct irq_domain *domain, struct device *dev,
184184
alloc->type = X86_IRQ_ALLOC_TYPE_PCI_MSI;
185185
return 0;
186186
case DOMAIN_BUS_PCI_DEVICE_MSIX:
187-
case DOMAIN_BUS_PCI_DEVICE_IMS:
188187
alloc->type = X86_IRQ_ALLOC_TYPE_PCI_MSIX;
189188
return 0;
190189
default:
@@ -229,10 +228,6 @@ static bool x86_init_dev_msi_info(struct device *dev, struct irq_domain *domain,
229228
case DOMAIN_BUS_PCI_DEVICE_MSI:
230229
case DOMAIN_BUS_PCI_DEVICE_MSIX:
231230
break;
232-
case DOMAIN_BUS_PCI_DEVICE_IMS:
233-
if (!(pops->supported_flags & MSI_FLAG_PCI_IMS))
234-
return false;
235-
break;
236231
default:
237232
WARN_ON_ONCE(1);
238233
return false;

0 commit comments

Comments
 (0)