All of lore.kernel.org
 help / color / mirror / Atom feed
* Using devices trees on X86
@ 2010-06-28 17:57 Stephen Neuendorffer
       [not found] ` <0bcc23b9-2cbd-4465-b17c-7b3c2dff9fd3-+Ck8Kgl/v09CYczPSvLbDrjjLBE8jN/0@public.gmane.org>
  2010-06-29  2:38   ` Stephen Rothwell
  0 siblings, 2 replies; 38+ messages in thread
From: Stephen Neuendorffer @ 2010-06-28 17:57 UTC (permalink / raw)
  To: Grant Likely, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

Grant,

OK, here's the current set of patches...  The end goal of which is to be
able to parse a device
tree and generate a set of struct device objects on any architecture,
but specifically X86.
I can't see that much of this is anywhere near
final form, hence the lack of signed-off-by lines.  It does compile on
X86, although it's not
clear that I actually get any devices discovered behind the PCI bus yet.
I'll summarize a couple
of issues, that you can see in somewhat concrete form in the patches:

1) no _ALIGN on x86, which you've already dealt with
2) config OF is currently implemented in the architecture code.  This
should be non-architecture dependent and selected by the arches that
need it.
3) Theres a bunch of support functions that drivers/of requires.  Some
are just stubs and some seem to actually
do something non-trivial (like the SMP affinity mappings).  Probably all
of this should get stubs with weak symbols so that the arches don't have
to do anything special, especially since I expect pushback from adding
this architecture code "Just for device trees".

Comments greatly appreciated, in particular if you have
likely-to-be-easy-to-get-accepted suggestions for 3), or feel like
carefully solving 2) in
a way which doesn't bork the existing of-based arches.

Steve


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

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

end of thread, other threads:[~2010-06-29 15:56 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 17:57 Using devices trees on X86 Stephen Neuendorffer
     [not found] ` <0bcc23b9-2cbd-4465-b17c-7b3c2dff9fd3-+Ck8Kgl/v09CYczPSvLbDrjjLBE8jN/0@public.gmane.org>
2010-06-28 18:08   ` Grant Likely
2010-06-29  2:38 ` Stephen Rothwell
2010-06-29  2:38   ` Stephen Rothwell
2010-06-29  2:38   ` Stephen Rothwell
2010-06-29  2:42   ` [PATCH 1/5] microblaze: turn CONFIG_OF into a select Stephen Rothwell
2010-06-29  2:42     ` Stephen Rothwell
2010-06-29  2:42     ` Stephen Rothwell
2010-06-29  9:57     ` Michal Simek
2010-06-29  9:57       ` Michal Simek
2010-06-29  9:57       ` Michal Simek
2010-06-29  2:43   ` [PATCH 2/5] powerpc: " Stephen Rothwell
2010-06-29  2:43     ` Stephen Rothwell
2010-06-29  2:43     ` Stephen Rothwell
2010-06-29  2:44   ` [PATCH 3/5] sparc: " Stephen Rothwell
2010-06-29  2:44     ` Stephen Rothwell
2010-06-29  2:44     ` Stephen Rothwell
2010-06-29  3:11     ` David Miller
2010-06-29  3:11       ` David Miller
2010-06-29  3:11       ` David Miller
2010-06-29  2:45   ` [PATCH 4/5] of: define CONFIG_OF globally so architectures can select it Stephen Rothwell
2010-06-29  2:45     ` Stephen Rothwell
2010-06-29  2:45     ` [PATCH 4/5] of: define CONFIG_OF globally so architectures can Stephen Rothwell
2010-06-29  2:47   ` [PATCH 5/5] of: remove architecture CONFIG_OF definitions Stephen Rothwell
2010-06-29  2:47     ` Stephen Rothwell
2010-06-29  2:47     ` Stephen Rothwell
2010-06-29  9:58     ` Michal Simek
2010-06-29  9:58       ` Michal Simek
2010-06-29  9:58       ` Michal Simek
2010-06-29  5:56   ` Using devices trees on X86 Grant Likely
2010-06-29  5:56     ` Grant Likely
2010-06-29  5:56     ` Grant Likely
2010-06-29  6:02     ` Stephen Rothwell
2010-06-29  6:02       ` Stephen Rothwell
2010-06-29  6:02       ` Stephen Rothwell
2010-06-29 15:56   ` Stephen Neuendorffer
2010-06-29 15:56     ` Stephen Neuendorffer
2010-06-29 15:56     ` Stephen Neuendorffer

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.