Re: [PATCH 15/16] arm64: Delay enabling hardware DBM feature

2018-01-30 Thread Dave Martin
On Fri, Jan 26, 2018 at 04:05:24PM +, Suzuki K Poulose wrote: > On 26/01/18 14:41, Dave Martin wrote: > >On Tue, Jan 23, 2018 at 12:28:08PM +, Suzuki K Poulose wrote: > >>We enable hardware DBM bit in a capable CPU, very early in the > >>boot via __cpu_setup. This doesn't give us a flexibil

Re: [PATCH 15/16] arm64: Delay enabling hardware DBM feature

2018-01-26 Thread Suzuki K Poulose
On 26/01/18 14:41, Dave Martin wrote: On Tue, Jan 23, 2018 at 12:28:08PM +, Suzuki K Poulose wrote: We enable hardware DBM bit in a capable CPU, very early in the boot via __cpu_setup. This doesn't give us a flexibility of optionally disable the feature, as the clearing the bit is a bit cost

Re: [PATCH 15/16] arm64: Delay enabling hardware DBM feature

2018-01-26 Thread Dave Martin
On Tue, Jan 23, 2018 at 12:28:08PM +, Suzuki K Poulose wrote: > We enable hardware DBM bit in a capable CPU, very early in the > boot via __cpu_setup. This doesn't give us a flexibility of > optionally disable the feature, as the clearing the bit > is a bit costly as the TLB can cache the setti

[PATCH 15/16] arm64: Delay enabling hardware DBM feature

2018-01-23 Thread Suzuki K Poulose
We enable hardware DBM bit in a capable CPU, very early in the boot via __cpu_setup. This doesn't give us a flexibility of optionally disable the feature, as the clearing the bit is a bit costly as the TLB can cache the settings. Instead, we delay enabling the feature until the CPU is brought up in