linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: w@1wt.eu (Willy Tarreau)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7] ARM PJ4B: Add support for errata 4742
Date: Fri, 21 Jun 2013 19:39:37 +0200	[thread overview]
Message-ID: <20130621173937.GG7406@1wt.eu> (raw)
In-Reply-To: <1371828664-3681-2-git-send-email-gregory.clement@free-electrons.com>

On Fri, Jun 21, 2013 at 05:31:04PM +0200, Gregory CLEMENT wrote:
> This commit fixes the regression on Armada 370 (the kernal hang during
> boot) introduced by the commit: "ARM: 7691/1: mm: kill unused
> TLB_CAN_READ_FROM_L1_CACHE and use ALT_SMP instead".
> 
> When coming out of either a Wait for Interrupt (WFI) or a Wait for
> Event (WFE) IDLE states, a specific timing sensitivity exists between
> the retiring WFI/WFE instructions and the newly issued subsequent
> instructions. This sensitivity can result in a CPU hang scenario.  The
> workaround is to insert either a Data Synchronization Barrier (DSB) or
> Data Memory Barrier (DMB) command immediately after the WFI/WFE
> instruction.
> 
> This commit was based on the work of Lior Amsalem, but heavily
> modified to apply the errata fix dynamically according to the
> processor type thanks to the suggestions of Russell King and Nicolas
> Pitre.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> Reviewed-by: Will Deacon <will.deacon@arm.com>
> Cc: <stable@vger.kernel.org>

Works fine here, kudos Greg! Feel free to add my Tested-by if you
want :

    Tested-By: Willy Tarreau <w@1wt.eu>

Best regards,
Willy

  reply	other threads:[~2013-06-21 17:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 15:31 [PATCH v7] ARM: PJ4B: fix for 3.10-rc Gregory CLEMENT
2013-06-21 15:31 ` [PATCH v7] ARM PJ4B: Add support for errata 4742 Gregory CLEMENT
2013-06-21 17:39   ` Willy Tarreau [this message]
2013-06-22 15:44   ` Ezequiel Garcia
2013-06-22 15:51     ` Willy Tarreau
2013-06-23  7:20       ` Willy Tarreau
2013-06-23  8:30         ` Russell King - ARM Linux
2013-06-23  8:41           ` Willy Tarreau
2013-06-23 23:00           ` Ezequiel Garcia
2013-06-22  1:29 ` [PATCH v7] ARM: PJ4B: fix for 3.10-rc Nicolas Pitre
2013-06-23  8:20 ` Thomas Petazzoni
2013-06-23  8:27   ` Russell King - ARM Linux
2013-06-23 10:09     ` Gregory CLEMENT

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=20130621173937.GG7406@1wt.eu \
    --to=w@1wt.eu \
    --cc=linux-arm-kernel@lists.infradead.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).