linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
@ 2002-10-09 15:12 Kevin Hendricks
  2002-10-09 16:34 ` David Edelsohn
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Kevin Hendricks @ 2002-10-09 15:12 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: yellowdog-devel


Hi,

Can anyone bring me up to date on the buildability and useability of the
latest 2.5.X kernels on PPC Linux?  How stable and useful are these
given the recent changes to revert back to 2.4 IDE code and other
changes?

Also, is anyone here actively working on Ulrich Drepper's New Posix
Thread Library (NPTL) to add in support for ppc Linux?  Has anyone
decided on what register will be used for Thread Local Storage on PPC
(32bit)?  (Is this r13 on ppc64?).  Have the necessary modifications to
the ABI/compiler been made to support a dedicated thread local storage
register?

Any hints or guidance greatly appreciated?

Thanks,

Kevin

----
Kevin B. Hendricks
Associate Professor of Operations and Information Technology
Richard Ivey School of Business, University of Western Ontario
London Ontario, CANADA  N6A 3K7
khendricks@ivey.uwo.ca


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-10-09 15:12 Status of 2.5.X kernels on PPC Linux, anyone working with NPTL? Kevin Hendricks
@ 2002-10-09 16:34 ` David Edelsohn
  2002-10-09 17:14   ` Kevin Hendricks
  2002-11-03 18:28   ` Aldy Hernandez
  2002-10-10  2:26 ` Tom Rini
  2002-10-27 12:30 ` Giuliano Pochini
  2 siblings, 2 replies; 9+ messages in thread
From: David Edelsohn @ 2002-10-09 16:34 UTC (permalink / raw)
  To: Kevin Hendricks; +Cc: linuxppc-dev, yellowdog-devel


>>>>> Kevin Hendricks writes:

Kevin> Also, is anyone here actively working on Ulrich Drepper's New Posix
Kevin> Thread Library (NPTL) to add in support for ppc Linux?  Has anyone
Kevin> decided on what register will be used for Thread Local Storage on PPC
Kevin> (32bit)?  (Is this r13 on ppc64?).  Have the necessary modifications to
Kevin> the ABI/compiler been made to support a dedicated thread local storage
Kevin> register?

	There still is a question of what the final version of thread
support will look like in Glibc.  TLS support has not been added to
PowerPC GCC yet.  GPR 13 is reserved for the thread ID.  I do not know
whether that also can be used as the TLS base pointer.

David


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-10-09 16:34 ` David Edelsohn
@ 2002-10-09 17:14   ` Kevin Hendricks
  2002-11-03 18:28   ` Aldy Hernandez
  1 sibling, 0 replies; 9+ messages in thread
From: Kevin Hendricks @ 2002-10-09 17:14 UTC (permalink / raw)
  To: David Edelsohn; +Cc: linuxppc-dev, yellowdog-devel


Hi David,

Thanks for responding.

> 	There still is a question of what the final version of thread
> support will look like in Glibc.  TLS support has not been added to
> PowerPC GCC yet.  GPR 13 is reserved for the thread ID.  I do not know
> whether that also can be used as the TLS base pointer.
>
Is IBM's NGPT the alternative being considered or just changes in how
NPTL is being implemented?

I did not realize that two registers were needed (a thread id register
and a tls base pointer).
Are you and Geoff the people that will make the decision of which
registers will be allocated and when?

Thanks,

Kevin


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-10-09 15:12 Status of 2.5.X kernels on PPC Linux, anyone working with NPTL? Kevin Hendricks
  2002-10-09 16:34 ` David Edelsohn
@ 2002-10-10  2:26 ` Tom Rini
  2002-10-27 12:30 ` Giuliano Pochini
  2 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2002-10-10  2:26 UTC (permalink / raw)
  To: Kevin Hendricks; +Cc: linuxppc-dev, yellowdog-devel


On Wed, Oct 09, 2002 at 11:12:36AM -0400, Kevin Hendricks wrote:

> Hi,
>
> Can anyone bring me up to date on the buildability and useability of the
> latest 2.5.X kernels on PPC Linux?  How stable and useful are these
> given the recent changes to revert back to 2.4 IDE code and other
> changes?

Depending on the time and day of course, the linuxppc-2.5 tree is
generally left in a buildable state, at least for some target or
another.  IMHO, it is still easiest to NFS root a 2.5 box than to worry
about IDE / SCSI being perfectly sane.  That said, IDE / SCSI have been
rather sane for a while now, so the chances are low of you kicking
yourself for not having done a backup recently..

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-10-09 15:12 Status of 2.5.X kernels on PPC Linux, anyone working with NPTL? Kevin Hendricks
  2002-10-09 16:34 ` David Edelsohn
  2002-10-10  2:26 ` Tom Rini
@ 2002-10-27 12:30 ` Giuliano Pochini
  2 siblings, 0 replies; 9+ messages in thread
From: Giuliano Pochini @ 2002-10-27 12:30 UTC (permalink / raw)
  To: linuxppc-dev


Kevin Hendricks wrote:

> Also, is anyone here actively working on Ulrich Drepper's New Posix
> Thread Library (NPTL) to add in support for ppc Linux?  Has anyone
> decided on what register will be used for Thread Local Storage on PPC
> (32bit)?  (Is this r13 on ppc64?).  Have the necessary modifications to
> the ABI/compiler been made to support a dedicated thread local storage
> register?

Ehm, sorry for my silly question, but why it is necessary to keep
a register reserved for TLS ?  Where can I find detailed infos about TLS ?


Bye.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-10-09 16:34 ` David Edelsohn
  2002-10-09 17:14   ` Kevin Hendricks
@ 2002-11-03 18:28   ` Aldy Hernandez
  2002-11-03 18:45     ` Kevin B. Hendricks
  1 sibling, 1 reply; 9+ messages in thread
From: Aldy Hernandez @ 2002-11-03 18:28 UTC (permalink / raw)
  To: David Edelsohn; +Cc: Kevin Hendricks, linuxppc-dev, yellowdog-devel


>>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:

>>>>> Kevin Hendricks writes:

 Kevin> Also, is anyone here actively working on Ulrich Drepper's New Posix
 Kevin> Thread Library (NPTL) to add in support for ppc Linux?  Has anyone
 Kevin> decided on what register will be used for Thread Local Storage on PPC
 Kevin> (32bit)?  (Is this r13 on ppc64?).  Have the necessary modifications to
 Kevin> the ABI/compiler been made to support a dedicated thread local storage
 Kevin> register?

 > 	There still is a question of what the final version of thread
 > support will look like in Glibc.  TLS support has not been added to
 > PowerPC GCC yet.  GPR 13 is reserved for the thread ID.  I do not know
 > whether that also can be used as the TLS base pointer.

Funny I was just talking to Richard Henderson on the plane about this
last week.

David, I was thinking on working on TLS for PPC (gcc side of things),
but Kevin is right, we need to get a register and change the ABI, else
things can get really spooky.  I was thinking we could use r13 (?)
like PPC64 does.

I also vaguely recall that Geoff has a list of ABI changes pending.
Perhaps we should do all these at the same time.

Anywhoooo, we should probably discuss this on the gcc lis instead.

Aldy

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-11-03 18:28   ` Aldy Hernandez
@ 2002-11-03 18:45     ` Kevin B. Hendricks
  2002-11-03 18:55       ` Aldy Hernandez
  0 siblings, 1 reply; 9+ messages in thread
From: Kevin B. Hendricks @ 2002-11-03 18:45 UTC (permalink / raw)
  To: Aldy Hernandez; +Cc: David Edelsohn, linuxppc-dev, yellowdog-devel


Hi,

> I also vaguely recall that Geoff has a list of ABI changes pending.
> Perhaps we should do all these at the same time.
>
Current violations of the abi for ppc linux include:

- missing support for small structure return values in register pairs
r3, r4

- missing passing floats as doubles on the outgoing parameter stack
aligned to 8
   (I think that is how the abi should be interpreted but)

But changing either of these will necessitate rewrite of the libffi
code used by gcj,
the JDK code (sys_invokeNative and etc), the mozilla code, the gcc
bridge code in
OpenOffice, and I am sure there are a number of other projects that use
some form of call
on the fly stuff for components.

So if these are the abi changes Geoff has waiting, we should really
think about a
simultaneous push of patches to many of these projects to help them
maintain
support for ppc linux.

My 2 cents.

Kevin


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-11-03 18:45     ` Kevin B. Hendricks
@ 2002-11-03 18:55       ` Aldy Hernandez
  2002-11-03 20:06         ` Kevin B. Hendricks
  0 siblings, 1 reply; 9+ messages in thread
From: Aldy Hernandez @ 2002-11-03 18:55 UTC (permalink / raw)
  To: Kevin B. Hendricks; +Cc: David Edelsohn, linuxppc-dev, yellowdog-devel


On Sun, Nov 03, 2002 at 01:45:18PM -0500, Kevin B. Hendricks wrote:
> Hi,
>
> >I also vaguely recall that Geoff has a list of ABI changes pending.
> >Perhaps we should do all these at the same time.
> >
> Current violations of the abi for ppc linux include:
>
> - missing support for small structure return values in register pairs
> r3, r4

I thought support for this already in place, but gcc had the wrong
endianness in the registers.  If this is so, I already have a patch
for this (not commited though ;-)).

> think about a
> simultaneous push of patches to many of these projects to help them
> maintain
> support for ppc linux.

But but... I've been hacking gcc so long, I can only write in K&R :-).

Aldy

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Status of 2.5.X kernels on PPC Linux, anyone working with NPTL?
  2002-11-03 18:55       ` Aldy Hernandez
@ 2002-11-03 20:06         ` Kevin B. Hendricks
  0 siblings, 0 replies; 9+ messages in thread
From: Kevin B. Hendricks @ 2002-11-03 20:06 UTC (permalink / raw)
  To: Aldy Hernandez; +Cc: David Edelsohn, linuxppc-dev, yellowdog-devel


Hi,

>> - missing support for small structure return values in register pairs
>> r3, r4
>
> I thought support for this already in place, but gcc had the wrong
> endianness in the registers.  If this is so, I already have a patch
> for this (not commited though ;-)).

According to my tests small structure returns in registers are not
currently being used for PPC Linux (32 bit) for gcc 3.2.1 and earlier
(and never have been AFAIK) but I can not speak for
the 3.3 tree and later.

Kevin


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-11-03 20:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-09 15:12 Status of 2.5.X kernels on PPC Linux, anyone working with NPTL? Kevin Hendricks
2002-10-09 16:34 ` David Edelsohn
2002-10-09 17:14   ` Kevin Hendricks
2002-11-03 18:28   ` Aldy Hernandez
2002-11-03 18:45     ` Kevin B. Hendricks
2002-11-03 18:55       ` Aldy Hernandez
2002-11-03 20:06         ` Kevin B. Hendricks
2002-10-10  2:26 ` Tom Rini
2002-10-27 12:30 ` Giuliano Pochini

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).