Re: [PATCH V3 1/5] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

From: Suravee Suthikulpanit
Date: Wed Feb 10 2016 - 13:57:14 EST


Hi,

On 2/11/16 01:51, Borislav Petkov wrote:
So, I thought it might be alright to put the perf_event_amd_iommu.h
>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
If it feels strange to you, you can move it to arch/x86/include/asm/
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.

Ah.. agree then ;) So, I should branch off that tree of yours with the file already moved. Could you point me to it?

Thanks,
Suravee