mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 00:20:58 +07:00
34e36c1541
This MSI driver can be used on 83xx/85xx/86xx board. In this driver, virtual interrupt host and chip were setup. There are 256 MSI interrupts in this host, Every 32 MSI interrupts cascaded to one IPIC/MPIC interrupt. The chip was treated as edge sensitive and some necessary functions were setup for this chip. Before using the MSI interrupt, PCI/PCIE device need to ask for a MSI interrupt in the 256 MSI interrupts. A 256bit bitmap show which MSI interrupt was used, reserve bit in the bitmap can be used to force the device use some designate MSI interrupt in the 256 MSI interrupts. Sometimes this is useful for testing the all the MSI interrupts. The msi-available-ranges property in the dts file was used for this purpose. Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
52 lines
1.6 KiB
Makefile
52 lines
1.6 KiB
Makefile
ifeq ($(CONFIG_PPC64),y)
|
|
EXTRA_CFLAGS += -mno-minimal-toc
|
|
endif
|
|
|
|
mpic-msi-obj-$(CONFIG_PCI_MSI) += mpic_msi.o mpic_u3msi.o mpic_pasemi_msi.o
|
|
obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y)
|
|
fsl-msi-obj-$(CONFIG_PCI_MSI) += fsl_msi.o
|
|
|
|
obj-$(CONFIG_PPC_MPC106) += grackle.o
|
|
obj-$(CONFIG_PPC_DCR_NATIVE) += dcr-low.o
|
|
obj-$(CONFIG_PPC_PMI) += pmi.o
|
|
obj-$(CONFIG_U3_DART) += dart_iommu.o
|
|
obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o
|
|
obj-$(CONFIG_FSL_SOC) += fsl_soc.o
|
|
obj-$(CONFIG_FSL_PCI) += fsl_pci.o $(fsl-msi-obj-y)
|
|
obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
|
|
obj-$(CONFIG_RAPIDIO) += fsl_rio.o
|
|
obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
|
|
obj-$(CONFIG_QUICC_ENGINE) += qe_lib/
|
|
obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
|
|
mv64x60-$(CONFIG_PCI) += mv64x60_pci.o
|
|
obj-$(CONFIG_MV64X60) += $(mv64x60-y) mv64x60_pic.o mv64x60_dev.o \
|
|
mv64x60_udbg.o
|
|
obj-$(CONFIG_RTC_DRV_CMOS) += rtc_cmos_setup.o
|
|
obj-$(CONFIG_AXON_RAM) += axonram.o
|
|
|
|
ifeq ($(CONFIG_PPC_MERGE),y)
|
|
obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o
|
|
obj-$(CONFIG_PPC_I8259) += i8259.o
|
|
obj-$(CONFIG_IPIC) += ipic.o
|
|
obj-$(CONFIG_4xx) += uic.o
|
|
obj-$(CONFIG_4xx_SOC) += ppc4xx_soc.o
|
|
obj-$(CONFIG_XILINX_VIRTEX) += xilinx_intc.o
|
|
obj-$(CONFIG_OF_RTC) += of_rtc.o
|
|
ifeq ($(CONFIG_PCI),y)
|
|
obj-$(CONFIG_4xx) += ppc4xx_pci.o
|
|
endif
|
|
endif
|
|
|
|
# Temporary hack until we have migrated to asm-powerpc
|
|
ifeq ($(ARCH),powerpc)
|
|
obj-$(CONFIG_CPM) += cpm_common.o
|
|
obj-$(CONFIG_CPM2) += cpm2.o cpm2_pic.o
|
|
obj-$(CONFIG_PPC_DCR) += dcr.o
|
|
obj-$(CONFIG_8xx) += mpc8xx_pic.o cpm1.o
|
|
obj-$(CONFIG_UCODE_PATCH) += micropatch.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SUSPEND),y)
|
|
obj-$(CONFIG_6xx) += 6xx-suspend.o
|
|
endif
|