[PATCH u-boot] Revert "ast-g5: deactivate vbar (for qemu)"

Andrew Jeffery andrew at aj.id.au
Wed Oct 11 16:38:38 AEDT 2017


On Tue, 2017-10-10 at 14:27 +0200, Cédric Le Goater wrote:
> This reverts commit a0ca4ecbeae4ae9632ebc67bf5318dd2ea09c94f.
> 
> Support was added to QEMU in :
> 
> commit 91db4642f868 ("target-arm: Add VBAR support to ARM1176 CPUs")
> 
> The work around happens to crash the guest when the vector relocation
> is done, with ignore_memory_transaction_failures=false which is
> now the default in QEMU.

You need a Signed-off-by here. Can you reply with one? Hopefully patchwork will
pick it up.

Cheers,

Andrew

> ---
>  arch/arm/lib/relocate.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S
> index 33bcff41ac30..475d503dd9df 100644
> --- a/arch/arm/lib/relocate.S
> +++ b/arch/arm/lib/relocate.S
> @@ -35,7 +35,7 @@ ENTRY(relocate_vectors)
>  	ldr	r1, =V7M_SCB_BASE
>  	str	r0, [r1, V7M_SCB_VTOR]
>  #else
> -#if defined(CONFIG_HAS_VBAR) && !defined(CONFIG_ARCH_AST2500)
> +#ifdef CONFIG_HAS_VBAR
>  	/*
>  	 * If the ARM processor has the security extensions,
>  	 * use VBAR to relocate the exception vectors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20171011/f9d9666d/attachment-0001.sig>


More information about the openbmc mailing list