mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
62fdd7678a
The patch contains Intel IOMMU IA64 specific code. It defines new machvec dig_vtd, hooks for IOMMU, DMAR table detection, cache line flush function, etc. For a generic kernel with CONFIG_DMAR=y, if Intel IOMMU is detected, dig_vtd is used for machinve vector. Otherwise, kernel falls back to dig machine vector. Kernel parameter "machvec=dig" or "intel_iommu=off" can be used to force kernel to boot dig machine vector. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
18 lines
335 B
C
18 lines
335 B
C
/*
|
|
* Arch specific extensions to struct device
|
|
*
|
|
* This file is released under the GPLv2
|
|
*/
|
|
#ifndef _ASM_IA64_DEVICE_H
|
|
#define _ASM_IA64_DEVICE_H
|
|
|
|
struct dev_archdata {
|
|
#ifdef CONFIG_ACPI
|
|
void *acpi_handle;
|
|
#endif
|
|
#ifdef CONFIG_DMAR
|
|
void *iommu; /* hook for IOMMU specific extension */
|
|
#endif
|
|
};
|
|
|
|
#endif /* _ASM_IA64_DEVICE_H */
|