All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
@ 2016-01-21  2:41 Simon Horman
  2016-01-21  2:41   ` Simon Horman
  2016-01-22 16:30 ` [GIT PULL] Renesas ARM Based SoC Fixes for v4.5 Olof Johansson
  0 siblings, 2 replies; 10+ messages in thread
From: Simon Horman @ 2016-01-21  2:41 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC fixes for v4.5.

This corrects the extal1 frequency on the armadillo800eva board.
This problem seems to have been around for a while and I would
like it considered for stable.


The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec:

  Linux 4.4-rc1 (2015-11-15 17:00:27 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-fixes-for-v4.5

for you to fetch changes up to c61f30a255550bbfc6b83c1ca720661489cac4c0:

  ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz (2016-01-18 11:17:49 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC Fixes for v4.5

Correct extal1 frequency of armadillo800eva board

----------------------------------------------------------------
Geert Uytterhoeven (1):
      ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz

 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

* [PATCH] ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
  2016-01-21  2:41 [GIT PULL] Renesas ARM Based SoC Fixes for v4.5 Simon Horman
@ 2016-01-21  2:41   ` Simon Horman
  2016-01-22 16:30 ` [GIT PULL] Renesas ARM Based SoC Fixes for v4.5 Olof Johansson
  1 sibling, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-01-21  2:41 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: linux-arm-kernel, Magnus Damm, Geert Uytterhoeven, Simon Horman

From: Geert Uytterhoeven <geert+renesas@glider.be>

On r8a7740/armadillo, actual clock rates are ca. 4% lower than reported
by /sys/kernel/debug/clk/clk_summary. Correct the extal1 frequency from
25 MHz to 24 MHz to fix this.

This matches the Armadillo-800 EVA Product Manual, which claims the main
crystal runs at 24 MHz, and the old legacy/reference board code.

Fixes: 25aa7ba3fdfb ("ARM: shmobile: armadillo800eva: Sync DTS")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
index 105d9c95de4a..5c76dcc89df5 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -180,7 +180,7 @@
 };
 
 &extal1_clk {
-	clock-frequency = <25000000>;
+	clock-frequency = <24000000>;
 };
 &extal2_clk {
 	clock-frequency = <48000000>;
-- 
2.1.4

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

* [PATCH] ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
@ 2016-01-21  2:41   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-01-21  2:41 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

On r8a7740/armadillo, actual clock rates are ca. 4% lower than reported
by /sys/kernel/debug/clk/clk_summary. Correct the extal1 frequency from
25 MHz to 24 MHz to fix this.

This matches the Armadillo-800 EVA Product Manual, which claims the main
crystal runs at 24 MHz, and the old legacy/reference board code.

Fixes: 25aa7ba3fdfb ("ARM: shmobile: armadillo800eva: Sync DTS")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
index 105d9c95de4a..5c76dcc89df5 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -180,7 +180,7 @@
 };
 
 &extal1_clk {
-	clock-frequency = <25000000>;
+	clock-frequency = <24000000>;
 };
 &extal2_clk {
 	clock-frequency = <48000000>;
-- 
2.1.4

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

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
  2016-01-21  2:41 [GIT PULL] Renesas ARM Based SoC Fixes for v4.5 Simon Horman
  2016-01-21  2:41   ` Simon Horman
@ 2016-01-22 16:30 ` Olof Johansson
  2016-01-24 23:45   ` Simon Horman
  1 sibling, 1 reply; 10+ messages in thread
From: Olof Johansson @ 2016-01-22 16:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jan 20, 2016 at 6:41 PM, Simon Horman
<horms+renesas@verge.net.au> wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
>
> Please consider these Renesas ARM based SoC fixes for v4.5.
>
> This corrects the extal1 frequency on the armadillo800eva board.
> This problem seems to have been around for a while and I would
> like it considered for stable.


If you want it for stable you should cc stable in the
signed-off-series, or send it separately to Greg. We usually don't
filter out on our own due to volume.

Merged the branch. Thanks!


-Olof

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

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
  2016-01-22 16:30 ` [GIT PULL] Renesas ARM Based SoC Fixes for v4.5 Olof Johansson
@ 2016-01-24 23:45   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-01-24 23:45 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 22, 2016 at 08:30:48AM -0800, Olof Johansson wrote:
> On Wed, Jan 20, 2016 at 6:41 PM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > Hi Olof, Hi Kevin, Hi Arnd,
> >
> > Please consider these Renesas ARM based SoC fixes for v4.5.
> >
> > This corrects the extal1 frequency on the armadillo800eva board.
> > This problem seems to have been around for a while and I would
> > like it considered for stable.
> 
> 
> If you want it for stable you should cc stable in the
> signed-off-series, or send it separately to Greg. We usually don't
> filter out on our own due to volume.

Thanks, got it.

> Merged the branch. Thanks!

Great, thanks.

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

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
  2016-02-24 16:48     ` Olof Johansson
@ 2016-02-24 23:59       ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2016-02-24 23:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Feb 24, 2016 at 08:48:08AM -0800, Olof Johansson wrote:
> On Wed, Feb 24, 2016 at 12:37 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> > Hi Olof,
> >
> > On Wed, Feb 24, 2016 at 9:08 AM, Olof Johansson <olof@lixom.net> wrote:
> >> On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote:
> >>> Please consider these Renesas ARM based SoC fixes for v4.5.
> >>>
> >>> This pull request is comprised of patches from Geert Uytterhoeven to avoid
> >>> writing to .text.
> >>>
> >>> * "ARM: shmobile: Move shmobile_scu_base from .text to .bss"
> >>>
> >>>   Resolves a problem for XIP kernels as writing to .text is not allowed.
> >>>   For non-XIP kernels a problem does not manifst as the pages are mapped
> >>>   read-only during late kernel startup.
> >>>
> >>> * The remaining patches resolve a kernel-crash that occurs during system
> >>>   suspend for CONFIG_DEBUG_RODATA=y kernels.
> >>>
> >>>
> >>> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
> >>>
> >>>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
> >>>
> >>> are available in the git repository at:
> >>>
> >>>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-fixes-for-v4.5
> >>>
> >>> for you to fetch changes up to 901c5ffaaed117a38be9d0c29247c4888d6c8636:
> >>>
> >>>   ARM: shmobile: Remove shmobile_boot_arg (2016-02-17 18:27:21 +0900)
> >>
> >> Hi Simon, Geert,
> >>
> >> I don't think any of these fixes are for regressions, are they? I.e. this is
> >> work to enable configs that never used to work (XIP, CONFIG_DEBUG_RODATA)?
> >
> > These configs indeed never worked before.
> >
> > However,
> >
> > commit 25362dc496edaf17f714c0fecd8b3eb79670207b
> > Author: Kees Cook <keescook@chromium.org>
> > Date:   Tue Jan 26 01:19:36 2016 +0100
> >
> >     ARM: 8501/1: mm: flip priority of CONFIG_DEBUG_RODATA
> >
> > in arm/for-next will enable CONFIG_DEBUG_RODATA by default.
> >
> > Not having the fixes in v4.5 means that if Russell's tree is merged
> > into mainline
> > for v4.6 before arm-soc, it will cause regressions and bisection issues.
> 
> Ok, either way there'll be windows in which bisect will fail since the
> changes are on independent branches.
> 
> Based on that, and looking at the patches, I'll pick it up now for fixes.

Thanks Olof, much appreciated.

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

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
  2016-02-24  8:37   ` Geert Uytterhoeven
@ 2016-02-24 16:48     ` Olof Johansson
  2016-02-24 23:59       ` Simon Horman
  0 siblings, 1 reply; 10+ messages in thread
From: Olof Johansson @ 2016-02-24 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Feb 24, 2016 at 12:37 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> Hi Olof,
>
> On Wed, Feb 24, 2016 at 9:08 AM, Olof Johansson <olof@lixom.net> wrote:
>> On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote:
>>> Please consider these Renesas ARM based SoC fixes for v4.5.
>>>
>>> This pull request is comprised of patches from Geert Uytterhoeven to avoid
>>> writing to .text.
>>>
>>> * "ARM: shmobile: Move shmobile_scu_base from .text to .bss"
>>>
>>>   Resolves a problem for XIP kernels as writing to .text is not allowed.
>>>   For non-XIP kernels a problem does not manifst as the pages are mapped
>>>   read-only during late kernel startup.
>>>
>>> * The remaining patches resolve a kernel-crash that occurs during system
>>>   suspend for CONFIG_DEBUG_RODATA=y kernels.
>>>
>>>
>>> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
>>>
>>>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
>>>
>>> are available in the git repository at:
>>>
>>>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-fixes-for-v4.5
>>>
>>> for you to fetch changes up to 901c5ffaaed117a38be9d0c29247c4888d6c8636:
>>>
>>>   ARM: shmobile: Remove shmobile_boot_arg (2016-02-17 18:27:21 +0900)
>>
>> Hi Simon, Geert,
>>
>> I don't think any of these fixes are for regressions, are they? I.e. this is
>> work to enable configs that never used to work (XIP, CONFIG_DEBUG_RODATA)?
>
> These configs indeed never worked before.
>
> However,
>
> commit 25362dc496edaf17f714c0fecd8b3eb79670207b
> Author: Kees Cook <keescook@chromium.org>
> Date:   Tue Jan 26 01:19:36 2016 +0100
>
>     ARM: 8501/1: mm: flip priority of CONFIG_DEBUG_RODATA
>
> in arm/for-next will enable CONFIG_DEBUG_RODATA by default.
>
> Not having the fixes in v4.5 means that if Russell's tree is merged
> into mainline
> for v4.6 before arm-soc, it will cause regressions and bisection issues.

Ok, either way there'll be windows in which bisect will fail since the
changes are on independent branches.

Based on that, and looking at the patches, I'll pick it up now for fixes.


-Olof

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

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
  2016-02-24  8:08 ` Olof Johansson
@ 2016-02-24  8:37   ` Geert Uytterhoeven
  2016-02-24 16:48     ` Olof Johansson
  0 siblings, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2016-02-24  8:37 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof,

On Wed, Feb 24, 2016 at 9:08 AM, Olof Johansson <olof@lixom.net> wrote:
> On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote:
>> Please consider these Renesas ARM based SoC fixes for v4.5.
>>
>> This pull request is comprised of patches from Geert Uytterhoeven to avoid
>> writing to .text.
>>
>> * "ARM: shmobile: Move shmobile_scu_base from .text to .bss"
>>
>>   Resolves a problem for XIP kernels as writing to .text is not allowed.
>>   For non-XIP kernels a problem does not manifst as the pages are mapped
>>   read-only during late kernel startup.
>>
>> * The remaining patches resolve a kernel-crash that occurs during system
>>   suspend for CONFIG_DEBUG_RODATA=y kernels.
>>
>>
>> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
>>
>>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
>>
>> are available in the git repository at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-fixes-for-v4.5
>>
>> for you to fetch changes up to 901c5ffaaed117a38be9d0c29247c4888d6c8636:
>>
>>   ARM: shmobile: Remove shmobile_boot_arg (2016-02-17 18:27:21 +0900)
>
> Hi Simon, Geert,
>
> I don't think any of these fixes are for regressions, are they? I.e. this is
> work to enable configs that never used to work (XIP, CONFIG_DEBUG_RODATA)?

These configs indeed never worked before.

However,

commit 25362dc496edaf17f714c0fecd8b3eb79670207b
Author: Kees Cook <keescook@chromium.org>
Date:   Tue Jan 26 01:19:36 2016 +0100

    ARM: 8501/1: mm: flip priority of CONFIG_DEBUG_RODATA

in arm/for-next will enable CONFIG_DEBUG_RODATA by default.

Not having the fixes in v4.5 means that if Russell's tree is merged
into mainline
for v4.6 before arm-soc, it will cause regressions and bisection issues.

Thanks!

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
  2016-02-19  6:09 Simon Horman
@ 2016-02-24  8:08 ` Olof Johansson
  2016-02-24  8:37   ` Geert Uytterhoeven
  0 siblings, 1 reply; 10+ messages in thread
From: Olof Johansson @ 2016-02-24  8:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> 
> Please consider these Renesas ARM based SoC fixes for v4.5.
> 
> This pull request is comprised of patches from Geert Uytterhoeven to avoid
> writing to .text.
> 
> * "ARM: shmobile: Move shmobile_scu_base from .text to .bss"
> 
>   Resolves a problem for XIP kernels as writing to .text is not allowed.
>   For non-XIP kernels a problem does not manifst as the pages are mapped
>   read-only during late kernel startup.
> 
> * The remaining patches resolve a kernel-crash that occurs during system
>   suspend for CONFIG_DEBUG_RODATA=y kernels.
> 
> 
> The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
> 
>   Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-fixes-for-v4.5
> 
> for you to fetch changes up to 901c5ffaaed117a38be9d0c29247c4888d6c8636:
> 
>   ARM: shmobile: Remove shmobile_boot_arg (2016-02-17 18:27:21 +0900)

Hi Simon, Geert,

I don't think any of these fixes are for regressions, are they? I.e. this is
work to enable configs that never used to work (XIP, CONFIG_DEBUG_RODATA)?


-Olof

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

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.5
@ 2016-02-19  6:09 Simon Horman
  2016-02-24  8:08 ` Olof Johansson
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Horman @ 2016-02-19  6:09 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC fixes for v4.5.

This pull request is comprised of patches from Geert Uytterhoeven to avoid
writing to .text.

* "ARM: shmobile: Move shmobile_scu_base from .text to .bss"

  Resolves a problem for XIP kernels as writing to .text is not allowed.
  For non-XIP kernels a problem does not manifst as the pages are mapped
  read-only during late kernel startup.

* The remaining patches resolve a kernel-crash that occurs during system
  suspend for CONFIG_DEBUG_RODATA=y kernels.


The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:

  Linux 4.5-rc1 (2016-01-24 13:06:47 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc-fixes-for-v4.5

for you to fetch changes up to 901c5ffaaed117a38be9d0c29247c4888d6c8636:

  ARM: shmobile: Remove shmobile_boot_arg (2016-02-17 18:27:21 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC Fixes for v4.5

* Avoid writing to .text

----------------------------------------------------------------
Geert Uytterhoeven (4):
      ARM: shmobile: Move shmobile_scu_base from .text to .bss
      ARM: shmobile: r8a7779: Remove remainings of removed SCU boot setup code
      ARM: shmobile: Move shmobile_smp_{mpidr, fn, arg}[] from .text to .bss
      ARM: shmobile: Remove shmobile_boot_arg

 arch/arm/mach-shmobile/common.h       |  1 -
 arch/arm/mach-shmobile/headsmp-scu.S  |  6 ------
 arch/arm/mach-shmobile/headsmp.S      | 28 ++++++++++++++++------------
 arch/arm/mach-shmobile/platsmp-apmu.c |  1 -
 arch/arm/mach-shmobile/platsmp-scu.c  |  4 +++-
 arch/arm/mach-shmobile/smp-r8a7779.c  |  2 --
 6 files changed, 19 insertions(+), 23 deletions(-)

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

end of thread, other threads:[~2016-02-24 23:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-21  2:41 [GIT PULL] Renesas ARM Based SoC Fixes for v4.5 Simon Horman
2016-01-21  2:41 ` [PATCH] ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz Simon Horman
2016-01-21  2:41   ` Simon Horman
2016-01-22 16:30 ` [GIT PULL] Renesas ARM Based SoC Fixes for v4.5 Olof Johansson
2016-01-24 23:45   ` Simon Horman
2016-02-19  6:09 Simon Horman
2016-02-24  8:08 ` Olof Johansson
2016-02-24  8:37   ` Geert Uytterhoeven
2016-02-24 16:48     ` Olof Johansson
2016-02-24 23:59       ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.