From: Emil Medve <Emilian.Medve-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org>
To: Sethi Varun-B16395
<Varun.Sethi-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org>,
"joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org"
<joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>,
"jroedel-l3A5Bk7waGM@public.gmane.org"
<jroedel-l3A5Bk7waGM@public.gmane.org>
Cc: "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org"
<iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: [iommu:ppc/pamu 1/1] drivers/iommu/fsl_pamu.h:24:32: fatal error: asm/fsl_pamu_stash.h: No such file or directory
Date: Wed, 25 Mar 2015 02:36:37 -0500 [thread overview]
Message-ID: <55126585.7040903@Freescale.com> (raw)
In-Reply-To: <BN3PR0301MB12193C6929AE8CF767B8A78AEA0B0-CEkquS/Gb81uuip9JPHoc5wN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
Hello Varun,
On 03/25/2015 01:25 AM, Sethi Varun-B16395 wrote:
> Hi Emil,
>
>> -----Original Message-----
>> From: Emil Medve [mailto:Emilian.Medve-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org]
>> Sent: Wednesday, March 25, 2015 11:41 AM
>> To: Sethi Varun-B16395; joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org; jroedel-l3A5Bk7waGM@public.gmane.org
>> Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
>> Subject: Re: [iommu:ppc/pamu 1/1] drivers/iommu/fsl_pamu.h:24:32: fatal
>> error: asm/fsl_pamu_stash.h: No such file or directory
>>
>> Hello Varun,
>>
>>
>> On 03/25/2015 12:46 AM, Sethi Varun-B16395 wrote:
>>>> -----Original Message-----
>>>> From: Emil Medve [mailto:Emilian.Medve-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org]
>>>> Sent: Tuesday, March 24, 2015 2:10 PM
>>>> To: linuxppc-dev-50dRxjG7WBCY5r8RbUyfqNHuzzzSOjJt@public.gmane.org; Sethi Varun-B16395
>>>> Subject: Re: [iommu:ppc/pamu 1/1] drivers/iommu/fsl_pamu.h:24:32:
>>>> fatal
>>>> error: asm/fsl_pamu_stash.h: No such file or directory
>>>>
>>>> Hello Varun,
>>>>
>>>>
>>>> On 03/23/2015 07:02 PM, kbuild test robot wrote:
>>>>> tree: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
>>>> ppc/pamu
>>>>> head: f2fafdd954d743a0e68e5cd76dbef2f2454deefa
>>>>> commit: f2fafdd954d743a0e68e5cd76dbef2f2454deefa [1/1] iommu/fsl:
>>>> PAMU
>>>>> is also present on 64-bit SoC(s)
>>>>> config: microblaze-allyesconfig (attached as .config)
>>>>> reproduce:
>>>>> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-
>>>> tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>>>>> chmod +x ~/bin/make.cross
>>>>> git checkout f2fafdd954d743a0e68e5cd76dbef2f2454deefa
>>>>> # save the attached .config to linux build tree
>>>>> make.cross ARCH=microblaze
>>>>>
>>>>> All error/warnings:
>>>>>
>>>>> In file included from drivers/iommu/fsl_pamu.c:21:0:
>>>>>>> drivers/iommu/fsl_pamu.h:24:32: fatal error: asm/fsl_pamu_stash.h:
>>>>>>> No such file or directory
>>>>> #include <asm/fsl_pamu_stash.h>
>>>>> ^
>>>>> compilation terminated.
>>>>>
>>>>> vim +24 drivers/iommu/fsl_pamu.h
>>>>>
>>>>> 695093e3 Varun Sethi 2013-07-15 8 * MERCHANTABILITY or FITNESS
>> FOR
>>>> A PARTICULAR PURPOSE. See the
>>>>> 695093e3 Varun Sethi 2013-07-15 9 * GNU General Public License for
>>>> more details.
>>>>> 695093e3 Varun Sethi 2013-07-15 10 *
>>>>> 695093e3 Varun Sethi 2013-07-15 11 * You should have received a copy
>> of
>>>> the GNU General Public License
>>>>> 695093e3 Varun Sethi 2013-07-15 12 * along with this program; if not,
>>>> write to the Free Software
>>>>> 695093e3 Varun Sethi 2013-07-15 13 * Foundation, 51 Franklin Street,
>> Fifth
>>>> Floor, Boston, MA 02110-1301, USA.
>>>>> 695093e3 Varun Sethi 2013-07-15 14 *
>>>>> 695093e3 Varun Sethi 2013-07-15 15 * Copyright (C) 2013 Freescale
>>>> Semiconductor, Inc.
>>>>> 695093e3 Varun Sethi 2013-07-15 16 *
>>>>> 695093e3 Varun Sethi 2013-07-15 17 */
>>>>> 695093e3 Varun Sethi 2013-07-15 18
>>>>> 695093e3 Varun Sethi 2013-07-15 19 #ifndef __FSL_PAMU_H
>>>>> 695093e3 Varun Sethi 2013-07-15 20 #define __FSL_PAMU_H
>>>>> 695093e3 Varun Sethi 2013-07-15 21
>>>>> cd70d465 Emil Medve 2015-01-28 22 #include <linux/iommu.h>
>>>>> cd70d465 Emil Medve 2015-01-28 23
>>>>> 695093e3 Varun Sethi 2013-07-15 @24 #include
>> <asm/fsl_pamu_stash.h>
>>>>
>>>> The patch just triggered the build and for some reason these folks
>>>> are building the driver on non-e500mc arches/defconfigs
>>>>
>>> Hmm.... I believe PAMU driver got included due to the COMPILE_TEST
>>> dependency. This is an issue, if we add the COMPILE_TEST dependency,
>>> then we can't include architecture specific include files?
>>
>> What in fsl_pamu_stash.h is "even more" arch/platform specific then the
>> content of drivers/iommu/fsl_pamu*?
>>
> This was discussed during early PAMU driver reviews. Joerg's idea
> was that PAMU would specific to the Power architecture platform, so we
> should place the include file in the arch specific directory (originally
> I had placed it under include/linux).
But the only content that ended up in arch/powerpc is one file with two
definitions that don't seem particularly specific. The line is a bit
blurry and until (if ever) we get different PAMU integration I doubt we
can reasonably make it sharper
Anyway, I'm unsure what an immediately acceptable answer is. I mean if
we're to spend time supporting universal builds of the PAMU driver there
is a list of (some non-trivial) changes we ought to do. This particular
build issue is just the first
Cheers,
next prev parent reply other threads:[~2015-03-25 7:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201503240804.8vcZXNOY%fengguang.wu@intel.com>
[not found] ` <551122E2.1040408@Freescale.com>
[not found] ` <551122E2.1040408-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org>
2015-03-25 5:46 ` [iommu:ppc/pamu 1/1] drivers/iommu/fsl_pamu.h:24:32: fatal error: asm/fsl_pamu_stash.h: No such file or directory Varun Sethi
[not found] ` <BN3PR0301MB12195D8782612E67CDE2BFD9EA0B0-CEkquS/Gb81uuip9JPHoc5wN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-03-25 6:11 ` Emil Medve
[not found] ` <55125179.8040801-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org>
2015-03-25 6:25 ` Varun Sethi
[not found] ` <BN3PR0301MB12193C6929AE8CF767B8A78AEA0B0-CEkquS/Gb81uuip9JPHoc5wN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-03-25 7:36 ` Emil Medve [this message]
[not found] ` <55126585.7040903-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org>
2015-04-08 13:24 ` Varun Sethi
[not found] ` <BN3PR0301MB12198F55BD2619F392B58AD4EAFC0-CEkquS/Gb81uuip9JPHoc5wN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-05-05 13:17 ` jroedel-l3A5Bk7waGM
[not found] ` <20150505131713.GD5438-l3A5Bk7waGM@public.gmane.org>
2015-05-05 13:22 ` Varun Sethi
[not found] ` <BN1PR0301MB06271FBAE46B4CBDD9781D0FEAD10-RQSpjbwlmjSD1ymB6+i1+JwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-05-05 13:42 ` jroedel-l3A5Bk7waGM
[not found] ` <20150505134251.GG5438-l3A5Bk7waGM@public.gmane.org>
2015-05-05 17:57 ` Varun Sethi
[not found] ` <BN1PR0301MB0627F543CF6AE00CFED18B47EAD10-RQSpjbwlmjSD1ymB6+i1+JwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-05-06 8:41 ` joro-zLv9SwRftAIdnm+yROfE0A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55126585.7040903@Freescale.com \
--to=emilian.medve-edlz3wwmn0ll57midrcfdg@public.gmane.org \
--cc=Varun.Sethi-eDlz3WWmN0ll57MIdRCFDg@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org \
--cc=jroedel-l3A5Bk7waGM@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox