[lkml]   [2021]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 19/21] arm64: cpufeatures: Allow disabling of BTI from the command-line
Hi Marc,

On 1/23/2021 6:24 AM, Catalin Marinas wrote:
> On Mon, Jan 18, 2021 at 09:45:31AM +0000, Marc Zyngier wrote:
>> In order to be able to disable BTI at runtime, whether it is
>> for testing purposes, or to work around HW issues, let's add
>> support for overriding the ID_AA64PFR1_EL1.BTI field.
>> This is further mapped on the arm64.nobti command-line alias.
>> Signed-off-by: Marc Zyngier <>
> Reviewed-by: Catalin Marinas <>
Verified this Series for BTI as well for command line control.
With arm64.nobti:
BTI is disabled on both primary and secondary cores as expected(verified
page table entries).
HWCAPs show no BTI support and kernel instructions are being treated as
We don't have plan to repeat the test on v5 as there are not major
changes here.

Tested-by: Srinivas Ramana <>

 \ /
  Last update: 2021-01-27 04:41    [W:0.074 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site