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

Re: [PATCH 0/5] xen/vpci: miscellaneous fixes


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: "Chen, Jiqian" <Jiqian.Chen@xxxxxxx>
  • Date: Wed, 10 Sep 2025 09:25:19 +0000
  • Accept-language: en-US
  • 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=VXn1NxGUVUtecb88czaS+9Dinrt3d0ISxjrBELIvCWg=; b=DGiIrNtO9hffzj7hkSgcLb2GeNZPpPjxvpG97Lu2DDlb3T5fK/V0CUuVsIZeuZI18aTahsE5TGVrQMWGnqCr5n4Ebdc6tRNpeKsdvjHp1G9s4YX8F8ZcmF8L0A9sc09R4tzJ23AZf62CLtoPldeIk1oiShB3nahhsPou/FF0YCljxDiXbPZzRdDNPNzZPj11yWk2Hr/JwUVuHoZsJ3GolOPM4QMJ6p9TyOrPPgB8UAQKYdEFFJ6uk7nttHiOAvGtEUbjnsDwtb+FmwDs8qkt+7C4QRsKeFNd/BuZTsRdXPtoXAtnX0cuiUAJt7QnwHP8fonOc8jZ/dVOOJMWb2qG3g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AZ440w2BYxgIR3agI/W1iaJhvAwzRHo8YksXEWL0WfY2xdf1lE8kUFVYkh+F2MNiXpfkbw488aGAUx8G9MpVHK+cmEFvJJaMSNADFXuWo/cuP8X85BC4sgKKPTgbzSjf1rqJmQ7rH/hcK77HjtTDWlRpCXyqJrpT8qayRkdUPMDp3blCMMyEFLvEJLcw+v367qab/HcxYxZ+pzTs7QymC2Tgsvj8P2EzMt/otK155ipmwyXpDvPQO4BGqQLhsA3jkvTlsRKj6xBBwqLm7Z4KsIY0iQw5N/B9zXyPz2FOloBovMcqMLYp/S3Ot0uyv6PvQXbeUCVy2uxKsamvZQsnYA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Hildebrand, Stewart" <Stewart.Hildebrand@xxxxxxx>, "jbeulich@xxxxxxxx" <jbeulich@xxxxxxxx>, "Chen, Jiqian" <Jiqian.Chen@xxxxxxx>
  • Delivery-date: Wed, 10 Sep 2025 09:25:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcDTURKj5JMcHd/UWxKXg/kyCmwrSM00uA
  • Thread-topic: [PATCH 0/5] xen/vpci: miscellaneous fixes

On 2025/8/15 00:03, Roger Pau Monne wrote:
> Hello,
> 
> The following series started with the report in:
> 
> https://lore.kernel.org/xen-devel/dbc003a2-9202-46ec-bf87-2829d8a63d53@xxxxxxxxxx/
> 
> And ended up doing a bit of cleanup on the way.  I think the overall
> result is nicer, I never really liked the deferral of the setting of the
> command and ROM BAR registers, as it makes the logic much harder to
> follow.  I've done some testing, but I will probably do some
> specific testing to ensure the error paths work as expected - as I don't
> have a system that trigger those. 
I have applied this series to my local environment and run some normal graphics 
apps without finding errors currently.
If you need to do some specific tests, I am happy to help testing.

> Posting it ahead because some patches are fairly trivial, and to get feedback 
> on the approach.
> 
> Thanks, Roger.
> 
> Roger Pau Monne (5):
>   xen/vpci: purge BAR rangeset contents before use
>   xen/vpci: make BAR mapping more resilient for the hardware domain
>   xen/vpci: simplify handling of memory decoding and ROM enable writes
>   vpci/msix: move MSI-X hole punching as a result of memory decoding
>     enable
>   xen/vpci: only check BAR validity once
> 
>  xen/drivers/vpci/header.c | 186 ++++++++++++++++----------------------
>  xen/include/xen/vpci.h    |   5 +
>  2 files changed, 82 insertions(+), 109 deletions(-)
> 

-- 
Best regards,
Jiqian Chen.


 


Rackspace

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