From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754750AbcCRJE7 (ORCPT ); Fri, 18 Mar 2016 05:04:59 -0400 Received: from mail.skyhub.de ([78.46.96.112]:35425 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751939AbcCRJEp (ORCPT ); Fri, 18 Mar 2016 05:04:45 -0400 Date: Fri, 18 Mar 2016 10:04:41 +0100 From: Borislav Petkov To: Suravee Suthikulpanit Cc: Peter Zijlstra , joro@8bytes.org, mingo@redhat.com, acme@kernel.org, andihartmann@freenet.de, vw@iommu.org, labbott@redhat.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header Message-ID: <20160318090441.GA7817@pd.tnic> References: <20160312132224.GI6344@twins.programming.kicks-ass.net> <56E64B68.3090505@amd.com> <20160314095856.GL6344@twins.programming.kicks-ass.net> <56E6BE7E.8010807@amd.com> <20160314141945.GE15800@pd.tnic> <20160314163913.GO6344@twins.programming.kicks-ass.net> <56E759C3.5040707@amd.com> <20160315104017.GA4559@pd.tnic> <20160315105318.GU6344@twins.programming.kicks-ass.net> <56EBA92D.7010906@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56EBA92D.7010906@amd.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.