All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Alan Modra <amodra@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
	netdev <netdev@vger.kernel.org>,
	Ambrose Feinstein <ambrose@google.com>,
	Paul Mackerras <paulus@samba.org>,
	Anton Blanchard <anton@samba.org>,
	linuxppc-dev@lists.ozlabs.org, David Miller <davem@davemloft.net>
Subject: Re: [PATCH net-next] af_unix: fix a fatal race with bit fields
Date: Thu, 2 May 2013 12:02:25 -0500	[thread overview]
Message-ID: <1367514145.24411.8@snotra> (raw)
In-Reply-To: <20130501035425.GD5221@bubble.grove.modra.org> (from amodra@gmail.com on Tue Apr 30 22:54:25 2013)

On 04/30/2013 10:54:25 PM, Alan Modra wrote:
> On Tue, Apr 30, 2013 at 07:24:20PM -0700, Eric Dumazet wrote:
> > 	li 11,1
> > 	ld 0,0(9)
> > 	rldimi 0,11,31,32
> > 	std 0,0(9)
> > 	blr
> > 	.ident	"GCC: (GNU) 4.6.3"
> >
> > You can see "ld 0,0(9)" is used : its a 64 bit load.
>=20
> Yup.  This is not a powerpc64 specific problem.  See
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52080
> Fixed in 4.8.0 and 4.7.3.

FWIW (especially if a GCC version check is added), it seems to have =20
been fixed as far back as 4.7.1, not just 4.7.3.

-Scott=

WARNING: multiple messages have this Message-ID (diff)
From: Scott Wood <scottwood@freescale.com>
To: Alan Modra <amodra@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
	netdev <netdev@vger.kernel.org>,
	Ambrose Feinstein <ambrose@google.com>,
	Paul Mackerras <paulus@samba.org>,
	Anton Blanchard <anton@samba.org>,
	<linuxppc-dev@lists.ozlabs.org>,
	David Miller <davem@davemloft.net>
Subject: Re: [PATCH net-next] af_unix: fix a fatal race with bit fields
Date: Thu, 2 May 2013 12:02:25 -0500	[thread overview]
Message-ID: <1367514145.24411.8@snotra> (raw)
In-Reply-To: <20130501035425.GD5221@bubble.grove.modra.org> (from amodra@gmail.com on Tue Apr 30 22:54:25 2013)

On 04/30/2013 10:54:25 PM, Alan Modra wrote:
> On Tue, Apr 30, 2013 at 07:24:20PM -0700, Eric Dumazet wrote:
> > 	li 11,1
> > 	ld 0,0(9)
> > 	rldimi 0,11,31,32
> > 	std 0,0(9)
> > 	blr
> > 	.ident	"GCC: (GNU) 4.6.3"
> >
> > You can see "ld 0,0(9)" is used : its a 64 bit load.
> 
> Yup.  This is not a powerpc64 specific problem.  See
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52080
> Fixed in 4.8.0 and 4.7.3.

FWIW (especially if a GCC version check is added), it seems to have  
been fixed as far back as 4.7.1, not just 4.7.3.

-Scott

  parent reply	other threads:[~2013-05-02 17:02 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01  1:12 [PATCH net-next] af_unix: fix a fatal race with bit fields Eric Dumazet
2013-05-01  1:12 ` Eric Dumazet
2013-05-01  1:39 ` Benjamin Herrenschmidt
2013-05-01  1:39   ` Benjamin Herrenschmidt
2013-05-01  7:36   ` David Miller
2013-05-01  7:36     ` David Miller
2013-05-01  8:08     ` Benjamin Herrenschmidt
2013-05-01 15:24     ` [PATCH v2 " Eric Dumazet
2013-05-01 15:24       ` Eric Dumazet
2013-05-01 15:53       ` David Laight
2013-05-01 15:53         ` David Laight
2013-05-01 16:00         ` Eric Dumazet
2013-05-01 16:00           ` Eric Dumazet
2013-05-01 19:14       ` David Miller
2013-05-01 19:14         ` David Miller
2013-05-01 12:08   ` [PATCH " Ben Hutchings
2013-05-01 12:08     ` Ben Hutchings
2013-05-03 14:29   ` David Laight
2013-05-03 14:29     ` David Laight
2013-05-03 15:02     ` Eric Dumazet
2013-05-03 15:02       ` Eric Dumazet
2013-05-03 15:44       ` David Laight
2013-05-03 15:44         ` David Laight
2013-05-01  1:51 ` Anton Blanchard
2013-05-01  1:51   ` Anton Blanchard
2013-05-01  2:24   ` Eric Dumazet
2013-05-01  2:24     ` Eric Dumazet
2013-05-01  3:54     ` Alan Modra
2013-05-01  3:54       ` Alan Modra
2013-05-01  5:04       ` Eric Dumazet
2013-05-01  5:04         ` Eric Dumazet
2013-05-01 15:10         ` Stephen Hemminger
2013-05-01 15:10           ` Stephen Hemminger
2013-05-02 21:11           ` Benjamin Herrenschmidt
2013-05-02 21:11             ` Benjamin Herrenschmidt
2013-05-03  1:31         ` Alan Modra
2013-05-03  1:31           ` Alan Modra
2013-05-03  8:20           ` David Laight
2013-05-03  8:20             ` David Laight
2013-05-03 12:57           ` Benjamin Herrenschmidt
2013-05-03 14:14           ` Eric Dumazet
2013-05-03 14:14             ` Eric Dumazet
2013-05-02 17:02       ` Scott Wood [this message]
2013-05-02 17:02         ` Scott Wood

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=1367514145.24411.8@snotra \
    --to=scottwood@freescale.com \
    --cc=ambrose@google.com \
    --cc=amodra@gmail.com \
    --cc=anton@samba.org \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=netdev@vger.kernel.org \
    --cc=paulus@samba.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 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.