So, I thought it might be alright to put the perf_event_amd_iommu.hIf it feels strange to you, you can move it to arch/x86/include/asm/
>here.
>
>Having the information in the file arch/x86/events/amd/iommu.h seems
>strange for having to specify ../../arch/x86/events/amd/iommu.h in the
>IOMMU driver.
>
>So, you think it would be alright if move
>
>include/linux/perf/perf_event_amd_iommu.h
>to
>arch/x86/include/perf/perf_event_amd_iommu.h
There we put the arch-specific stuff.
Then you can do
#include <asm/perf/amd/iommu.h>
or so. I've moved it to arch/x86/events/amd/iommu.h already anyway.