Messages in this thread | | | Date | Fri, 18 Mar 2016 10:04:41 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header |
| |
On Fri, Mar 18, 2016 at 02:07:25PM +0700, Suravee Suthikulpanit wrote: > Actually the exposed APIs (in both files) are from the AMD IOMMU driver, > which is not necessary x86-specific. They mostly use struct pci_dev, which > is also arch-agnostic. It is correct that the current IOMMU IP is only > available in x86 systems. However, if AMD plans to use the IOMMU IP in the > ARM-based processors in the future, putting these into > include/linux/amd-iommu.h would work better.
Let's wait until AMD does that then. Moving the header is the easiest part.
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply.
| |