devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Markus Mayer <mmayer-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 1/1] Fix segfault in DTC
Date: Fri, 28 Sep 2012 11:09:27 -0600	[thread overview]
Message-ID: <5065D9C7.40906@wwwdotorg.org> (raw)
In-Reply-To: <50632F78.4030709-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>

On 09/26/2012 10:38 AM, Markus Mayer wrote:
> On 25/09/2012 17:35, David Gibson wrote:
>> On Tue, Sep 25, 2012 at 04:51:47PM -0700, Markus Mayer wrote:
>>> On 25/09/2012 16:30, David Gibson wrote:
>>>>
>>>> Which dtc version did you observe this with?  I'm unable to reproduce
>>>> the SEGV with current git.
>>>
>>> That was
>>>
>>> $ cat version_gen.h
>>> #define DTC_VERSION "DTC 1.2.0-g37c0b6a0"
>>>
>>> from
>>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git. In
>>> other words, the DTC used by the Linux 3.6-rc series.
>>
>> Ah, ok.  Patches to dtc should be made against the upstream version at
>> git://git.jdl.com/software/dtc.git.  In this case the bug was already
>> fixed there, in commit a6e6c60e3a97a6b3a033cd052bb3740fd53cbf4c.
> 
> Ah yes. That makes sense. Thanks for pointing out the commit that fixes
> the issue. I just checked it out.
> 
>> I think we're overdue to update the kernel copy of dtc from upstream.
> 
> Yeah, seems like the kernel DTC is quite old.

FYI, I'm working on a patch to the kernel to bring in the latest dtc.

I've run a regression test vs. the old dtc in the kernel and found that
some of the PowerPC .dts files don't compile with the new dtc (but did
with the old), all due to non-existent labels/paths being referenced.
I'll try and track down whether this is a regression in dtc, or simply
buggy .dts files that weren't noticed before.

Everything non-PowerPC works fine, and most PowerPC files work fine.
Where compilation succeeds, the md5sum of the .dtb is identical in every
case.

  parent reply	other threads:[~2012-09-28 17:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1348526885-2113-1-git-send-email-mmayer@broadcom.com>
2012-09-25 17:58 ` [PATCH 0/1] Fix segfault in DTC Markus Mayer
2012-09-25 17:58   ` [PATCH 1/1] " Markus Mayer
     [not found]     ` <1348595889-6495-2-git-send-email-mmayer-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2012-09-25 23:30       ` David Gibson
     [not found]         ` <20120925233054.GL9800-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-09-25 23:51           ` Markus Mayer
     [not found]             ` <50624393.30607-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2012-09-26  0:35               ` David Gibson
     [not found]                 ` <20120926003508.GB31993-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-09-26 16:38                   ` Markus Mayer
     [not found]                     ` <50632F78.4030709-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2012-09-28 17:09                       ` Stephen Warren [this message]
     [not found]                         ` <5065D9C7.40906-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-28 18:53                           ` Jon Loeliger
     [not found]                             ` <E1THfgr-0006Fg-KT-CYoMK+44s/E@public.gmane.org>
2012-09-28 19:05                               ` Stephen Warren
     [not found]                                 ` <5065F4FD.4010807-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-28 20:32                                   ` Jon Loeliger
2012-09-29 23:53                                   ` David Gibson
     [not found]                                     ` <20120929235342.GA23078-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-10-01  5:34                                       ` Stephen Warren
     [not found]                                         ` <50692B7A.8000405-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-01  6:46                                           ` David Gibson
     [not found]                                             ` <20121001064610.GA5323-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-10-01 16:41                                               ` Stephen Warren
     [not found]                                                 ` <5069C7A5.8090409-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-02  0:08                                                   ` David Gibson
     [not found]                                                     ` <20121002000851.GA29302-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-10-03 21:33                                                       ` Stephen Warren
     [not found]                                                         ` <506CAF2A.204-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-04  4:49                                                           ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5065D9C7.40906@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=mmayer-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).