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

Re: [PATCH v11 4/7] xen/arm: smmuv3: Add PCI devices support for SMMUv3


  • To: Julien Grall <julien@xxxxxxx>, Demi Marie Obenour <demiobenour@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Date: Tue, 10 Jun 2025 13:13:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=YvbcEpNN7bl73+cW3vAAIqmqz4YiOIQio4FxnJZ4xQE=; b=c+3JkaZq0mfRw9HRWsnlwiP70mU29by2+DQOOcfBkUbBgEvUoYFFGMf6wS/chzLS79F9Iq5lz935XZaoM69c0K18MC2JBYrpMHl7MuUkNfztSjVS2SQNujegUBTYfh9nVWAEjFp9SU0BN9y7XD5BtIHz5HZ3Fs95ltEp6CqHhP3hrcxffDjhxOylHnOyIJOxl9kp8pWTKFVpxqXvJemrd+8GCpqeitQ6PTL6zTS7G0JGPvoXHkXucQnmR75tY3raSbBcIZQqH0eLbG9aLiTrGK+J9My7y9786cwmjCWQKsP/NuN8xJq7rt/eE5glTawLsNcEq0ccUlNVkF8+ySgCpA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NG44DGHGS5XCnrTHbHR1U9mlPa000Q+50Q20HFgKUqb3F5VTfUBzWBPkV3ynb1thr4QVGZxA1gwoiErZlwiJ6ia5ttXdWczg012PzJsuannZD5wzAEfjknKYAbNYLovEmLcoeiUfX6O+1MNMkxcwrdVqjC5Q8f2ss2TOKXxMCCk2EcpXeHUNkSQrgwcKUVewnlqRjBXG1EVSajoykmukWhHESpv7eU1pEm/CwTheoYt/XJX0T12MeZo/Btk0jgEp5fDQosHbyCPM96s187rCKlN1cJ1ObLUa8jQHVGmDAJc9tL6/jBjBFxF8doIsNmEnNcfcme5E++AO+VhKXIcvXA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Bertrand Marquis <bertrand.marquis@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Delivery-date: Tue, 10 Jun 2025 13:13:10 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHbz7Cb+Z/yNKbLOEOjir1VN7bH5LPo3kyAgAogQYCACXTdAA==
  • Thread-topic: [PATCH v11 4/7] xen/arm: smmuv3: Add PCI devices support for SMMUv3

On 29/05/2025 03:10, Demi Marie Obenour wrote:

>> On 5/28/25 05:12, Mykyta Poturai wrote:
>>> From: Rahul Singh <rahul.singh@xxxxxxx>
>>>
>>> Implement support for PCI devices in the SMMU driver. Trigger iommu-map
>>> parsing when new PCI device is added. Add checks to assign/deassign
>>> functions to ensure PCI devices are handled correctly. Implement basic
>>> quarantining.
>>>
>>> All pci devices are automatically assigned to hardware domain if it 
>>> exists
>>> to ensure it can probe them.
>> This is only safe for devices present at boot time.  It’s not safe for
>> hotplugged devices, which should be quarantined.
> 

Hi Demi,

Could you please explain a little more in detail what do you think the 
issues will be here? As far as I understand quarantining is only 
relevant for transitioning devices between domains. Maybe I am missing 
something here.

-- 
Mykyta

 


Rackspace

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