Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-21 Thread Arnd Bergmann
On Thu, Dec 21, 2017 at 5:39 PM, Ludovic BARRE wrote: >>> >> Currently "restart" is not functional on stm32 MCU (at least for >> stm32f746, I will check on others MCU). My fear is if Ludovic made some >> patches to make "armv7m_restart" the default ".restart" function for

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-21 Thread Arnd Bergmann
On Thu, Dec 21, 2017 at 5:39 PM, Ludovic BARRE wrote: >>> >> Currently "restart" is not functional on stm32 MCU (at least for >> stm32f746, I will check on others MCU). My fear is if Ludovic made some >> patches to make "armv7m_restart" the default ".restart" function for all >> armv7-m

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-21 Thread Ludovic BARRE
hi Arnd just a ping, on Alex's proposal (below) about armv7m_restart (Currently "restart" is not functional on stm32 MCU). BR Ludo On 12/19/2017 03:38 PM, Alexandre Torgue wrote: On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-21 Thread Ludovic BARRE
hi Arnd just a ping, on Alex's proposal (below) about armv7m_restart (Currently "restart" is not functional on stm32 MCU). BR Ludo On 12/19/2017 03:38 PM, Alexandre Torgue wrote: On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From:

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Ludovic BARRE
On 12/19/2017 04:26 PM, Arnd Bergmann wrote: On Tue, Dec 19, 2017 at 3:43 PM, Ludovic BARRE wrote: On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From: Ludovic Barre

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Ludovic BARRE
On 12/19/2017 04:26 PM, Arnd Bergmann wrote: On Tue, Dec 19, 2017 at 3:43 PM, Ludovic BARRE wrote: On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From: Ludovic Barre This patch prepares the STM32 machine for the integration of

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Arnd Bergmann
On Tue, Dec 19, 2017 at 3:43 PM, Ludovic BARRE wrote: > > > On 12/18/2017 09:24 PM, Arnd Bergmann wrote: >> >> On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre >> wrote: >>> >>> From: Ludovic Barre >>> >>> This patch prepares the

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Arnd Bergmann
On Tue, Dec 19, 2017 at 3:43 PM, Ludovic BARRE wrote: > > > On 12/18/2017 09:24 PM, Arnd Bergmann wrote: >> >> On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre >> wrote: >>> >>> From: Ludovic Barre >>> >>> This patch prepares the STM32 machine for the integration of Cortex-A >>> based

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Ludovic BARRE
On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Ludovic BARRE
On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing Cortex-M microcontroller family (MCU). Since both

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Alexandre Torgue
On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-19 Thread Alexandre Torgue
On 12/18/2017 09:24 PM, Arnd Bergmann wrote: On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing Cortex-M microcontroller family (MCU). Since both

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-18 Thread Arnd Bergmann
On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: > From: Ludovic Barre > > This patch prepares the STM32 machine for the integration of Cortex-A > based microprocessor (MPU), on top of the existing Cortex-M > microcontroller family (MCU). Since

Re: [PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-18 Thread Arnd Bergmann
On Mon, Dec 18, 2017 at 4:17 PM, Ludovic Barre wrote: > From: Ludovic Barre > > This patch prepares the STM32 machine for the integration of Cortex-A > based microprocessor (MPU), on top of the existing Cortex-M > microcontroller family (MCU). Since both MCUs and MPUs are sharing > common

[PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing Cortex-M microcontroller family (MCU). Since both MCUs and MPUs are sharing common hardware blocks we can keep using ARCH_STM32 flag

[PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing Cortex-M microcontroller family (MCU). Since both MCUs and MPUs are sharing common hardware blocks we can keep using ARCH_STM32 flag for most of them. If a