From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 102F1C4338F for ; Wed, 4 Aug 2021 13:15:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A665D60F43 for ; Wed, 4 Aug 2021 13:15:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A665D60F43 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uo6e5Xqrb9rrAQWfr8ubU3nUPb59QQx6/SRveYSQzwM=; b=jfzLvt9O5w2fyF Hv2kdIv79gz0MQhooDtbzzv0+TcZDMa92vhuD4GM5m3+m1dMXvCcsTmTb8K94Mba0lLgV3Fd3cmae nfWp6AOU27UFBnAd3f3T7lxh5MrllS7AX8EfXSn3v8Ey+5+RtX74i+K0yziIFL9pSv8Oa9KZ74dKd tclnx8uV0+PakKvcaZJo6QU2ZVWYluTizrP1cBWzY7CKrZ1jZgFUYUWm5LntoICOqEOhwIhdL4WOW Y20IzLuOtEddITLowPCJfZ7CIQ2G4moykiufO3YicoGNIQqrgfpDtvwcziwaqF9OKOVaLv20RhhHk /hyUuWQ/0mLqxYbg5LQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGhq-0067gr-QC; Wed, 04 Aug 2021 13:13:11 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGhj-0067dn-8B for linux-arm-kernel@lists.infradead.org; Wed, 04 Aug 2021 13:13:05 +0000 Received: by mail-lj1-x22d.google.com with SMTP id l4so2508049ljq.4 for ; Wed, 04 Aug 2021 06:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SXRfnFXaBd0mk1NCW7Mlx8HkVE75aUuNvpSweeFLXVw=; b=S3y600kkJaDnafUSxhW4azC+SAe0i6eOHdULM19jOcDYwzGHsISHwNMRjyN/95O7sh MMHb0DHZOaF57tfa1KrVt9YdYZ9BBLXGmpk4q26LmuSCBFIy8rQ28cjfCom4U3laHSG2 JhHjXbxaitOiXnzKJKMBYUFAoFCDTo5qPxhaUFRWRhkoNbu64T10gfar6KlSVK0LLOii di2iAUGy5DgdHxBQCGfzL8DZ5gpiZ8SOEyRec2ThppInjRkOUJKRSEFv7WLEEAYgOE8Y q8mrEuZMuoySNgbbNKhuAeXvoiN9i/TlU1cbgOG72araFvY/KrcVzRuYT5f6e4j5wbQj MArw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SXRfnFXaBd0mk1NCW7Mlx8HkVE75aUuNvpSweeFLXVw=; b=PwBJ22Doe7OASVlVoN7JGZFwI4qNjDV4VC6/DsnjOM7OGV0GmXQ3CfnR8QCeFKJJOV 9G3G54q1C07jbcM2E3j5U0GRxYtckOyTD7JD33NZ5mZBzc0CUIE9o/YTCGA4dHwe2msL HgZ/DktOTkjIDLD2ALizmxEItu1WSGnLgzDktfFfnpwxtnGQg/WI43+4flTOAY8Gxtke FUQdOyohe5VT1YkTiuD5TpZJM/fDqX1vCCAndSYwKSUuHPxSnUeB9KQRPYwsnM9IT1IT DiNVlI+a03a2DGC4q8dRki//BPdHSNDd/rqaUJn3yqxrEzcq+UZKOwKetP4xIb8WnuA2 wUmg== X-Gm-Message-State: AOAM5317RUZpUwANS9JdK/Acg17CTcjZXTwAFZFR9wjfWuZSNLKnmwD0 0wLXimi9uiY2XVezU5IFk5TK5MGGVmLT4/H/jc6B1Q== X-Google-Smtp-Source: ABdhPJzn4yoIMNXdBtVbicuhy/prjg8/RqPik1PKEjF3zPOUPZgWF0rKF+RXOkRR+LkECPtK0oPqvkp9c4Mlmu7GJxk= X-Received: by 2002:a2e:888f:: with SMTP id k15mr18174192lji.326.1628082781140; Wed, 04 Aug 2021 06:13:01 -0700 (PDT) MIME-Version: 1.0 References: <20210517145719.110966-1-linus.walleij@linaro.org> <20210517145719.110966-4-linus.walleij@linaro.org> <20210730202259.dbifugsvry5vjdr7@earthen> <20210803104932.GM22278@shell.armlinux.org.uk> <20210804103658.GP22278@shell.armlinux.org.uk> In-Reply-To: <20210804103658.GP22278@shell.armlinux.org.uk> From: Linus Walleij Date: Wed, 4 Aug 2021 15:12:49 +0200 Message-ID: Subject: Re: [PATCH 3/3] ARM: Map the lowmem and kernel separately To: "Russell King (Oracle)" Cc: Grygorii Strashko , Nishanth Menon , santosh.shilimkar@oracle.com, Santosh Shilimkar , Linux ARM , Arnd Bergmann , Florian Fainelli , Geert Uytterhoeven , Ard Biesheuvel , Suman Anna , Tero Kristo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_061303_373980_26614B1B X-CRM114-Status: GOOD ( 13.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Thanks so much for explaining this Russell! On Wed, Aug 4, 2021 at 12:37 PM Russell King (Oracle) wrote: > My guess would be the problem is that kernel_sec_start and > kernel_sec_end are not being adjusted, and are still pointing at > the low physical addresses rather than the high ones. > Consequently, kernel_x_start and kernel_nx_end points at the low phys > space, but kernel_x_end and kernel_nx_start points to the high phys > space. I bet this is right, I will make a patch for Nishanth to test! Thanks a *lot* for your elaborate explanation. Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel