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 C82EACD8CA5 for ; Tue, 10 Oct 2023 15:11:53 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.615094.956281 (Exim 4.92) (envelope-from ) id 1qqEOR-00017k-Kv; Tue, 10 Oct 2023 15:11:31 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 615094.956281; Tue, 10 Oct 2023 15:11:31 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qqEOR-00017d-II; Tue, 10 Oct 2023 15:11:31 +0000 Received: by outflank-mailman (input) for mailman id 615094; Tue, 10 Oct 2023 15:11:30 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qqEOQ-000161-5y for xen-devel@lists.xenproject.org; Tue, 10 Oct 2023 15:11:30 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qqEOP-0004Oi-Sj; Tue, 10 Oct 2023 15:11:29 +0000 Received: from 54-240-197-231.amazon.com ([54.240.197.231] helo=[10.95.104.160]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qqEOP-0000fC-MO; Tue, 10 Oct 2023 15:11:29 +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=4Obq61kJUFEKTX7z8R6Sb7CT6aqwi9qgd/DZcaOpdsk=; b=T/4MdGXKEQBvGB7oq2BTKSV8/Z Oaaut1IoXt1GfLvRCNP2iQG3+Xl5hOYZ/8YzOwo3iBmwubbaiHHpLjLutn3RgvuLFbSDo6a00l+hN OGT2jxeAScs/0ZRl9pPBZ03SwxZ2DfXVQfLgHddl+sk3xD8rrQ/r1s/G7hscZ9ikLRFo=; Message-ID: Date: Tue, 10 Oct 2023 16:11:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 1/8] xen/arm: Split page table related code to mmu/pt.c Content-Language: en-GB To: Henry Wang , xen-devel@lists.xenproject.org Cc: Stefano Stabellini , Bertrand Marquis , Wei Chen , Volodymyr Babchuk , Penny Zheng References: <20231009010313.3668423-1-Henry.Wang@arm.com> <20231009010313.3668423-2-Henry.Wang@arm.com> From: Julien Grall In-Reply-To: <20231009010313.3668423-2-Henry.Wang@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Henry, On 09/10/2023 02:03, Henry Wang wrote: > The extraction of MMU related code is the basis of MPU support. > This commit starts this work by firstly splitting the page table > related code to mmu/pt.c, so that we will not end up with again > massive mm.c files. > > Introduce a mmu specific directory and setup the Makefiles for it. > Move the page table related functions and macros from arch/arm/mm.c > to arch/arm/mmu/pt.c. > > Take the opportunity to fix the in-code comment coding styles when > possible, and drop the unnecessary #include headers in the original > arch/arm/mm.c. > > Signed-off-by: Henry Wang > Signed-off-by: Penny Zheng Reviewed-by: Julien Grall Cheers, -- Julien Grall