[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<MW4PR12MB7213AB84261541A75F88FBFBB04B2@MW4PR12MB7213.namprd12.prod.outlook.com>
Date: Fri, 9 Feb 2024 14:05:32 +0000
From: Ankit Agrawal <ankita@...dia.com>
To: Catalin Marinas <catalin.marinas@....com>
CC: Jason Gunthorpe <jgg@...dia.com>, "maz@...nel.org" <maz@...nel.org>,
"oliver.upton@...ux.dev" <oliver.upton@...ux.dev>, "james.morse@....com"
<james.morse@....com>, "suzuki.poulose@....com" <suzuki.poulose@....com>,
"yuzenghui@...wei.com" <yuzenghui@...wei.com>, "reinette.chatre@...el.com"
<reinette.chatre@...el.com>, "surenb@...gle.com" <surenb@...gle.com>,
"stefanha@...hat.com" <stefanha@...hat.com>, "brauner@...nel.org"
<brauner@...nel.org>, "will@...nel.org" <will@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>, "alex.williamson@...hat.com"
<alex.williamson@...hat.com>, "kevin.tian@...el.com" <kevin.tian@...el.com>,
"yi.l.liu@...el.com" <yi.l.liu@...el.com>, "ardb@...nel.org"
<ardb@...nel.org>, "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"andreyknvl@...il.com" <andreyknvl@...il.com>, "wangjinchao@...sion.com"
<wangjinchao@...sion.com>, "gshan@...hat.com" <gshan@...hat.com>,
"ricarkol@...gle.com" <ricarkol@...gle.com>, "linux-mm@...ck.org"
<linux-mm@...ck.org>, "lpieralisi@...nel.org" <lpieralisi@...nel.org>,
"rananta@...gle.com" <rananta@...gle.com>, "ryan.roberts@....com"
<ryan.roberts@....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>,
"kvmarm@...ts.linux.dev" <kvmarm@...ts.linux.dev>, Matt Ochs
<mochs@...dia.com>, Zhi Wang <zhiw@...dia.com>, "kvm@...r.kernel.org"
<kvm@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v6 3/4] kvm: arm64: set io memory s2 pte as normalnc for
vfio pci device
>> + /*
>> + * To provide VM with the ability to get device IO memory
>> + * with NormalNC property, map device MMIO as NormalNC in S2.
>> + */
>
> nit: the comment doesn't provide anything of value, the logic is rather
> straightforward here.
Sure, will remove it.
>>
>> + vfio_allow_wc = (vma->vm_flags & VM_VFIO_ALLOW_WC);
>
> Nitpick: no need for brackets, '=' has a pretty low precedence.
>
> Reviewed-by: Catalin Marinas <catalin.marinas@....com>
Will change it. Thanks for the review.
Powered by blists - more mailing lists