linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: shmobile: r8a7790: smp: remap whole apmu region
@ 2015-02-03 14:57 Wolfram Sang
  2015-02-11  0:33 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2015-02-03 14:57 UTC (permalink / raw)
  To: linux-sh

From: Wolfram Sang <wsa+renesas@sang-engineering.com>

Documentation says the last register is at 0x184 (CAxCPUCMCR), so use
proper length. Current APMU code accesses CAxCPUnCR which is currently
outside of the remapped area.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm/mach-shmobile/smp-r8a7790.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-shmobile/smp-r8a7790.c b/arch/arm/mach-shmobile/smp-r8a7790.c
index 9c3da1345b8b..a5bef873d37e 100644
--- a/arch/arm/mach-shmobile/smp-r8a7790.c
+++ b/arch/arm/mach-shmobile/smp-r8a7790.c
@@ -37,11 +37,11 @@ static struct rcar_sysc_ch r8a7790_ca7_scu = {
 
 static struct rcar_apmu_config r8a7790_apmu_config[] = {
 	{
-		.iomem = DEFINE_RES_MEM(0xe6152000, 0x88),
+		.iomem = DEFINE_RES_MEM(0xe6152000, 0x188),
 		.cpus = { 0, 1, 2, 3 },
 	},
 	{
-		.iomem = DEFINE_RES_MEM(0xe6151000, 0x88),
+		.iomem = DEFINE_RES_MEM(0xe6151000, 0x188),
 		.cpus = { 0x100, 0x0101, 0x102, 0x103 },
 	}
 };
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] ARM: shmobile: r8a7790: smp: remap whole apmu region
  2015-02-03 14:57 [PATCH 1/2] ARM: shmobile: r8a7790: smp: remap whole apmu region Wolfram Sang
@ 2015-02-11  0:33 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2015-02-11  0:33 UTC (permalink / raw)
  To: linux-sh

On Tue, Feb 03, 2015 at 03:57:41PM +0100, Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> 
> Documentation says the last register is at 0x184 (CAxCPUCMCR), so use
> proper length. Current APMU code accesses CAxCPUnCR which is currently
> outside of the remapped area.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks, and sorry for letting this slip.
I have queued up this and the subsequent patch for v3.21.


> ---
>  arch/arm/mach-shmobile/smp-r8a7790.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-shmobile/smp-r8a7790.c b/arch/arm/mach-shmobile/smp-r8a7790.c
> index 9c3da1345b8b..a5bef873d37e 100644
> --- a/arch/arm/mach-shmobile/smp-r8a7790.c
> +++ b/arch/arm/mach-shmobile/smp-r8a7790.c
> @@ -37,11 +37,11 @@ static struct rcar_sysc_ch r8a7790_ca7_scu = {
>  
>  static struct rcar_apmu_config r8a7790_apmu_config[] = {
>  	{
> -		.iomem = DEFINE_RES_MEM(0xe6152000, 0x88),
> +		.iomem = DEFINE_RES_MEM(0xe6152000, 0x188),
>  		.cpus = { 0, 1, 2, 3 },
>  	},
>  	{
> -		.iomem = DEFINE_RES_MEM(0xe6151000, 0x88),
> +		.iomem = DEFINE_RES_MEM(0xe6151000, 0x188),
>  		.cpus = { 0x100, 0x0101, 0x102, 0x103 },
>  	}
>  };
> -- 
> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-11  0:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03 14:57 [PATCH 1/2] ARM: shmobile: r8a7790: smp: remap whole apmu region Wolfram Sang
2015-02-11  0:33 ` Simon Horman

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).