ClangBuiltLinux / boot-utils

Collection of files for booting Linux kernels
26 stars 7 forks source link

qemu: aarch64: switch to -cpu max for PAC/BTI #20

Closed nickdesaulniers closed 4 years ago

nickdesaulniers commented 4 years ago

The PAC/BTI instructions were added in v8.3a/v8.5a. (See https://reviews.llvm.org/D62609). Without enabling this cpu, the instructions are treated as NOPS. Switch to a CPU that will use these instructions, testing kernel configs (CONFIG_ARM64_PTR_AUTH, CONFIG_ARM64_BTI) which we will ship and Android+CrOS as soon as hardware is available.

Suggested-by: Mark Brown broonie@kernel.org

nickdesaulniers commented 4 years ago

thanks for the reviews!