Re: [PATCH v3 00/11] arm64: BTI kernel and vDSO support

Will Deacon
2020-05-07T17:28:41Z

On Wed, 6 May 2020 20:51:27 +0100, Mark Brown wrote:
> This patch series adds support for protecting the kernel and vDSO with
> BTI including code compiled with the BPF JIT at runtime.
>
> We build the kernel with annotations for BTI and then map the kernel
> with GP based on the support on the boot CPU, rejecting secondaries that
> don't have BTI support. If there is a need to handle big.LITTLE systems
> with mismatched BTI support we will have to revisit this, currently no
> such implementations exist.
>
> [...]

Applied to arm64 (for-next/bti), thanks!

[01/11] arm64: Document why we enable PAC support for leaf functions
https://git.kernel.org/arm64/c/717b938e22f8
[02/11] arm64: bti: Support building kernel C code using BTI
https://git.kernel.org/arm64/c/92e2294d870b
[03/11] arm64: asm: Override SYM_FUNC_START when building the kernel with BTI
https://git.kernel.org/arm64/c/714a8d02ca4d
[04/11] arm64: Set GP bit in kernel page tables to enable BTI for the kernel
https://git.kernel.org/arm64/c/c8027285e366
[05/11] arm64: bpf: Annotate JITed code for BTI
https://git.kernel.org/arm64/c/fa76cfe65c1d
[06/11] arm64: mm: Mark executable text as guarded pages
https://git.kernel.org/arm64/c/67d4a1cd0976
[07/11] arm64: bti: Provide Kconfig for kernel mode BTI
https://git.kernel.org/arm64/c/97fed779f2a6
[08/11] arm64: asm: Provide a mechanism for generating ELF note for BTI
https://git.kernel.org/arm64/c/3a9b136c998f
[09/11] arm64: vdso: Annotate for BTI
https://git.kernel.org/arm64/c/a6aadc28278a
[10/11] arm64: vdso: Force the vDSO to be linked as BTI when built for BTI
https://git.kernel.org/arm64/c/5e02a1887fce
[11/11] arm64: vdso: Map the vDSO text with guarded pages when built for BTI
https://git.kernel.org/arm64/c/bf740a905ffe

Cheers,
--
Will