mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v1 1/2] arm: arria10: enable errata 794072 and 845369
Date: Mon, 2 Jul 2018 06:07:08 +0200	[thread overview]
Message-ID: <20180702040708.dl2zbhpyddynsvdy@pengutronix.de> (raw)
In-Reply-To: <20180629115502.1313-1-o.rempel@pengutronix.de>

On Fri, Jun 29, 2018 at 01:55:01PM +0200, Oleksij Rempel wrote:
> This SoC is affected by this two any many other erratas.
> So enable at least supported cases.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>

Rephrased the commit message and applied, thanks

Sascha

> ---
>  arch/arm/mach-socfpga/arria10-init.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/mach-socfpga/arria10-init.c b/arch/arm/mach-socfpga/arria10-init.c
> index 07256da1db..f016b84bb7 100644
> --- a/arch/arm/mach-socfpga/arria10-init.c
> +++ b/arch/arm/mach-socfpga/arria10-init.c
> @@ -14,6 +14,7 @@
>  #include <mach/generic.h>
>  #include <asm/io.h>
>  #include <asm/cache-l2x0.h>
> +#include <asm/errata.h>
>  #include <asm/system.h>
>  
>  #define L310_AUX_CTRL_EARLY_BRESP		BIT(30)	/* R2P0+ */
> @@ -70,6 +71,9 @@ static void arria10_initialize_security_policies(void)
>  	/* BootROM leaves the L2X0 in a weird state. Always disable L2X0 for now. */
>  	l2c310_disable(l2x0_base);
>  
> +	enable_arm_errata_794072_war();
> +	enable_arm_errata_845369_war();
> +
>  	/* Put OCRAM in non-secure */
>  	writel(0x003f0000, ARRIA10_NOC_FW_OCRAM_OCRAM_SCR_REGION0);
>  	writel(0x1, ARRIA10_NOC_FW_OCRAM_OCRAM_SCR_EN);
> -- 
> 2.17.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2018-07-02  4:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 11:55 Oleksij Rempel
2018-06-29 11:55 ` [PATCH v1 2/2] net: designware: make sure DMA is disabled on kernel start Oleksij Rempel
2018-07-02  4:07 ` Sascha Hauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-06-29 11:17 [PATCH v1 1/2] arm: arria10: enable errata 794072 and 845369 Oleksij Rempel

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=20180702040708.dl2zbhpyddynsvdy@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=o.rempel@pengutronix.de \
    /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