Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [PATCHv8 00/11] Linear Address Masking enabling | Date | Wed, 21 Sep 2022 09:36:25 +0000 |
| |
> From: Kirill A. Shutemov <kirill.shutemov@linux.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
| |