[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86/vpci: fix handling of BAR overlaps with non-hole regions


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Lira, Victor M" <victorm.lira@xxxxxxx>
  • Date: Thu, 15 May 2025 17:20:42 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=J4UoW+ElyrLamU1QNwkP9fZsIA5Jpidk1OM/4It0UQg=; b=NVss8rcKQbVwcv4zj7NXMR57lzaBio1PUHvHmIsI+5JZlgh5nYB6ScxWphCXK/BXNviuHzm7lcyh9MkxElfA2Nkl5CoDoRZc03xFfHFBbCjlH6WtXpN5IH08rT48BwxnkWaVuKJ0A3YY6ahkUayBjHxgQVainsWyF3AkwHu/EUYdGmdB37xC+WPEyGre0cEMvrmKtNPbzOuGPu7gz/WQGKAKb9Ou4yg7pjafzETg7Iz+0yFUdbfMFRiACKXtmD8IQR9bgiwhUdWBn2qpUaIGjVe6u443FaITiD1wFjtdjwAoK/+1VSTESJM70mPrURdK+ZbwomWPXPprR/3GRQPbtA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FSsI6KPfSmp1mbUGt3u24nomHRgRBQg0dcEN8dQV2davABOfRDUiV+NcOMgpALZRIU8+lPemrP0Y3clpUAle/MXo+0OaeOVoBqdbUlVLF/5whFm/0basuy/oICWEa99zLkpAF2St31bv22Y3p9bDM+jUHFs7TE9MptkpclHLLCXrb1pHapMhnwjNOsvY6hZs1YUQfGeYxC425F+rkGSvaUtdrrFWfgsD9Lds88WQCJe0dFrgptWsoU2td0OE3oo/tdUUDPj0OTznr5JHaqOfSLQFuJZNoS/QEc24z/hK3JrKXkYP0HJzEIzuSa5qbxHhH/ryp+W2NSrjizVdsgPn1g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Delivery-date: Fri, 16 May 2025 00:21:17 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

I tested the patch based on staging (f1f351df0309) on hardware that has the issue of the overlap (0xfea00000 in the logs attached).

Linux 6.11 defconfig + CONFIG_BLK_DEV_NVME

Without the patch we see these messages and the NVME is not accessible:
[  313.438979] nvme nvme0: I/O tag 4 (2004) QID 0 timeout, completion polled

(XEN) [  322.972867] arch/x86/hvm/emulate.c:417:d0v1 unhandled memory write to 0xfea0300c size 4
With the patch we see only the added warning and the NVME is accessible:
(XEN) [    4.746374] arch/x86/pci.c:109:d[IDLE]v0 0000:02:00.0: BAR at [fea00, fea03] not in memory map hole

Tested-by: Victor M Lira <victorm.lira@xxxxxxx>


Victor

Attachment: test-without.log
Description: Text document

Attachment: test-patched.log
Description: Text document


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.