2015-02-12 00:12:26

by Vince Bridgers

[permalink] [raw]
Subject: [PATCH] arm: socfpga: Correct SCU virtual mapping in socfpga

Correct SCU virtual mapping that was causing this BUG message:

"BUG: mapping for 0xfffec000 at 0xfffec000 out of vmalloc space"

Signed-off-by: Vince Bridgers <[email protected]>
---
arch/arm/mach-socfpga/core.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-socfpga/core.h b/arch/arm/mach-socfpga/core.h
index 483cb46..a0f3b1c 100644
--- a/arch/arm/mach-socfpga/core.h
+++ b/arch/arm/mach-socfpga/core.h
@@ -45,6 +45,6 @@ extern char secondary_trampoline, secondary_trampoline_end;

extern unsigned long socfpga_cpu1start_addr;

-#define SOCFPGA_SCU_VIRT_BASE 0xfffec000
+#define SOCFPGA_SCU_VIRT_BASE 0xfee00000

#endif
--
1.9.1


2015-02-19 17:22:38

by Dinh Nguyen

[permalink] [raw]
Subject: Re: [PATCH] arm: socfpga: Correct SCU virtual mapping in socfpga

On Wed, 11 Feb 2015, Vince Bridgers wrote:

> Correct SCU virtual mapping that was causing this BUG message:
>
> "BUG: mapping for 0xfffec000 at 0xfffec000 out of vmalloc space"
>
> Signed-off-by: Vince Bridgers <[email protected]>
> ---
> arch/arm/mach-socfpga/core.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-socfpga/core.h b/arch/arm/mach-socfpga/core.h
> index 483cb46..a0f3b1c 100644
> --- a/arch/arm/mach-socfpga/core.h
> +++ b/arch/arm/mach-socfpga/core.h
> @@ -45,6 +45,6 @@ extern char secondary_trampoline, secondary_trampoline_end;
>
> extern unsigned long socfpga_cpu1start_addr;
>
> -#define SOCFPGA_SCU_VIRT_BASE 0xfffec000
> +#define SOCFPGA_SCU_VIRT_BASE 0xfee00000
>
> #endif

Applied to fixes.

BR,
Dinh