Re: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-10-08 Thread Jia He
China) Subject: Re: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af() On Tue, 1 Oct 2019 13:54:47 +0100 Will Deacon wrote: On Mon, Sep 30, 2019 at 09:57:38AM +0800, Jia He wrote: We unconditionally set the HW_AFDBM capability and only enable it on CPUs which really have the

Re: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-10-08 Thread Suzuki K Poulose
Rutland ; James Morse ; Matthew Wilcox ; Kirill A. Shutemov ; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; linux...@kvack.org; Punit Agrawal ; Thomas Gleixner ; Andrew Morton ; hejia...@gmail.com; Kaly Xin (Arm Technology China) Subject: Re: [PATCH v10 1/3] arm64: cpufeature

RE: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-10-07 Thread Justin He (Arm Technology China)
atthew Wilcox ; Kirill A. Shutemov > ; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; linux...@kvack.org; Punit Agrawal > ; Thomas Gleixner ; > Andrew Morton ; hejia...@gmail.com; Kaly > Xin (Arm Technology China) > Subject: Re: [PATCH v10 1/3] arm64: cpufeature:

Re: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-10-01 Thread Marc Zyngier
On Tue, 1 Oct 2019 13:54:47 +0100 Will Deacon wrote: > On Mon, Sep 30, 2019 at 09:57:38AM +0800, Jia He wrote: > > We unconditionally set the HW_AFDBM capability and only enable it on > > CPUs which really have the feature. But sometimes we need to know > > whether this cpu has the capability of

Re: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-10-01 Thread Will Deacon
On Mon, Sep 30, 2019 at 09:57:38AM +0800, Jia He wrote: > We unconditionally set the HW_AFDBM capability and only enable it on > CPUs which really have the feature. But sometimes we need to know > whether this cpu has the capability of HW AF. So decouple AF from > DBM by new helper cpu_has_hw_af().