]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44fd43770c3587a2a580cef1d4f3c512430b87f9
treefccf2394ba5784c978d80758bef60bab04f8ca5f
parent81a7ba147e8daa5200dd657d535a62ad9d0ebb20
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