linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Murzin <vladimir.murzin@arm.com>
To: afzal mohammed <afzal.mohd.ma@gmail.com>,
	Russell King - ARM Linux <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/4] ARM: v7-A !MMU support, prepare CONFIG_VECTORS_BASE removal
Date: Wed, 25 Jan 2017 11:24:05 +0000	[thread overview]
Message-ID: <e2f26415-61ef-7b2c-6ca5-cf06182e9cfd@arm.com> (raw)
In-Reply-To: <20170122031652.13074-1-afzal.mohd.ma@gmail.com>

On 22/01/17 03:16, afzal mohammed wrote:
> Hi,
> 
> ARM core changes to support !MMU Kernel on v7-A MMU processors. This
> series also does the preparation for CONFIG_VECTORS_BASE removal.
> 
> Based on the feedback from Russell, it was decided to handle vector
> base dynamically in C for no-MMU & work towards the the goal of
> removing VECTORS_BASE from Kconfig. MMU platform's always have
> exception base address at 0xffff0000, hence a macro was defined and
> it was decoupled from Kconfig. No-MMU CP15 scenario is handled
> dynamically in C. Once vector region setup, used by Cortex-R, is
> made devoid of VECTORS_BASE, it can be removed from Kconfig.
> 
> This series has been verified over current mainline plus [2] on
> Vybrid Cosmic+, Cortex-M4 - !MMU Kernel and Cortex-A5 - MMU Kernel.
> 
> This series also has been verified over Vladimir's series plus [2] on
> 1. Vybrid Cosmic+
>  a. Cortex-M4 !MMU Kernel
>  b. Cortex-A5 MMU Kernel
>  c. Cortex-A5 !MMU Kernel
> 2. AM437x IDK
>  a. Cortex-A9 MMU Kernel
>  b. Cortex-A9 !MMU Kernel
> 
> Regards
> afzal
> 

It did not break my R-class setup and M-class MPS2 works too, so FWIW:

Tested-by: Vladimir Murzin <vladimir.murzin@arm.com>

Cheers
Vladimir

> 
> v2:
> => Fix bisectability issue on !MMU builds
> => UL suffix on VECTORS_BASE definition
> => Use existing helpers to detect security extensions
> => Rewrite a CPP step to C for readability
> 
> [1] "[RFC v2 PATCH 00/23] Allow NOMMU for MULTIPLATFORM",
>     http://lists.infradead.org/pipermail/linux-arm-kernel/2016-November/470966.html
>     (git://linux-arm.org/linux-vm.git nommu-rfc-v2)
> 
> [2] "[PATCH 1/2] ARM: nommu: allow enabling REMAP_VECTORS_TO_RAM"
>     http://lists.infradead.org/pipermail/linux-arm-kernel/2016-December/473593.html
>     (in -next)
> 
> afzal mohammed (4):
>   ARM: mmu: decouple VECTORS_BASE from Kconfig
>   ARM: nommu: dynamic exception base address setting
>   ARM: nommu: display vectors base
>   ARM: nommu: remove Hivecs configuration is asm
> 
>  arch/arm/include/asm/memory.h  |  2 ++
>  arch/arm/kernel/head-nommu.S   |  5 ----
>  arch/arm/mach-berlin/platsmp.c |  3 ++-
>  arch/arm/mm/dump.c             |  5 ++--
>  arch/arm/mm/init.c             |  9 ++++++--
>  arch/arm/mm/mm.h               |  5 ++--
>  arch/arm/mm/nommu.c            | 52 ++++++++++++++++++++++++++++++++++++++++--
>  7 files changed, 67 insertions(+), 14 deletions(-)
> 

      parent reply	other threads:[~2017-01-25 11:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-22  3:16 [PATCH v2 0/4] ARM: v7-A !MMU support, prepare CONFIG_VECTORS_BASE removal afzal mohammed
2017-01-22  3:19 ` [PATCH v2 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig afzal mohammed
2017-01-22  3:20 ` [PATCH v2 2/4] ARM: nommu: dynamic exception base address setting afzal mohammed
2017-01-22  3:22 ` [PATCH v2 3/4] ARM: nommu: display vectors base afzal mohammed
2017-01-30 14:03   ` Russell King - ARM Linux
2017-01-30 21:39     ` Afzal Mohammed
2017-01-22  3:22 ` [PATCH v2 4/4] ARM: nommu: remove Hivecs configuration is asm afzal mohammed
2017-01-25 11:24 ` 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=e2f26415-61ef-7b2c-6ca5-cf06182e9cfd@arm.com \
    --to=vladimir.murzin@arm.com \
    --cc=afzal.mohd.ma@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    /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).