* [PATCH] parisc: fix longstanding build failure on prefetch
@ 2012-02-26 20:51 Paul Gortmaker
2012-02-27 15:24 ` James Bottomley
0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2012-02-26 20:51 UTC (permalink / raw)
To: JBottomley, jejb, kyle, deller
Cc: linux-parisc, linux-kernel, linux-next, rientjes, xiyou.wangcong,
Paul Gortmaker
Upstream commit e66eed651fd18a961f11cda62f3b5286c8cc4f9f
"list: remove prefetching from regular list iterators"
removed <linux/prefetch.h> from <linux/list.h> very early in the
v3.0 dev cycle (v2.6.39-2-ge66eed6), thereby causing build failures
when it exposed the implicit prefetch users in parisc.
Reported-by: David Rientjes <rientjes@google.com>
Reported-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
[ The parisc defconfig has been failing to build everywhere since
last May! http://kisskb.ellerman.id.au/kisskb/target/2059/ And this
one liner fix https://lkml.org/lkml/2011/10/15/121 was reported last
Oct, and again http://www.spinics.net/lists/linux-parisc/msg03945.html
in early Feb. So, now with a clear reasoning in the commit header as
to why it fails, can we finally get this in tree please? ]
diff --git a/drivers/parisc/iommu-helpers.h b/drivers/parisc/iommu-helpers.h
index a9c46cc..8c33491 100644
--- a/drivers/parisc/iommu-helpers.h
+++ b/drivers/parisc/iommu-helpers.h
@@ -1,3 +1,5 @@
+#include <linux/prefetch.h>
+
/**
* iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir.
* @ioc: The I/O Controller.
--
1.7.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] parisc: fix longstanding build failure on prefetch
2012-02-26 20:51 [PATCH] parisc: fix longstanding build failure on prefetch Paul Gortmaker
@ 2012-02-27 15:24 ` James Bottomley
2012-02-27 16:02 ` Paul Gortmaker
0 siblings, 1 reply; 4+ messages in thread
From: James Bottomley @ 2012-02-27 15:24 UTC (permalink / raw)
To: Paul Gortmaker
Cc: jejb, kyle, deller, linux-parisc, linux-kernel, linux-next,
rientjes, xiyou.wangcong
On Sun, 2012-02-26 at 15:51 -0500, Paul Gortmaker wrote:
> Upstream commit e66eed651fd18a961f11cda62f3b5286c8cc4f9f
>
> "list: remove prefetching from regular list iterators"
>
> removed <linux/prefetch.h> from <linux/list.h> very early in the
> v3.0 dev cycle (v2.6.39-2-ge66eed6), thereby causing build failures
> when it exposed the implicit prefetch users in parisc.
I already have this in my internal patch queue:
http://marc.info/?l=linux-parisc&m=132825467010662
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] parisc: fix longstanding build failure on prefetch
2012-02-27 15:24 ` James Bottomley
@ 2012-02-27 16:02 ` Paul Gortmaker
2012-02-27 16:32 ` James Bottomley
0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2012-02-27 16:02 UTC (permalink / raw)
To: James Bottomley
Cc: jejb, kyle, deller, linux-parisc, linux-kernel, linux-next,
rientjes, xiyou.wangcong
On 12-02-27 10:24 AM, James Bottomley wrote:
> On Sun, 2012-02-26 at 15:51 -0500, Paul Gortmaker wrote:
>> Upstream commit e66eed651fd18a961f11cda62f3b5286c8cc4f9f
>>
>> "list: remove prefetching from regular list iterators"
>>
>> removed <linux/prefetch.h> from <linux/list.h> very early in the
>> v3.0 dev cycle (v2.6.39-2-ge66eed6), thereby causing build failures
>> when it exposed the implicit prefetch users in parisc.
>
> I already have this in my internal patch queue:
>
> http://marc.info/?l=linux-parisc&m=132825467010662
Is this in a different queue than what is in linux next?
It would be nice to see such build fixes get into linux-next
ASAP, so folks doing multi-arch coverage builds on their work
can know if they've introduced a regression. At the moment,
the parisc builds in linux-next have been worthless for over
six months, and I'm sure I'm not the 1st one to waste time
"re-solving" old bugs like this.
Thanks,
Paul.
>
> James
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] parisc: fix longstanding build failure on prefetch
2012-02-27 16:02 ` Paul Gortmaker
@ 2012-02-27 16:32 ` James Bottomley
0 siblings, 0 replies; 4+ messages in thread
From: James Bottomley @ 2012-02-27 16:32 UTC (permalink / raw)
To: Paul Gortmaker
Cc: jejb, kyle, deller, linux-parisc, linux-kernel, linux-next,
rientjes, xiyou.wangcong
On Mon, 2012-02-27 at 11:02 -0500, Paul Gortmaker wrote:
> On 12-02-27 10:24 AM, James Bottomley wrote:
> > On Sun, 2012-02-26 at 15:51 -0500, Paul Gortmaker wrote:
> >> Upstream commit e66eed651fd18a961f11cda62f3b5286c8cc4f9f
> >>
> >> "list: remove prefetching from regular list iterators"
> >>
> >> removed <linux/prefetch.h> from <linux/list.h> very early in the
> >> v3.0 dev cycle (v2.6.39-2-ge66eed6), thereby causing build failures
> >> when it exposed the implicit prefetch users in parisc.
> >
> > I already have this in my internal patch queue:
> >
> > http://marc.info/?l=linux-parisc&m=132825467010662
>
> Is this in a different queue than what is in linux next?
Yes, sorry ... I hadn't got around to building the parisc tree for the
current version. I've done that now.
> It would be nice to see such build fixes get into linux-next
> ASAP, so folks doing multi-arch coverage builds on their work
> can know if they've introduced a regression. At the moment,
> the parisc builds in linux-next have been worthless for over
> six months, and I'm sure I'm not the 1st one to waste time
> "re-solving" old bugs like this.
So if you recheck with the next build of linux-next, they should all be
there (modulo the cross compile patch which is still under discussion).
James
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-27 16:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 20:51 [PATCH] parisc: fix longstanding build failure on prefetch Paul Gortmaker
2012-02-27 15:24 ` James Bottomley
2012-02-27 16:02 ` Paul Gortmaker
2012-02-27 16:32 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).