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 590A1CCD1BB for ; Wed, 22 Oct 2025 15:44:37 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1148381.1480452 (Exim 4.92) (envelope-from ) id 1vBb0Z-0006mJ-Nx; Wed, 22 Oct 2025 15:44:15 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1148381.1480452; Wed, 22 Oct 2025 15:44:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vBb0Z-0006mC-LL; Wed, 22 Oct 2025 15:44:15 +0000 Received: by outflank-mailman (input) for mailman id 1148381; Wed, 22 Oct 2025 15:44:14 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vBb0Y-0006m6-Q7 for xen-devel@lists.xenproject.org; Wed, 22 Oct 2025 15:44:14 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1vBb0Y-00EMVE-0j; Wed, 22 Oct 2025 15:44:14 +0000 Received: from [2a01:cb15:80df:da00:94d0:641e:16e6:ca4b] (helo=l14) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vBb0Y-008zwF-0R; Wed, 22 Oct 2025 15:44:14 +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=xenproject.org; s=20200302mail; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date; bh=kslds1OBdnCvK/T0brqthIDAdAGOYeZMymJennuqMqM=; b=VunTvxZlDPWI/8iyu6sxC4me2W 4J1jEsYM3Zq6Px1jVThkLgYLB9Lu7CCHkbfpoEEDGV/ZREWzjQRFd64Es1UMV1kji/EuHcSdqpp8E R0s4glrBiEXo4Js2+YCy/pbkPesaUlUGsD88PdrsWoSIvDp72tMx300bwhrnLn4qJjiY=; Date: Wed, 22 Oct 2025 17:44:12 +0200 From: Anthony PERARD To: Jiqian Chen Cc: xen-devel@lists.xenproject.org, Huang Rui , Oleksii Kurochko , Anthony PERARD , Juergen Gross Subject: Re: [PATCH v2 1/1] tools/libs/light: fix BAR memory address truncation Message-ID: References: <20251013074533.67478-1-Jiqian.Chen@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251013074533.67478-1-Jiqian.Chen@amd.com> On Mon, Oct 13, 2025 at 03:45:33PM +0800, Jiqian Chen wrote: > diff --git a/tools/libs/light/libxl_pci.c b/tools/libs/light/libxl_pci.c > index 2ea2caeb6624..ae416a162360 100644 > --- a/tools/libs/light/libxl_pci.c > +++ b/tools/libs/light/libxl_pci.c > @@ -2040,7 +2041,7 @@ static void pci_remove_detached(libxl__egc *egc, > size, 0); > if (rc < 0) > LOGED(ERROR, domid, > - "xc_domain_ioport_permission error 0x%x/0x%x", > + "xc_domain_ioport_permission error %#"PRIx64"/%#"PRIx64, > start, > size); > } else { > @@ -2050,7 +2051,7 @@ static void pci_remove_detached(libxl__egc *egc, > 0); > if (rc < 0) > LOGED(ERROR, domid, > - "xc_domain_iomem_permission error 0x%x/0x%x", > + "xc_domain_ioport_permission error %#"PRIx64"/%#"PRIx64, Why does this message refer to "xc_domain_ioport_permission" now instead of "xc_domain_iomem_permission" ? (I'm guessing overzealous copy/past ;-) from the previous error message) Cheers, -- Anthony PERARD