linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: vladimir.murzin@arm.com (Vladimir Murzin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/8] ARM: NOMMU: MPU updates
Date: Fri, 1 Sep 2017 15:17:24 +0100	[thread overview]
Message-ID: <7d309b1f-00d4-be6c-773c-94c7b0087abb@arm.com> (raw)
In-Reply-To: <7cd7cb6f-b4d5-ab71-12c3-e025c99efb90@st.com>

On 01/09/17 14:45, Alexandre Torgue wrote:
> Hi Vlad
> 
> On 07/21/2017 03:12 PM, Vladimir Murzin wrote:
>> Hi,
>>
>> This is an update of the existent MPU code which consist set of
>> clean-ups and enhancements. The most significant changes are in the
>> way how MPU settings sync-up for secondaries (PATCH 3/8), more
>> flexible layout for memory (PATCH 7/8) and support for XIP (PATCH
>> 8/8). Since there is no in-tree user of MPU, support for M-class has
>> been added (PATCH 6/8).
>>
>> There is also practical benefit of patch set:
>>
>> "These MPU patches introduce a nice feature that it simplifies the
>> bootloader: do not need to setup the MPU, for example for coherent DMA
>> region, which is described in device-tree too." Andr?s Szemz?
>>
>> Changelog:
>>             v1 -> v2
>>                - support for XIP (PATCH 7/8)
>>           - rebased on 4.13-rc1
>>
>>          RFC v2 -> v1
>>                 - dropped RFC tag
>>            - Tested-by from Andr?s
>>            - rebased on 4.12-rc5
>>
>>             RFC -> RFC v2
>>            - fixed MPU enable for v7m (PATCH 6/7)
>>
>> Thanks!
>>
>> Vladimir Murzin (8):
>>    ARM: NOMMU: Move out MPU setup in separate module
>>    ARM: NOMMU: Update MPU accessors to use cp15 helpers
>>    ARM: NOMMU: Rework MPU to be mostly done in C
>>    ARM: NOMMU: Disallow MPU for XIP
>>    ARM: Kconfig: Kill CONFIG_VECTORS_BASE
>>    ARM: V7M: Add support for MPU to M-class
>>    ARM: NOMMU: Use more MPU regions to cover memory
>>    ARM: NOMMU: Support MPU in XIP configuration
>>
> 
> For no-XIP patches:
> 
> Tested-by: Alexandre TORGUE <alexandre.torgue@st.com>

Thanks!

> 
> I still have issue with XIP ones, then I continue to analysis ans let you know asap.

Russell, are you happy to take patches modulo XIP one? Alex and I are working
on XIP side and hope we can sort it out around rc1 time frame...

Cheers
Vladimir

> 
> Regards
> Alex
> 
> 
> 
>>   arch/arm/Kconfig                  |   9 -
>>   arch/arm/Kconfig-nommu            |  17 +-
>>   arch/arm/include/asm/cputype.h    |  10 +
>>   arch/arm/include/asm/mpu.h        |  24 +-
>>   arch/arm/include/asm/smp.h        |   2 +-
>>   arch/arm/include/asm/v7m.h        |  10 +
>>   arch/arm/kernel/asm-offsets.c     |  11 +
>>   arch/arm/kernel/head-nommu.S      | 138 ++++++++---
>>   arch/arm/kernel/smp.c             |   2 +-
>>   arch/arm/kernel/vmlinux-xip.lds.S |   3 +
>>   arch/arm/mm/Makefile              |   1 +
>>   arch/arm/mm/nommu.c               | 254 +-------------------
>>   arch/arm/mm/pmsa-v7.c             | 471 ++++++++++++++++++++++++++++++++++++++
>>   13 files changed, 651 insertions(+), 301 deletions(-)
>>   create mode 100644 arch/arm/mm/pmsa-v7.c
>>
> 

      reply	other threads:[~2017-09-01 14:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21 13:12 [PATCH v2 0/8] ARM: NOMMU: MPU updates Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 1/8] ARM: NOMMU: Move out MPU setup in separate module Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 2/8] ARM: NOMMU: Update MPU accessors to use cp15 helpers Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 3/8] ARM: NOMMU: Rework MPU to be mostly done in C Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 4/8] ARM: NOMMU: Disallow MPU for XIP Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 5/8] ARM: Kconfig: Kill CONFIG_VECTORS_BASE Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 6/8] ARM: V7M: Add support for MPU to M-class Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 7/8] ARM: NOMMU: Use more MPU regions to cover memory Vladimir Murzin
2017-07-21 13:12 ` [PATCH v2 8/8] ARM: NOMMU: Support MPU in XIP configuration Vladimir Murzin
2017-09-01 13:45 ` [PATCH v2 0/8] ARM: NOMMU: MPU updates Alexandre Torgue
2017-09-01 14:17   ` Vladimir Murzin [this message]

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=7d309b1f-00d4-be6c-773c-94c7b0087abb@arm.com \
    --to=vladimir.murzin@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).