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 639DACCA47F for ; Mon, 18 Jul 2022 14:07:08 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.369839.601379 (Exim 4.92) (envelope-from ) id 1oDROh-0006eS-FY; Mon, 18 Jul 2022 14:06:55 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 369839.601379; Mon, 18 Jul 2022 14:06:55 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oDROh-0006eL-Cr; Mon, 18 Jul 2022 14:06:55 +0000 Received: by outflank-mailman (input) for mailman id 369839; Mon, 18 Jul 2022 14:06:53 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oDROf-0006e6-FL for xen-devel@lists.xenproject.org; Mon, 18 Jul 2022 14:06:53 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oDROf-0008DC-3q; Mon, 18 Jul 2022 14:06:53 +0000 Received: from 54-240-197-231.amazon.com ([54.240.197.231] helo=[10.7.237.21]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDROe-0003pW-UF; Mon, 18 Jul 2022 14:06:53 +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=xmahiAjJq7OYe90xJYuKF3N/m/MMwNbtWIdoIRVkUnw=; b=i+qr1YfpFFudD5omd/y0PoKGbe PdeVEfyCD0lp8LlvVl9vSmskqYyNpzwZ8PF3aKcLMqPyoh/XGN5OG3mZ46H98Jh9Vk/P+JugoPGHz 7CP8OnxoH96PM6fI0Lhkw8/o89lBuedD7l9m9rZXZkVNulFB8kjyvTIZAhYmLN5/Nn00=; Message-ID: <8c4fd536-e581-b7d5-51b7-e9a65602e6da@xen.org> Date: Mon, 18 Jul 2022 15:06:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 4/7] xen/arm: mm: Add more ASSERT() in {destroy, modify}_xen_mappings() To: Jan Beulich Cc: Xen-devel , Julien Grall , Stefano Stabellini , Volodymyr Babchuk , Bertrand Marquis References: <20220624091146.35716-1-julien@xen.org> <20220624091146.35716-5-julien@xen.org> <5CD19BFD-62C6-4409-A5A9-675D8F5FF795@arm.com> <8c6a788c-ccb9-fc5c-fdf6-870540eed722@xen.org> <48d5cdc0-3937-a5f5-5c0e-a0eee90342f3@suse.com> From: Julien Grall In-Reply-To: <48d5cdc0-3937-a5f5-5c0e-a0eee90342f3@suse.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Jan, On 18/07/2022 09:47, Jan Beulich wrote: > On 16.07.2022 16:38, Julien Grall wrote: >> On 04/07/2022 13:35, Bertrand Marquis wrote: >>>> On 24 Jun 2022, at 10:11, Julien Grall wrote: >>>> >>>> From: Julien Grall >>>> >>>> Both destroy_xen_mappings() and modify_xen_mappings() will take in >>>> parameter a range [start, end[. Both end should be page aligned. >>>> >>>> Add extra ASSERT() to ensure start and end are page aligned. Take the >>>> opportunity to rename 'v' to 's' to be consistent with the other helper. >>>> >>>> Signed-off-by: Julien Grall >>> >>> With the prototype updated in mm.h as suggested by Michal: >> >> Done. I will send a new version shortly. > > I notice you had applied and then reverted this, with the revert saying > an x86 ack was missing. I don't see any need for an x86 ack here though, > so I'm puzzled ... Sorry, I am not sure why I thought this needed an x86 ack. I will (re-)commit it shortly. Cheers, -- Julien Grall