From patchwork Tue Apr 26 08:17:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Murzin X-Patchwork-Id: 8936041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7066C9F39D for ; Tue, 26 Apr 2016 08:19:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9ACA820115 for ; Tue, 26 Apr 2016 08:19:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C6DEB20114 for ; Tue, 26 Apr 2016 08:19:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1auyBo-00046x-PE; Tue, 26 Apr 2016 08:17:48 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1auyBm-0003yI-1r for linux-arm-kernel@lists.infradead.org; Tue, 26 Apr 2016 08:17:46 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 013663A; Tue, 26 Apr 2016 01:16:05 -0700 (PDT) Received: from [10.1.87.55] (e103136-lin.cambridge.arm.com [10.1.87.55]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 45AD53F487; Tue, 26 Apr 2016 01:17:23 -0700 (PDT) Subject: Re: [PATCH 0/3] ARM: nommu: R-class fixes To: Arnd Bergmann , linux-arm-kernel@lists.infradead.org References: <1461325416-29570-1-git-send-email-vladimir.murzin@arm.com> <20160423065431.GA5840@afzalpc> <571DCD8D.8070605@arm.com> <55296515.n2D97kIgVc@wuerfel> From: Vladimir Murzin Message-ID: <571F240A.9030404@arm.com> Date: Tue, 26 Apr 2016 09:17:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <55296515.n2D97kIgVc@wuerfel> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160426_011746_124989_640F21D0 X-CRM114-Status: GOOD ( 14.75 ) X-Spam-Score: -7.9 (-------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jean-philippe.brucker@arm.com, linux@arm.linux.org.uk, Afzal Mohammed Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 25/04/16 13:59, Arnd Bergmann wrote: > On Monday 25 April 2016 08:55:57 Vladimir Murzin wrote: >> On 23/04/16 07:54, Afzal Mohammed wrote: >>> Hi, >>> >>> On Fri, Apr 22, 2016 at 12:43:33PM +0100, Vladimir Murzin wrote: >>> >>>> Small set of fixes discovered with R-class cores. >>> >>> just curious, is Cortex-R supported on mainline ?, thought it was not >>> supported, but subject & changelogs gave such a feeling. >> >> Hi, >> >> I believe it is supported since c90ad5c "ARM: add Cortex-R7 Processor >> Info" although overtime it got blocked (at least for Vexpress) with >> Kconfig changes. There was attempt [1] to sort it out, but looks like >> these patches went nowhere, so I'm trying to re-start with the fixes >> coming first. >> >> [1] >> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/174256.html > > Good to know, thanks for working on this! Since you are in a thread, just want to confirm if the following is still the right (only?) way how we want to support R-class? -----8<------- ----->8-------- I have separate Kconfig entry to represent R-class Vexpress platform locally, but I guess it is noway, right? ;) > > What hardware platform do you use? It would be nice to make it a little > more explicit which platforms can use the ARMv7-R, or an ARMv7-A with > the MMU disabled. Currently I'm dealing mostly with ARMv7-R FVP models which represents Vexpress with R-class tile (it is why this mini series have MPU patches). I've never tried ARMv7-A with the MMU disabled and I'm quite in doubt if it is feasible. Cheers Vladimir > > Arnd > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a7f066e..ead2b25 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -289,8 +289,7 @@ choice config ARCH_MULTIPLATFORM bool "Allow multiple platforms to be selected" - depends on MMU - select ARM_PATCH_PHYS_VIRT + select ARM_PATCH_PHYS_VIRT if MMU select AUTO_ZRELADDR select COMMON_CLK select MULTI_IRQ_HANDLER