e39397d1fd
When Linux runs as the root partition on Microsoft Hypervisor, its interrupts are remapped. Linux will need to explicitly map and unmap interrupts for hardware. Implement an MSI domain to issue the correct hypercalls. And initialize this irq domain as the default MSI irq domain. Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com> Co-Developed-by: Sunil Muthuswamy <sunilmut@microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/20210203150435.27941-16-wei.liu@kernel.org
8 lines
209 B
Makefile
8 lines
209 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y := hv_init.o mmu.o nested.o irqdomain.o
|
|
obj-$(CONFIG_X86_64) += hv_apic.o hv_proc.o
|
|
|
|
ifdef CONFIG_X86_64
|
|
obj-$(CONFIG_PARAVIRT_SPINLOCKS) += hv_spinlock.o
|
|
endif
|