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 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB83FC25B50 for ; Tue, 24 Jan 2023 19:43:36 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.483726.750069 (Exim 4.92) (envelope-from ) id 1pKPCL-0000E4-EJ; Tue, 24 Jan 2023 19:43:13 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 483726.750069; Tue, 24 Jan 2023 19:43:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pKPCL-0000Dx-9T; Tue, 24 Jan 2023 19:43:13 +0000 Received: by outflank-mailman (input) for mailman id 483726; Tue, 24 Jan 2023 19:43:12 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pKPCK-0000Dr-BB for xen-devel@lists.xenproject.org; Tue, 24 Jan 2023 19:43:12 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pKPCK-000366-1X; Tue, 24 Jan 2023 19:43:12 +0000 Received: from [54.239.6.189] (helo=[192.168.20.46]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pKPCJ-0003YK-QC; Tue, 24 Jan 2023 19:43:11 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=cpybMUAdKrtWBFuwNoYQoaHCzxjprMe8QEaNvpWeyHs=; b=vHqk4TWPF3dDSVAHiSuE19sVfa udWGiieZ6Onnv27Yv3vL/PUBZV+pxxJmS7ymItLU5A56fUXW49y10RmNlpp77CZG4NAfIw91W3Hot 6t6ANMzCX63k/ub2ZRbp2e02tsg8LV3Uxy7IpchICO7TLd3uo/8SPYnPEnMEPe6VVpMk=; Message-ID: <5c18827c-ffc2-1c31-bd7c-812ca05c4bc3@xen.org> Date: Tue, 24 Jan 2023 19:43:09 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v4 10/14] xen/arm32: head: Widen the use of the temporary mapping Content-Language: en-US To: Michal Orzel , xen-devel@lists.xenproject.org Cc: Luca.Fancellu@arm.com, Julien Grall , Stefano Stabellini , Bertrand Marquis , Volodymyr Babchuk References: <20230113101136.479-1-julien@xen.org> <20230113101136.479-11-julien@xen.org> <0271e540-d3b0-fb9b-0f66-015abb45231c@amd.com> From: Julien Grall In-Reply-To: <0271e540-d3b0-fb9b-0f66-015abb45231c@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 16/01/2023 08:20, Michal Orzel wrote: > Hi Julien, Hi Michal, > > On 13/01/2023 11:11, Julien Grall wrote: >> >> >> From: Julien Grall >> >> At the moment, the temporary mapping is only used when the virtual >> runtime region of Xen is clashing with the physical region. >> >> In follow-up patches, we will rework how secondary CPU bring-up works >> and it will be convenient to use the fixmap area for accessing >> the root page-table (it is per-cpu). >> >> Rework the code to use temporary mapping when the Xen physical address >> is not overlapping with the temporary mapping. >> >> This also has the advantage to simplify the logic to identity map >> Xen. >> >> Signed-off-by: Julien Grall >> >> ---- >> >> Even if this patch is rewriting part of the previous patch, I decided >> to keep them separated to help the review. >> >> The "folow-up patches" are still in draft at the moment. I still haven't >> find a way to split them nicely and not require too much more work >> in the coloring side. >> >> I have provided some medium-term goal in the cover letter. >> >> Changes in v3: >> - Resolve conflicts after switching from "ldr rX,