All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Scott Wood <scottwood@freescale.com>
Cc: David Laight <David.Laight@ACULAB.COM>, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc/fsl-booke: Work around erratum A-006958
Date: Mon, 15 Jul 2013 17:15:58 -0500	[thread overview]
Message-ID: <1373926558.8183.317@snotra> (raw)
In-Reply-To: <1373907234.8183.297@snotra> (from scottwood@freescale.com on Mon Jul 15 11:53:54 2013)

On 07/15/2013 11:53:54 AM, Scott Wood wrote:
> On 07/15/2013 03:45:36 AM, David Laight wrote:
>> Also, if the high word changes, there is no need to loop.
>> Just return the second value with a low word of zero
>> (the returned count happened while the function was active).
>=20
> That would be more complicated than looping.

That said, it's since been confirmed internally that the low word =20
should always be zero when this happens, so we could share the Cell =20
workaround code -- as long as we do something special in the timebase =20
sync code so that we don't get stuck if the timebase happens to be =20
frozen with TBL=3D=3D0.  This would avoid the need for scratch registers =20
(other than CR0).

-Scott=

  reply	other threads:[~2013-07-15 22:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-13  1:03 [PATCH] powerpc/fsl-booke: Work around erratum A-006958 Scott Wood
2013-07-15  6:03 ` Aneesh Kumar K.V
2013-07-15 16:55   ` Scott Wood
2013-07-15  8:45 ` David Laight
2013-07-15 16:53   ` Scott Wood
2013-07-15 22:15     ` Scott Wood [this message]
2013-07-16  8:28       ` David Laight
2013-07-16 18:16         ` 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=1373926558.8183.317@snotra \
    --to=scottwood@freescale.com \
    --cc=David.Laight@ACULAB.COM \
    --cc=linuxppc-dev@lists.ozlabs.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.