All of lore.kernel.org
 help / color / mirror / Atom feed
* blackfin: how is the I-pipe code supposed to be built?
@ 2012-06-10 21:50 Paul Bolle
  2012-06-11  3:05 ` [uclinux-dist-devel] " Zhang, Sonic
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2012-06-10 21:50 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: uclinux-dist-devel, linux-kernel

0) While working my way through the stack of apparently unused headers I
also looked at arch/blackfin/include/asm/ipipe_base.h, as nothing seems
to include that header. The last include of that file got removed in
commit 1353d050facf5efd8dc05ba6c4d7852fcb423b15 ("Blackfin/ipipe:
restore pipeline bits in irqflags"). So that header is unused since
v2.6.39.

1) Before submitting the (possibly trivial) patch to remove that header
I did some further research, because I wanted to be sure that removing
this header was a reasonable thing to do.

2) I learned that arch/blackfin/include/asm/ipipe_base.h got added to
the tree in commit 6a01f230339321292cf065551f8cf55361052461 ("Blackfin
arch: merge adeos blackfin part to arch/blackfin/"). That commit also
introduced the macro CONFIG_IPIPE. But it did not introduce the Kconfig
symbol IPIPE. (Neither did it add code that defines a macro
CONFIG_IPIPE.) So to me it looks like the I-pipe code got added to
v2.6.29 without proper Kbuild support.

3) And this is currently still the case. There seem to be no Kconfig
symbols IPIPE, IPIPE_DEBUG, IPIPE_DEBUG_CONTEXT, or IPIPE_TRACE_IRQSOFF.
(Neither seems there to be code that defines the macros CONFIG_IPIPE,
CONFIG_IPIPE_DEBUG, CONFIG_IPIPE_DEBUG_CONTEXT, or
CONFIG_IPIPE_TRACE_IRQSOFF.)

4) Whether or not arch/blackfin/include/asm/ipipe_base.h should be
removed isn't very interesting. What is more interesting is how the
blackfin I-pipe code is supposed to be built. How can this code be built
from what currently is in mainline?


Paul Bolle


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [uclinux-dist-devel] blackfin: how is the I-pipe code supposed to be built?
  2012-06-10 21:50 blackfin: how is the I-pipe code supposed to be built? Paul Bolle
@ 2012-06-11  3:05 ` Zhang, Sonic
  2012-06-11 19:44   ` Paul Bolle
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Sonic @ 2012-06-11  3:05 UTC (permalink / raw)
  To: Paul Bolle, Mike Frysinger
  Cc: uclinux-dist-devel, linux-kernel, philippe.gerum

Hi Paul,

The IPIPE patch is part of the ADEOS real time kernel patch. The common part of this patch hasn't been merged into mainline by the maintainer Philippe Gerum, although the Blackfin architecture part was. The relative Kbuild support and Kconfig symbols are defined in the ADOES common patch.

Regards,

Sonic

>-----Original Message-----
>From: uclinux-dist-devel-bounces@blackfin.uclinux.org [mailto:uclinux-dist-devel-
>bounces@blackfin.uclinux.org] On Behalf Of Paul Bolle
>Sent: Monday, June 11, 2012 5:51 AM
>To: Mike Frysinger
>Cc: uclinux-dist-devel@blackfin.uclinux.org; linux-kernel@vger.kernel.org
>Subject: [uclinux-dist-devel] blackfin: how is the I-pipe code supposed to be built?
>
>0) While working my way through the stack of apparently unused headers I
>also looked at arch/blackfin/include/asm/ipipe_base.h, as nothing seems
>to include that header. The last include of that file got removed in
>commit 1353d050facf5efd8dc05ba6c4d7852fcb423b15 ("Blackfin/ipipe:
>restore pipeline bits in irqflags"). So that header is unused since
>v2.6.39.
>
>1) Before submitting the (possibly trivial) patch to remove that header
>I did some further research, because I wanted to be sure that removing
>this header was a reasonable thing to do.
>
>2) I learned that arch/blackfin/include/asm/ipipe_base.h got added to
>the tree in commit 6a01f230339321292cf065551f8cf55361052461 ("Blackfin
>arch: merge adeos blackfin part to arch/blackfin/"). That commit also
>introduced the macro CONFIG_IPIPE. But it did not introduce the Kconfig
>symbol IPIPE. (Neither did it add code that defines a macro
>CONFIG_IPIPE.) So to me it looks like the I-pipe code got added to
>v2.6.29 without proper Kbuild support.
>
>3) And this is currently still the case. There seem to be no Kconfig
>symbols IPIPE, IPIPE_DEBUG, IPIPE_DEBUG_CONTEXT, or
>IPIPE_TRACE_IRQSOFF.
>(Neither seems there to be code that defines the macros CONFIG_IPIPE,
>CONFIG_IPIPE_DEBUG, CONFIG_IPIPE_DEBUG_CONTEXT, or
>CONFIG_IPIPE_TRACE_IRQSOFF.)
>
>4) Whether or not arch/blackfin/include/asm/ipipe_base.h should be
>removed isn't very interesting. What is more interesting is how the
>blackfin I-pipe code is supposed to be built. How can this code be built
>from what currently is in mainline?
>
>
>Paul Bolle
>
>_______________________________________________
>Uclinux-dist-devel mailing list
>Uclinux-dist-devel@blackfin.uclinux.org
>https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [uclinux-dist-devel] blackfin: how is the I-pipe code supposed to be built?
  2012-06-11  3:05 ` [uclinux-dist-devel] " Zhang, Sonic
@ 2012-06-11 19:44   ` Paul Bolle
  2012-06-12  1:31     ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2012-06-11 19:44 UTC (permalink / raw)
  To: Zhang, Sonic
  Cc: Mike Frysinger, uclinux-dist-devel, linux-kernel, philippe.gerum

Sonic,

On Sun, 2012-06-10 at 23:05 -0400, Zhang, Sonic wrote:
> The IPIPE patch is part of the ADEOS real time kernel patch. The
> common part of this patch hasn't been merged into mainline by the
> maintainer Philippe Gerum, although the Blackfin architecture part
> was. The relative Kbuild support and Kconfig symbols are defined in
> the ADOES common patch.

What's the point of having code in the mainline tree, for over three
years, without any Kbuild or Kconfig support?  


Paul Bolle


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uclinux-dist-devel] blackfin: how is the I-pipe code supposed  to be built?
  2012-06-11 19:44   ` Paul Bolle
@ 2012-06-12  1:31     ` Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2012-06-12  1:31 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Zhang, Sonic, uclinux-dist-devel, linux-kernel, philippe.gerum

[-- Attachment #1: Type: Text/Plain, Size: 787 bytes --]

On Monday 11 June 2012 15:44:50 Paul Bolle wrote:
> On Sun, 2012-06-10 at 23:05 -0400, Zhang, Sonic wrote:
> > The IPIPE patch is part of the ADEOS real time kernel patch. The
> > common part of this patch hasn't been merged into mainline by the
> > maintainer Philippe Gerum, although the Blackfin architecture part
> > was. The relative Kbuild support and Kconfig symbols are defined in
> > the ADOES common patch.
> 
> What's the point of having code in the mainline tree, for over three
> years, without any Kbuild or Kconfig support?

because the Blackfin team cares about keeping ADEOS active throughout the 
rewrites/updates of core code.  it isn't hurting keeping the code in the 
arch/blackfin/ tree, and we're ok with any overhead it implies for the team.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-12  1:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-10 21:50 blackfin: how is the I-pipe code supposed to be built? Paul Bolle
2012-06-11  3:05 ` [uclinux-dist-devel] " Zhang, Sonic
2012-06-11 19:44   ` Paul Bolle
2012-06-12  1:31     ` Mike Frysinger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.