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 AD844CCD1BC for ; Thu, 23 Oct 2025 09:06:43 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1148823.1480656 (Exim 4.92) (envelope-from ) id 1vBrHA-00020g-L3; Thu, 23 Oct 2025 09:06:28 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1148823.1480656; Thu, 23 Oct 2025 09:06: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 1vBrHA-00020T-IN; Thu, 23 Oct 2025 09:06:28 +0000 Received: by outflank-mailman (input) for mailman id 1148823; Thu, 23 Oct 2025 09:06:27 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vBrH9-00020M-SE for xen-devel@lists.xenproject.org; Thu, 23 Oct 2025 09:06:27 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1vBrH9-00FoE2-0h; Thu, 23 Oct 2025 09:06:27 +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 1vBrH9-00B6fA-02; Thu, 23 Oct 2025 09:06:27 +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=YnaJVaO1Spuw4SlTTtKsrj6tfNIiVezdEjkaRegrEFs=; b=P1tw0mPt0PpGBsYCzGdBHG+uM5 wojvWS4ANgvygATCtk/C3GgvNOlWmFTksQ6207wQziZNzr2xQ30q42GxfPPT62czGAZT7i4s7EuXX gtYdlIzlSZOJoIdoMQRAXPmLcvu5qQbTMXkXoN6Dn3vbHi8Q52ESlo9e6eYgtG8d3VWk=; Date: Thu, 23 Oct 2025 11:06:25 +0200 From: Anthony PERARD To: Jiqian Chen Cc: xen-devel@lists.xenproject.org, Huang Rui , Oleksii Kurochko , Juergen Gross , Anthony PERARD Subject: Re: [PATCH v3 for-4.21 1/1] tools/libs/light: fix BAR memory address truncation Message-ID: References: <20251023023128.11589-1-Jiqian.Chen@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251023023128.11589-1-Jiqian.Chen@amd.com> On Thu, Oct 23, 2025 at 10:31:28AM +0800, Jiqian Chen wrote: > 64-bit BAR memory address is truncated when removing a passthrough > pci device from guest since it uses "unsigned int". > > So, change to use 64-bit type to fix this problem. > > Fixes: b0a1af61678b ("libxenlight: implement pci passthrough") > Signed-off-by: Jiqian Chen > Release-Acked-by: Oleksii Kurochko > Reviewed-by: Juergen Gross Acked-by: Anthony PERARD Thanks, -- Anthony PERARD