Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp80684ybk; Thu, 14 May 2020 16:54:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzG8ZiPIfxUS6/8HwpPqkWzHUx5/mQ7sumTQG6z6wcFww1RKaduf2Iu4FkhSaEJgBkV/+2R X-Received: by 2002:a05:6402:12c1:: with SMTP id k1mr480218edx.159.1589500471521; Thu, 14 May 2020 16:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589500471; cv=none; d=google.com; s=arc-20160816; b=hrRm33UaPhoDYgO0V0Qg7UF0RUyoVrmI0sktAGb10tkrJrCAZIHtj2Tk9Yk58a0nwm Gi77KROW57Xm9LnmUzU4xhNCvRtsrjlUiiesEhDhhsDSnx8CjULQk1Vj/r4zGViZUN52 tiH4O8hBhwT6voGrH72GPN4xQ2kGF8XE/xtEljwpwDCR7ztXPT8GAaxlhBN90p84W2tL 5qgX4+YwcSNgRvora4E6uvUm6l8eTZ69kMUSyNnZTd/aufQWWkgEtYE3oKT8Up5mNF19 9A56fwRKfPNw/8SEihIkDJiPaI2SHv4NKXOdVyxS0AphW5c47OH4qS5leMQ6zye++rLd MiSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=w6BkmSCK+9PvyslXlTzZk3UIk7P2/MFM4deljPFam9A=; b=QNriFgcJuk5OW6qYYLwQGprjnHsALxbtf0HuHs6lv9rF+B9IMSz2xUNaa1CjGn/Dck yR4qEhOX++XF9LgIQGErzrcSASmMmnhnNCcJLLvZVHPw9rVk7iMc/I4aUIgpoV4CJyRF uwAFi37N9uspbwpIqjSAkRzTKUNvNzSAo/y/N0f9IqkcJ37MP+VLvte5S4rvNa4e1JhC QTsKOosNz3a1vEIi8IlY1PxMbyoEQFgphh0JrhqAEbJNsZ2X6pHc4LU69Sl/lBJvbPid kqxRfMux7EjNmBVmycSB8mYh1QSDtcGl/Wt6OOScuddotNapGhgimhW/yrTcHBqZWorp Lsjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=NB7CejOb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si155201eda.482.2020.05.14.16.53.53; Thu, 14 May 2020 16:54:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=NB7CejOb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728384AbgENXkX (ORCPT + 99 others); Thu, 14 May 2020 19:40:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbgENXkX (ORCPT ); Thu, 14 May 2020 19:40:23 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8460C061A0C for ; Thu, 14 May 2020 16:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=w6BkmSCK+9PvyslXlTzZk3UIk7P2/MFM4deljPFam9A=; b=NB7CejObDlLA77BJZUE81lycY MeDeTt5CYKPIKdhx9O50BLP04pUP9vAZJFhY/TWIj9EWXUt1odSpUbJPGCye+BD/5Ps/yfCG+LR6W 7sU725RS2Rw5rnS9SCCeA6LPtl6bJ0hl2FM9oxM+9ZB9GHrpNYtUFgvZax6TEVCZoRkEbJtW+BKhI mOKX7L8AqEQp3ULi3r3Japa6hJYqtoCsNaPCe5eew+wkv5h1eF1SL1TvHCP03k3CF7U5559kiHGjQ 1O1O7A/oUW98eQkLHRFGYZUUxyfoIDIehKaJDQthWBXknuJEgaEzj0W8MzD19UWwr1GpBhet4es3k wtnkXT9mA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:60542) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZNSZ-00026B-TD; Fri, 15 May 2020 00:40:16 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jZNSY-0000z1-21; Fri, 15 May 2020 00:40:14 +0100 Date: Fri, 15 May 2020 00:40:14 +0100 From: Russell King - ARM Linux admin To: Arnd Bergmann Cc: afzal mohammed , Linux ARM , "linux-kernel@vger.kernel.org" Subject: Re: ARM: static kernel in vmalloc space Message-ID: <20200514234013.GQ1551@shell.armlinux.org.uk> References: <20200504091018.GA24897@afzalpc> <20200511142113.GA31707@afzalpc> <20200512104758.GA12980@afzalpc> <20200514111755.GA4997@afzalpc> <20200514162535.GP1551@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 14, 2020 at 11:12:01PM +0200, Arnd Bergmann wrote: > On Thu, May 14, 2020 at 6:25 PM Russell King - ARM Linux admin > wrote: > > On Thu, May 14, 2020 at 02:41:11PM +0200, Arnd Bergmann wrote: > > > On Thu, May 14, 2020 at 1:18 PM afzal mohammed wrote: > > > > It's clearly possible to do something very similar for older chips > > > (v6 or v7 without LPAE, possibly even v5), it just gets harder > > > while providing less benefit. > > > > Forget about doing this for anything without a PIPT cache - or you're > > going to end up having to flush the data cache each time you enter or > > exit the kernel. > > Right, let's forget I said anything about v5 or earlier ;-) > > I expected the non-aliasing VIPT caches to work the same as PIPT, can > you clarify if there is something to be aware of for those? I see that some > ARMv8 chips and most ARMv6 chips (not OMAP2 and Realview) are > of that kind, and at we clearly don't want to break running on ARMv8 at > least. There are some aliasing VIPT implementations on ARMv6, but I don't remember how common. > Anyway my point was that it's best to only do it for LPAE anyway, everything > else being a distraction, as the only non-LPAE SoCs I could find with > support for over 2GB are some of the higher-end i.MX6 versions and the > original highbank. Yep. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up