From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752116AbdAYLYT (ORCPT ); Wed, 25 Jan 2017 06:24:19 -0500 Received: from foss.arm.com ([217.140.101.70]:33950 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751994AbdAYLYS (ORCPT ); Wed, 25 Jan 2017 06:24:18 -0500 Subject: Re: [PATCH v2 0/4] ARM: v7-A !MMU support, prepare CONFIG_VECTORS_BASE removal To: afzal mohammed , Russell King - ARM Linux References: <20170122031652.13074-1-afzal.mohd.ma@gmail.com> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org From: Vladimir Murzin Message-ID: Date: Wed, 25 Jan 2017 11:24:05 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170122031652.13074-1-afzal.mohd.ma@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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(-) >