[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN9PR11MB52769D9ECC43029B8B7DDAFC8C4F9@BN9PR11MB5276.namprd11.prod.outlook.com>
Date: Wed, 21 Sep 2022 09:36:25 +0000
From: "Tian, Kevin" <kevin.tian@...el.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
"Pan, Jacob jun" <jacob.jun.pan@...el.com>
CC: "Raj, Ashok" <ashok.raj@...el.com>,
"Kirill A. Shutemov" <kirill@...temov.name>,
Ashok Raj <ashok_raj@...ux.intel.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"Lutomirski, Andy" <luto@...nel.org>,
"Peter Zijlstra" <peterz@...radead.org>,
"x86@...nel.org" <x86@...nel.org>,
"Kostya Serebryany" <kcc@...gle.com>,
Andrey Ryabinin <ryabinin.a.a@...il.com>,
Andrey Konovalov <andreyknvl@...il.com>,
Alexander Potapenko <glider@...gle.com>,
Taras Madan <tarasmadan@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
"H . J . Lu" <hjl.tools@...il.com>,
Andi Kleen <ak@...ux.intel.com>,
"Edgecombe, Rick P" <rick.p.edgecombe@...el.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jason Gunthorpe <jgg@...dia.com>,
"Joerg Roedel" <joro@...tes.org>
Subject: RE: [PATCHv8 00/11] Linear Address Masking enabling
> From: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
> Sent: Friday, September 16, 2022 1:29 AM
>
> I really struggle with naming here. Any suggestions on what XXX has to be
> replaced with? I don't think it has to be limited to LAM as some other
> tagging implementation may come later.
What about ARCH_ENABLE_TAGGED_ADDR_CPU to mark that the application
tags address only on CPU and pays attention to untag when the address is
programmed to a device?
w/ ARCH_ENABLE_TAGGED_ADDR_CPU then LAM and SVA can co-exist.
The original ARCH_ENABLE_TAGGED_ADDR means that tagged address is
used on both CPU and device. Enabling sva on a device behind an iommu
which doesn't support LAM is then rejected if LAM has been enabled. and
vice versa.
Thanks
Kevin
Powered by blists - more mailing lists