devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Torgue <alexandre.torgue@st.com>
To: Vladimir Murzin <vladimir.murzin@arm.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	arnd@arndb.de, robh+dt@kernel.org, mark.rutland@arm.com,
	linux@armlinux.org.uk, patrice.chotard@st.com,
	lee.jones@linaro.org
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/3] ARM: configs: stm32: Enable ARM_MPU
Date: Tue, 27 Feb 2018 18:11:25 +0100	[thread overview]
Message-ID: <64b2e6b6-4d91-5dd7-be10-276f0b9d0ea3@st.com> (raw)
In-Reply-To: <5d8f2c2f-ca2e-632e-bac6-29299dda724e@arm.com>

Hi Vlad

On 12/13/2017 11:11 AM, Vladimir Murzin wrote:
> On 12/12/17 18:02, Alexandre Torgue wrote:
>> STM32 MCUs embed a Memory Protection Unit. Enabling this setting will
>> allow the Kernel to configure the MPU according to devicetree.
> 
> Would it be better to "select ARM_MPU" for machines with Cortex-M7?

Sorry for this late answer. You are right I will use a "select" only for 
stm32f7 and stm32h7 machines in mach-stm32/Kconfig.

Regards
Alex

> 
> Vladimir
> 
>>
>> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
>>
>> diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
>> index bb358ff..e642bdf9 100644
>> --- a/arch/arm/configs/stm32_defconfig
>> +++ b/arch/arm/configs/stm32_defconfig
>> @@ -24,6 +24,7 @@ CONFIG_SET_MEM_PARAM=y
>>   CONFIG_DRAM_BASE=0x90000000
>>   CONFIG_FLASH_MEM_BASE=0x08000000
>>   CONFIG_FLASH_SIZE=0x00200000
>> +CONFIG_ARM_MPU=y
>>   CONFIG_PREEMPT=y
>>   # CONFIG_ATAGS is not set
>>   CONFIG_ZBOOT_ROM_TEXT=0x0
>>
> 

  reply	other threads:[~2018-02-27 17:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 18:02 [PATCH 0/3] Enable DMA on STM32 MCU based on cortex-M7 Alexandre Torgue
     [not found] ` <1513101746-18030-1-git-send-email-alexandre.torgue-qxv4g6HH51o@public.gmane.org>
2017-12-12 18:02   ` [PATCH 1/3] ARM: dts: stm32: add DMA memory pool on MCU which embed a cortex-M7 Alexandre Torgue
     [not found]     ` <1513101746-18030-2-git-send-email-alexandre.torgue-qxv4g6HH51o@public.gmane.org>
2017-12-13 10:06       ` Vladimir Murzin
     [not found]         ` <ab9a2ef4-4944-c935-af6e-12503b477879-5wv7dgnIgG8@public.gmane.org>
2017-12-13 10:28           ` Alexandre TORGUE
2017-12-13 12:50         ` Alexandre TORGUE
2017-12-12 18:02   ` [PATCH 2/3] ARM: configs: stm32: Enable ARM_MPU Alexandre Torgue
     [not found]     ` <1513101746-18030-3-git-send-email-alexandre.torgue-qxv4g6HH51o@public.gmane.org>
2017-12-13 10:11       ` Vladimir Murzin
2018-02-27 17:11         ` Alexandre Torgue [this message]
2017-12-12 18:02   ` [PATCH 3/3] ARM: dts: stm32: enable dma on MCU which embed a cortex-M7 Alexandre Torgue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64b2e6b6-4d91-5dd7-be10-276f0b9d0ea3@st.com \
    --to=alexandre.torgue@st.com \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=patrice.chotard@st.com \
    --cc=robh+dt@kernel.org \
    --cc=vladimir.murzin@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).