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

Re: [PATCH] xen/arm: smmuv1: remove iommu group when deassign a device


  • To: Julien Grall <julien@xxxxxxx>
  • From: Rahul Singh <Rahul.Singh@xxxxxxx>
  • Date: Wed, 27 Jul 2022 13:27:06 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Kow4sXle+3sWRlyVMFxh1A0emb2wKI58TcxvzhzMUGc=; b=kdyJXa67MwiUZk/7b0x+STMMZla3ZCU6ujqnd2Fci+bIcyEo0Hmq7DJUpUZTif7nJdt31ckQ1ju1egpY+tLq6j+8mJYZx1MtnHPyCpfeMqlWYY/nGoZrr5qEiGXN19+ak2/j403cPnh1RRmfU20s/qBiI2MvA4/sQwCSvRCEZBRWLLnNE8h10ibBoDGurCREczI92NhOdkRTsfN2g/EkODMDMnniRydkQSOtYDHblujFt1jQCrWPRIoxgmhANmz4nN8x4KqWIugigpUD+lxZQtCFU6mvd1p9xSfzMcGaFRRjqYQcPBpyAUhl93ZwdCJgSS3Hm8vaAHT03CUtTO6lKg==
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Kow4sXle+3sWRlyVMFxh1A0emb2wKI58TcxvzhzMUGc=; b=UmXs7Bnmdv0Wi+8Ibr0rt66kU6hGCmzWko31vTko2uD6QY76Hw7+01EQ7vWjw+h1lCG1kdTEwlH6wd+Sd5gyMh5+Xr9KMBo0bQd9I6ucwKVgUi/i45io+SXiL0ERjBtwcEA4w1MYlSFsKyhf2QL2soQRIUMrdCoigDBsfPcZA968zW6CRWO9nGCMGRnzv2NBATp5lyxemVxCgaeDqW5/H397uZe8IV3ctVBvrnvsfQI4EOVYmNg9iOOycsjqrUky7EQ3pn/s8PlmLYnlwb+mmXA4GIdkbPLNAFAQyvhiZY0ZbKI9bc7Z1Wzd5GHLOR6eaR8QyrO8e24tNIa/B04XzA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=mwX98lu9kWL881FrwAkDccxy90awztPBihVj9reTFtHTZUHHC3GhQmLUdwKhoQfykjoV2pFp91LXI0sS+vjSd3vrBlcQKpUS/hs8TvR1U10BJt1nxu3dMbB0bELYBoGvShfLBDyO24+gyeOAB3Kw1V+ERrkzXKXQrPKYrXyY7ghZl7xnR3JT5r1GeDd6Qhkr0Tqmfh4ijfdwt+6unV9BrhKAw7kwdeL+E2QDrDDBSz4uC82vlc6o8D/ygkhj5axEX9S+fxtEcFFF1PzQ3WWbSlswbJqm+4HfOFdqKHIttisogMP9DQw8t+KV1vkdN6avpKzXoS9Tc61b6nVF9cVVMg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O88rgpIeDcS3RoqCQ3krTf9L96pp2tViGrEWqvusjnIDdsovTLlYIlHlaEThA2ZWxB6I9jqRGEl5PqMUgXEUCRcIxZ2dXNK1omjYnqNXG+cYDgqlYIb/EPztzeyo6lTZ3eEWPi1RM5KzgO5pzxL5fbyoXNTToHwzF7Wzv6CQOuuXs+b5Gf4OJ9qhCcZ56uGXw8vBiTCA6Avw3tF0ZNESPWr+PxxjFafdcMp5U2RkGu05SPIZNVl6p8E0mTCVyvkxQmjAePg9IQ4fROSgtZci1E2NqI7dqc0BzLO5hf1uBsNO8JYKaoAJ+AcaenXtZ5TdNjq4NYD6ZAJYe0HA4wRZpg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Mykyta Poturai <mykyta.poturai@xxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, "Volodymyr_Babchuk@xxxxxxxx" <Volodymyr_Babchuk@xxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 27 Jul 2022 13:27:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYWlIekEFYa4Z+ZkOKg6prrRxnv60EB7eAgALvxoCABl1EgIBEoW2AgAA0fACAAZfdAIAEm8YAgAGSSQCAAEbogIALO3kAgCQMb4CAB/g1AIABTOIA
  • Thread-topic: [PATCH] xen/arm: smmuv1: remove iommu group when deassign a device

Hi Julien,

> On 26 Jul 2022, at 6:35 pm, Julien Grall <julien@xxxxxxx> wrote:
> 
> Hi,
> 
> On 21/07/2022 16:53, Rahul Singh wrote:
>>> On 28 Jun 2022, at 6:23 pm, Mykyta Poturai <mykyta.poturai@xxxxxxxxx> wrote:
>>> With this patch I get the same results, here is the error message:
>>> 
>>> (XEN) smmu: /iommu@51400000: Unexpected global fault, this could be serious
>>> (XEN) smmu: /iommu@51400000:    GFSR 0x00000001, GFSYNR0 0x00000004, 
>>> GFSYNR1 0x00001055, GFSYNR2 0x00000000
>>> 
>> As you mentioned earlier, this fault is observed because GPU continues to 
>> access memory when the context is
>> already invalidated, and therefore triggers the "Invalid context fault".  
>> This is a different issue and is not related to this patch.
>> @Julien are you okay if I will send the below patch for official review as 
>> this issue pending for a long time?
> 
> I am OK in principle. I will do a proper review on you send a formal patch.

Thanks for the confirmation. I will send the formal patch for review.

Regards.
Rahul




 


Rackspace

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