[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<SA1PR12MB71996264714B5EBE01ED7646B0212@SA1PR12MB7199.namprd12.prod.outlook.com>
Date: Wed, 6 Mar 2024 01:46:38 +0000
From: Ankit Agrawal <ankita@...dia.com>
To: Alex Williamson <alex.williamson@...hat.com>, Oliver Upton
<oliver.upton@...ux.dev>
CC: Jason Gunthorpe <jgg@...dia.com>, Yishai Hadas <yishaih@...dia.com>,
"shameerali.kolothum.thodi@...wei.com"
<shameerali.kolothum.thodi@...wei.com>, "kevin.tian@...el.com"
<kevin.tian@...el.com>, Aniket Agashe <aniketa@...dia.com>, Neo Jia
<cjia@...dia.com>, Kirti Wankhede <kwankhede@...dia.com>, "Tarun Gupta
(SW-GPU)" <targupta@...dia.com>, Vikram Sethi <vsethi@...dia.com>, Andy
Currid <acurrid@...dia.com>, Alistair Popple <apopple@...dia.com>, John
Hubbard <jhubbard@...dia.com>, Dan Williams <danw@...dia.com>, Rahul
Rameshbabu <rrameshbabu@...dia.com>, Zhi Wang <zhiw@...dia.com>, "Anuj
Aggarwal (SW-GPU)" <anuaggarwal@...dia.com>, Matt Ochs <mochs@...dia.com>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "kvmarm@...ts.linux.dev"
<kvmarm@...ts.linux.dev>
Subject: Re: [PATCH v2 1/1] vfio/nvgrace-gpu: Convey kvm to map device memory
region as noncached
>> To use VM_ALLOW_ANY_UNCACHED flag, the platform must guarantee that
>> no action taken on the MMIO mapping can trigger an uncontained
>> failure. The Grace Hopper satisfies this requirement. So set
>> the VM_ALLOW_ANY_UNCACHED flag in the VMA.
>>
>> Applied over next-20240227.
>> base-commit: 22ba90670a51
>>
>> Link: https://lore.kernel.org/all/20240220115055.23546-4-ankita@nvidia.com/ [1]
>> Link: https://www.nvidia.com/en-in/technologies/multi-instance-gpu/ [2]
>> Link: https://developer.arm.com/documentation/ddi0487/latest/ section D8.5.5 [3]
>> Link: https://lore.kernel.org/all/20240224150546.368-1-ankita@nvidia.com/ [4]
>>
>> Cc: Alex Williamson <alex.williamson@...hat.com>
>> Cc: Kevin Tian <kevin.tian@...el.com>
>> Cc: Jason Gunthorpe <jgg@...dia.com>
>> Cc: Vikram Sethi <vsethi@...dia.com>
>> Cc: Zhi Wang <zhiw@...dia.com>
>> Signed-off-by: Ankit Agrawal <ankita@...dia.com>
>> ---
>> drivers/vfio/pci/nvgrace-gpu/main.c | 11 ++++++++++-
>> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> Applied to vfio next branch for v6.9.
>
> Oliver, FYI I did merge the branch you provided in [1] for this, thanks
> for the foresight in providing that.
>
> Alex
>
> [1]https://lore.kernel.org/all/170899100569.1405597.5047894183843333522.b4-ty@linux.dev/
Many thanks Alex, appreciate your help with this!
Powered by blists - more mailing lists