Re: [PATCH v5 11/17] arm64: docs: document pointer authentication

From: Ramana Radhakrishnan
Date: Fri Nov 02 2018 - 05:46:53 EST



>> +
>> +When CONFIG_ARM64_PTR_AUTH is selected, and relevant HW support is
>> +present, the kernel will assign a random APIAKey value to each process
>> +at exec*() time. This key is shared by all threads within the process,
>> +and the key is preserved across fork(). Presence of functionality using
>> +APIAKey is advertised via HWCAP_APIA.
>
> It might be useful to include documentation here on how many bits of
> the address are being used for the PAC bits (I'm assuming it's 7?)


the number of bits available depends on the VA size, so you can't really
document a number.

Ramana

>
> -Kees
>