Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752987AbdLKNkq (ORCPT ); Mon, 11 Dec 2017 08:40:46 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:35524 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752750AbdLKNko (ORCPT ); Mon, 11 Dec 2017 08:40:44 -0500 X-Google-Smtp-Source: ACJfBouyRzM8tgJizr4V3CFRWiunk94SwnPFzwicOE4WlGlv5IUBV0o16E2pjrf7/w7EaOuVNqNmvV19u8bMNZsrY+w= MIME-Version: 1.0 In-Reply-To: References: <1512742277-28205-1-git-send-email-ludovic.Barre@st.com> <1512742277-28205-2-git-send-email-ludovic.Barre@st.com> From: Arnd Bergmann Date: Mon, 11 Dec 2017 14:40:43 +0100 X-Google-Sender-Auth: TFbAeo4U6SRDabE9Pu9BHZU2JIk Message-ID: Subject: Re: [PATCH 1/6] ARM: stm32: prepare stm32 family to welcome armv7 architecture To: Linus Walleij Cc: Ludovic Barre , Russell King , Rob Herring , Maxime Coquelin , Alexandre Torgue , Linux ARM , "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1687 Lines: 40 On Mon, Dec 11, 2017 at 11:25 AM, Linus Walleij wrote: > On Fri, Dec 8, 2017 at 3:11 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 hardware blocks we can keep using ARCH_STM32 flag for most of >> them. If a hardware block is specific to one family we can use either >> ARCH_STM32_MCU or ARCH_STM32_MPU flag. >> >> Signed-off-by: Ludovic Barre To what degree do we need to treat them as separate families at all then? I wonder if the MCU/MPU distinction is always that clear along the Cortex-M/Cortex-A separation, especially if we ever get to a chip that has both types of cores. What exactly would we miss if we do away with the ARCH_STM32_MCU symbol here? > So yesterdays application processors are todays MCU processors. > > I said this on a lecture for control systems a while back and > stated it as a reason I think RTOSes are not really seeing a bright > future compared to Linux. > > It happened quicker than I thought though, interesting. I think there is still lots of room for smaller RTOS in the long run, but it's likely that the 'MPU + external DRAM' design point will shift further to Linux, as there isn't really a benefit in squeezing in anything smaller when the minimum is 32MB or 128MB of RAM, depending on the interface. For on-chip eDRAM or SRAM based MPUs, that doesn't hold true, the memory size is what drives the cost here. Arnd