arm64: Relax Documentation/arm64/tagged-pointers.rst
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Fri, 23 Aug 2019 16:37:17 +0000 (17:37 +0100)
committerWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 17:16:20 +0000 (18:16 +0100)
commit92af2b696119e491a95d77acdd8832b582d300d4
treefccf2394ba5784c978d80758bef60bab04f8ca5f
parent1243cb6a676ffcfa72dd25859edddf66cde0b638
arm64: Relax Documentation/arm64/tagged-pointers.rst

On AArch64 the TCR_EL1.TBI0 bit is set by default, allowing userspace
(EL0) to perform memory accesses through 64-bit pointers with a non-zero
top byte. However, such pointers were not allowed at the user-kernel
syscall ABI boundary.

With the Tagged Address ABI patchset, it is now possible to pass tagged
pointers to the syscalls. Relax the requirements described in
tagged-pointers.rst to be compliant with the behaviours guaranteed by
the AArch64 Tagged Address ABI.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Szabolcs Nagy <szabolcs.nagy@arm.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Acked-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Co-developed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/arm64/tagged-pointers.rst