Re: [PATCH v6 1/2] arm64: Define Documentation/arm64/tagged-address-abi.rst

2019-07-30 Thread Kevin Brodsky
Some more comments. Mostly minor wording issues, except the prctl() exclusion at the end. On 25/07/2019 14:50, Vincenzo Frascino wrote: On arm64 the TCR_EL1.TBI0 bit has been always enabled hence the userspace (EL0) is allowed to set a non-zero value in the top byte but the resulting pointers a

Re: [PATCH v6 1/2] arm64: Define Documentation/arm64/tagged-address-abi.rst

2019-07-30 Thread Kevin Brodsky
On 30/07/2019 14:25, Vincenzo Frascino wrote: Hi Kevin, On 7/30/19 11:32 AM, Kevin Brodsky wrote: Some more comments. Mostly minor wording issues, except the prctl() exclusion at the end. On 25/07/2019 14:50, Vincenzo Frascino wrote: On arm64 the TCR_EL1.TBI0 bit has been always enabled

Re: [PATCH v6 1/2] arm64: Define Documentation/arm64/tagged-address-abi.rst

2019-07-30 Thread Kevin Brodsky
On 30/07/2019 15:24, Vincenzo Frascino wrote: Hi Kevin, On 7/30/19 2:57 PM, Kevin Brodsky wrote: On 30/07/2019 14:25, Vincenzo Frascino wrote: Hi Kevin, On 7/30/19 11:32 AM, Kevin Brodsky wrote: Some more comments. Mostly minor wording issues, except the prctl() exclusion at the end. On 25

Re: [PATCH v8 4/5] arm64: Define Documentation/arm64/tagged-address-abi.rst

2019-08-15 Thread Kevin Brodsky
allows userspace to pass certain tagged pointers to kernel syscalls. Cc: Will Deacon Cc: Andrey Konovalov Cc: Szabolcs Nagy Cc: Kevin Brodsky Signed-off-by: Vincenzo Frascino Co-developed-by: Catalin Marinas Signed-off-by: Catalin Marinas --- Documentation/arm64/tagged-address-abi.rst

Re: [PATCH v9 2/3] arm64: Define Documentation/arm64/tagged-address-abi.rst

2019-08-22 Thread Kevin Brodsky
document describing the relaxation of the syscall ABI that allows userspace to pass certain tagged pointers to kernel syscalls. Cc: Will Deacon Cc: Andrey Konovalov Cc: Szabolcs Nagy Cc: Kevin Brodsky Signed-off-by: Vincenzo Frascino Co-developed-by: Catalin Marinas Signed-off-by: Catalin

Re: [PATCH v5 1/2] arm64: Define Documentation/arm64/tagged-address-abi.txt

2019-06-18 Thread Kevin Brodsky
I'm happy with the ABI overall, but I think we need a few more tweaks. On 13/06/2019 16:51, Vincenzo Frascino wrote: On arm64 the TCR_EL1.TBI0 bit has been always enabled hence the userspace (EL0) is allowed to set a non-zero value in the top byte but the resulting pointers are not allowed at th

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2019-02-11 Thread Kevin Brodsky
On 19/12/2018 12:52, Dave Martin wrote: On Tue, Dec 18, 2018 at 05:59:38PM +, Catalin Marinas wrote: On Tue, Dec 18, 2018 at 04:03:38PM +0100, Andrey Konovalov wrote: On Wed, Dec 12, 2018 at 4:02 PM Catalin Marinas wrote: The summary of our internal discussions (mostly between kernel deve

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2019-02-13 Thread Kevin Brodsky
(+Cc other people with MTE experience: Branislav, Ruben) On 13/02/2019 14:58, Dave Martin wrote: On Tue, Feb 12, 2019 at 06:02:24PM +, Catalin Marinas wrote: On Mon, Feb 11, 2019 at 12:32:55PM -0800, Evgenii Stepanov wrote: On Mon, Feb 11, 2019 at 9:28 AM Kevin Brodsky wrote: On 19/12

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2019-02-14 Thread Kevin Brodsky
On 13/02/2019 21:41, Evgenii Stepanov wrote: On Wed, Feb 13, 2019 at 9:43 AM Dave Martin wrote: On Wed, Feb 13, 2019 at 04:42:11PM +, Kevin Brodsky wrote: (+Cc other people with MTE experience: Branislav, Ruben) [...] I'm wondering whether we can piggy-back on existing concepts

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2019-02-26 Thread Kevin Brodsky
On 25/02/2019 18:02, Szabolcs Nagy wrote: On 25/02/2019 16:57, Catalin Marinas wrote: On Tue, Feb 19, 2019 at 06:38:31PM +, Szabolcs Nagy wrote: i think these rules work for the cases i care about, a more tricky question is when/how to check for the new syscall abi and when/how the TCR_EL1.