devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Call for testing: device nodes as kobjects
@ 2013-04-17 15:48 Grant Likely
       [not found] ` <CACxGe6vPsGK1PwF6xOkkTB5LD8DqgB+Ym7daCMoPbMbVMVBQtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
       [not found] ` <517963BB.5030308@linux.vnet.ibm.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Grant Likely @ 2013-04-17 15:48 UTC (permalink / raw)
  To: devicetree-discuss; +Cc: Stephen Rothwell, Michal Simek, David Miller

Hi folks,

Could I get some testing support please? I've applied the patch that
makes device nodes into kobjects into the following branch and build
tested it on a bunch of platforms. What I need now is boot testing on
different architectures.

If you can build this tree and make sure it doesn't break your
platforms with OF support I would greatly appreciate it.

Also, if you turn off CONFIG_PROC_DEVICETREE, a symlink will be
created to the /sys/firmware  representation which should be
functionally identical. For those of you using tools that read
/proc/device-tree (like kexec), I would also appreciate if you can
test that those tools still work with CONFIG_PROC_DEVICETREE turned
off.

git://git.secretlab.ca/git/linux devicetree/experimental

Thanks,
g.

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

* Re: Call for testing: device nodes as kobjects
       [not found] ` <CACxGe6vPsGK1PwF6xOkkTB5LD8DqgB+Ym7daCMoPbMbVMVBQtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-04-17 17:16   ` Sascha Hauer
       [not found]     ` <20130417171618.GW1906-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  2013-04-17 17:22   ` Grant Likely
  1 sibling, 1 reply; 5+ messages in thread
From: Sascha Hauer @ 2013-04-17 17:16 UTC (permalink / raw)
  To: Grant Likely
  Cc: Stephen Rothwell, devicetree-discuss, David Miller, Michal Simek

Hi Grant,

On Wed, Apr 17, 2013 at 04:48:22PM +0100, Grant Likely wrote:
> Hi folks,
> 
> Could I get some testing support please? I've applied the patch that
> makes device nodes into kobjects into the following branch and build
> tested it on a bunch of platforms. What I need now is boot testing on
> different architectures.
> 
> If you can build this tree and make sure it doesn't break your
> platforms with OF support I would greatly appreciate it.
> 
> Also, if you turn off CONFIG_PROC_DEVICETREE, a symlink will be
> created to the /sys/firmware  representation which should be
> functionally identical. For those of you using tools that read
> /proc/device-tree (like kexec), I would also appreciate if you can
> test that those tools still work with CONFIG_PROC_DEVICETREE turned
> off.
> 
> git://git.secretlab.ca/git/linux devicetree/experimental

I gave it a quick test on i.MX53 (qsb) and i.MX27 (phycore i.MX27).
Both seem to work just normally. I also made a

diff -urN /proc/device-tree /sys/firmware/ofw/device-tree

with CONFIG_PROC_DEVICETREE enabled (so no symlink). Indeed both
trees are identical.

So:

Tested-by: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Re: Call for testing: device nodes as kobjects
       [not found]     ` <20130417171618.GW1906-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2013-04-17 17:20       ` Grant Likely
  0 siblings, 0 replies; 5+ messages in thread
From: Grant Likely @ 2013-04-17 17:20 UTC (permalink / raw)
  To: Sascha Hauer
  Cc: Stephen Rothwell, devicetree-discuss, David Miller, Michal Simek

On Wed, Apr 17, 2013 at 6:16 PM, Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> wrote:
> Hi Grant,
>
> On Wed, Apr 17, 2013 at 04:48:22PM +0100, Grant Likely wrote:
>> Hi folks,
>>
>> Could I get some testing support please? I've applied the patch that
>> makes device nodes into kobjects into the following branch and build
>> tested it on a bunch of platforms. What I need now is boot testing on
>> different architectures.
>>
>> If you can build this tree and make sure it doesn't break your
>> platforms with OF support I would greatly appreciate it.
>>
>> Also, if you turn off CONFIG_PROC_DEVICETREE, a symlink will be
>> created to the /sys/firmware  representation which should be
>> functionally identical. For those of you using tools that read
>> /proc/device-tree (like kexec), I would also appreciate if you can
>> test that those tools still work with CONFIG_PROC_DEVICETREE turned
>> off.
>>
>> git://git.secretlab.ca/git/linux devicetree/experimental
>
> I gave it a quick test on i.MX53 (qsb) and i.MX27 (phycore i.MX27).
> Both seem to work just normally. I also made a
>
> diff -urN /proc/device-tree /sys/firmware/ofw/device-tree
>
> with CONFIG_PROC_DEVICETREE enabled (so no symlink). Indeed both
> trees are identical.
>
> So:
>
> Tested-by: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Great, thanks!

g.

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

* Re: Call for testing: device nodes as kobjects
       [not found] ` <CACxGe6vPsGK1PwF6xOkkTB5LD8DqgB+Ym7daCMoPbMbVMVBQtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-04-17 17:16   ` Sascha Hauer
@ 2013-04-17 17:22   ` Grant Likely
  1 sibling, 0 replies; 5+ messages in thread
From: Grant Likely @ 2013-04-17 17:22 UTC (permalink / raw)
  To: devicetree-discuss; +Cc: Stephen Rothwell, Michal Simek, David Miller

On Wed, Apr 17, 2013 at 4:48 PM, Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> wrote:
> Hi folks,
>
> Could I get some testing support please? I've applied the patch that
> makes device nodes into kobjects into the following branch and build
> tested it on a bunch of platforms. What I need now is boot testing on
> different architectures.
>
> If you can build this tree and make sure it doesn't break your
> platforms with OF support I would greatly appreciate it.
>
> Also, if you turn off CONFIG_PROC_DEVICETREE, a symlink will be
> created to the /sys/firmware  representation which should be
> functionally identical. For those of you using tools that read
> /proc/device-tree (like kexec), I would also appreciate if you can
> test that those tools still work with CONFIG_PROC_DEVICETREE turned
> off.
>
> git://git.secretlab.ca/git/linux devicetree/experimental

Note; I just updated the branch with a build fix for PowerPC

g.

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

* Re: Call for testing: device nodes as kobjects
       [not found]   ` <517963BB.5030308-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
@ 2013-04-25 21:35     ` Grant Likely
  0 siblings, 0 replies; 5+ messages in thread
From: Grant Likely @ 2013-04-25 21:35 UTC (permalink / raw)
  To: Nathan Fontenot
  Cc: Stephen Rothwell, devicetree-discuss, David Miller, Michal Simek

On Thu, Apr 25, 2013 at 6:11 PM, Nathan Fontenot
<nfont-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> wrote:
> Hi Grant,
>
> I finally got some time to play around with this on powerpc/pseries.
> Everything looks the same in the device tree, though I am seeing an
> issue with of_property_update(). The routine appears to work and update
> the property but when you read the file from userspace you still get
> the same content that was present before the update.
>
> The root cause appears to be that of_update_property adds the new
> property to the property list on the device node but does not update
> the binary attribute for the file created for that property.
>
> I tried to poke around a bit but couldn't get anything to work that
> would resolve the issue. I'll try to look around some more and send
> something your way if I can get it to work.

Great, thanks for the testing Nathan. I'll take a look also.

g.

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

end of thread, other threads:[~2013-04-25 21:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 15:48 Call for testing: device nodes as kobjects Grant Likely
     [not found] ` <CACxGe6vPsGK1PwF6xOkkTB5LD8DqgB+Ym7daCMoPbMbVMVBQtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-17 17:16   ` Sascha Hauer
     [not found]     ` <20130417171618.GW1906-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-04-17 17:20       ` Grant Likely
2013-04-17 17:22   ` Grant Likely
     [not found] ` <517963BB.5030308@linux.vnet.ibm.com>
     [not found]   ` <517963BB.5030308-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2013-04-25 21:35     ` Grant Likely

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