[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160318111100.GG2195@8bytes.org>
Date: Fri, 18 Mar 2016 12:11:01 +0100
From: Joerg Roedel <joro@...tes.org>
To: Borislav Petkov <bp@...en8.de>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@....com>,
Peter Zijlstra <peterz@...radead.org>, mingo@...hat.com,
acme@...nel.org, andihartmann@...enet.de, vw@...mu.org,
labbott@...hat.com, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org
Subject: Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move
perf_event_amd_iommu header
On Fri, Mar 18, 2016 at 11:39:18AM +0100, Borislav Petkov wrote:
> Yeah, so arch/x86/include/asm/ has all the x86-specific stuff which is
> not exported to userspace, so moving stuff there makes sense to me.
While the AMD IOMMU is only available on x86 today, there is nothing
x86-specific in its architecture, so I don't think its header files
belong to arch/x86.
By that reasoning we could also move all of the intel gpu stuff to
arch/x86. But we don't do it, because it doesn't make sense and because
it doesn't belong there.
Regards,
Joerg
Powered by blists - more mailing lists