linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* sysfs cpu entry
@ 2008-04-24 22:05 Kevin Diggs
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Diggs @ 2008-04-24 22:05 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

	Can someone suggest where to add the code for a cpu 
(/sys/devices/system/cpu/cpu0) entry in sysfs?

	The 2.6.24 release has a sysfs.c file but it only seems to be used for 
64-bit? Anyone know why? What kind of planetary disasters will I create 
if I allow it to be used in 32-bit as well?

kevin

P.S.:  On an unrelated note, anyone know where to start looking for 
problems in pmac_zilog. My 8600 modem which worked fine in 2.4 is now 
essentially useless. Some problem with handshaking, I think.

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

* Re: sysfs cpu entry
  2008-04-25  4:08 sysfs cpu entry Kevin Diggs
@ 2008-04-25  3:36 ` Kumar Gala
  2008-04-26  7:16   ` Kevin Diggs
  2008-04-26 23:10 ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2008-04-25  3:36 UTC (permalink / raw)
  To: Kevin Diggs; +Cc: linuxppc-dev


On Apr 24, 2008, at 11:08 PM, Kevin Diggs wrote:
> Hi,
>
> 	Can someone suggest where to add the code for a cpu
> (/sys/devices/system/cpu/cpu0) entry in sysfs?
>
> 	The 2.6.24 release has a sysfs.c file but it only seems to be used  
> for 64-bit? Anyone know why? What kind of planetary disasters will I  
> create if I allow it to be used in 32-bit as well?
>
> kevin

There's no huge harm just make sure that you fixup things to only  
expose registers that exist on a 32-bit part.

What 32-bit chip are you looking to enable this for?

- k

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

* sysfs cpu entry
@ 2008-04-25  4:08 Kevin Diggs
  2008-04-25  3:36 ` Kumar Gala
  2008-04-26 23:10 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Diggs @ 2008-04-25  4:08 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

	Can someone suggest where to add the code for a cpu
(/sys/devices/system/cpu/cpu0) entry in sysfs?

	The 2.6.24 release has a sysfs.c file but it only seems to be used for 
64-bit? Anyone know why? What kind of planetary disasters will I create 
if I allow it to be used in 32-bit as well?

kevin

P.S.:  On an unrelated note, anyone know where to start looking for
problems in pmac_zilog. My 8600 modem which worked fine in 2.4 is now
essentially useless. Some problem with handshaking, I think.

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

* Re: sysfs cpu entry
  2008-04-25  3:36 ` Kumar Gala
@ 2008-04-26  7:16   ` Kevin Diggs
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Diggs @ 2008-04-26  7:16 UTC (permalink / raw)
  To: linuxppc-dev

Kumar Gala wrote:
> 
> What 32-bit chip are you looking to enable this for?
> 
> - k
> 

I am working on some stuff for the 750GX

kevin

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

* Re: sysfs cpu entry
  2008-04-25  4:08 sysfs cpu entry Kevin Diggs
  2008-04-25  3:36 ` Kumar Gala
@ 2008-04-26 23:10 ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2008-04-26 23:10 UTC (permalink / raw)
  To: Kevin Diggs; +Cc: linuxppc-dev


On Thu, 2008-04-24 at 21:08 -0700, Kevin Diggs wrote:
> P.S.:  On an unrelated note, anyone know where to start looking for
> problems in pmac_zilog. My 8600 modem which worked fine in 2.4 is now
> essentially useless. Some problem with handshaking, I think.

It's possible that handshaking is broken, I remember some nasty tricks
with it on some Apple HW and I may have gotten that wrong... 

Ben.

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

end of thread, other threads:[~2008-04-26 23:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25  4:08 sysfs cpu entry Kevin Diggs
2008-04-25  3:36 ` Kumar Gala
2008-04-26  7:16   ` Kevin Diggs
2008-04-26 23:10 ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2008-04-24 22:05 Kevin Diggs

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