]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu/irq_remapping: Kill most of hyperv-iommu.c now it's redundant irqaffinity
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 5 Oct 2020 09:10:26 +0000 (10:10 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 7 Oct 2020 10:28:36 +0000 (11:28 +0100)
commita5cc1be5605b55da2ba2638393a2bc5f979a7974
tree59e06450b31d248cb928c79150dfdd854ad5833a
parentba2531f58359620b989820341960438be9019ee1
iommu/irq_remapping: Kill most of hyperv-iommu.c now it's redundant

It took me a while to realise that this "IRQ remapping" driver exists
not to actually remap interrupts, but to return -EINVAL if anyone ever
tries to set the affinity to a set of CPUs which can't be reached
*without* remapping. Having fixed the core IRQ domain code to handle
such limited, all this hackery can now die.

I haven't deleted it entirely because its existence still causes the
kernel to use X2APIC in cluster mode not physical. I'm not sure we
*want* that, but it wants further thought and testing before ripping
it out too.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
drivers/iommu/hyperv-iommu.c