Thread (17 messages) 17 messages, 3 authors, 2021-06-21

Re: [PATCH v16 7/7] KVM: arm64: Document MTE capability and ioctl

From: Steven Price <steven.price@arm.com>
Date: 2021-06-21 08:18:39
Also in: kvmarm, lkml, qemu-devel

On 18/06/2021 15:52, Catalin Marinas wrote:
On Fri, Jun 18, 2021 at 02:28:26PM +0100, Steven Price wrote:
quoted
+When this capability is enabled all memory in (non-device) memslots must not
+used VM_SHARED, attempts to create a memslot with a VM_SHARED mmap will result
+in an -EINVAL return.
"must not used" doesn't sound right. Anyway, I'd remove VM_SHARED as
that's a kernel internal and not something the VMM needs to be aware of.
Just say something like "memslots must be mapped as shareable
(MAP_SHARED)".
I think I meant "must not use" - and indeed memslots must *not* be
mapped as shareable. I'll update to this wording:

  When this capability is enabled all memory in memslots must be mapped as
  not-shareable (no MAP_SHARED), attempts to create a memslot with MAP_SHARED
  will result in an -EINVAL return.
Otherwise:

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Thanks,

Steve

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help