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 651CFC5B552 for ; Fri, 30 May 2025 09:01:55 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1000607.1380837 (Exim 4.92) (envelope-from ) id 1uKvcG-0000Df-Ic; Fri, 30 May 2025 09:01:28 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1000607.1380837; Fri, 30 May 2025 09:01:28 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uKvcG-0000DY-DH; Fri, 30 May 2025 09:01:28 +0000 Received: by outflank-mailman (input) for mailman id 1000607; Fri, 30 May 2025 09:01:26 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uKvcE-0000DS-Md for xen-devel@lists.xenproject.org; Fri, 30 May 2025 09:01:26 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1uKvcE-009zfC-06; Fri, 30 May 2025 09:01:26 +0000 Received: from [15.248.2.232] (helo=[10.24.67.152]) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uKvcE-00ErW2-0o; Fri, 30 May 2025 09:01:25 +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=WPUUA+yYZFe02ovXhflROyYZ5o2AFhC1iGttM5xBO9A=; b=g0kBMOpzxRbQVcm9iP/afnrJeT Nzf23d6PbCon3+R9gxNoZH5UvCNeoJeDC5aaeayAjc29K4avjd0wYPgmyJm2gGn251bepOKlB/oQz 711eleeA5UXbAeX3Lju7CQ+ppOtnr7+lHkQ0PsZZep4mg0MO6oK9q3shq+gDPBT/UCI4=; Message-ID: <36dc6b2a-6dd0-4176-9f7e-a021a2427ed2@xen.org> Date: Fri, 30 May 2025 10:01:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] xen/arm: Add way to disable traps on accesses to unmapped addresses Content-Language: en-GB To: "Edgar E. Iglesias" Cc: xen-devel@lists.xenproject.org, sstabellini@kernel.org, bertrand.marquis@arm.com, michal.orzel@amd.com, Volodymyr_Babchuk@epam.com, andrew.cooper3@citrix.com, edgar.iglesias@amd.com, Anthony PERARD , Juergen Gross , Jan Beulich , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= References: <20250529155024.1284227-1-edgar.iglesias@gmail.com> <20250529155024.1284227-2-edgar.iglesias@gmail.com> From: Julien Grall In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 29/05/2025 17:23, Edgar E. Iglesias wrote: > On Thu, May 29, 2025 at 04:59:21PM +0100, Julien Grall wrote: >> Hi Edgar, > > Hi Julien, > > >> >> On 29/05/2025 16:50, Edgar E. Iglesias wrote: >>> From: "Edgar E. Iglesias" >>> >>> Add a per-domain way to optionally disable traps for accesses >>> to unmapped addresses. >>> >>> The domain flag is general but it's only implemented for ARM for now. >>> >>> Signed-off-by: Edgar E. Iglesias >>> --- >>> tools/libs/light/libxl_arm.c | 3 +++ >>> xen/arch/arm/dom0less-build.c | 3 +++ >>> xen/arch/arm/domain.c | 3 ++- >>> xen/arch/arm/domain_build.c | 3 ++- >>> xen/arch/arm/io.c | 36 +++++++++++++++++++++++++++++++++-- >>> xen/common/domain.c | 3 ++- >>> xen/include/public/domctl.h | 4 +++- >> >> Looking at the changelog, I saw you removed the go bindings (although, they >> were in patch 3). But I don't quite understand why. > > I got a little confused. The file tools/golang/xenlight/helpers.gen.go > has the following at the top: > // Code generated by gengotypes.py. DO NOT EDIT. > // source: libxl_types.idl > > > So I got the impression that we shouldn't be editing it. > Should I edit it manually? Or should I try to rerun gengotypes.py > to generate these bindings? As the file is checked in, I think we expect the developper to rerun gengotypes.py. Anthony, can you confirm? Cheers, -- Julien Grall