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

2019-09-23 Thread Justin He (Arm Technology China)
nology > China) ; nd > Subject: Re: [PATCH v8 1/3] arm64: cpufeature: introduce helper > cpu_has_hw_af() > > On Sat, Sep 21, 2019 at 09:50:52PM +0800, Jia He wrote: > > We unconditionally set the HW_AFDBM capability and only enable it on > > CPUs which real

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

2019-09-23 Thread Catalin Marinas
On Sat, Sep 21, 2019 at 09:50:52PM +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

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

2019-09-21 Thread Jia He
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(). Reported-by: kbuild test robot Suggested-by: Suzuki Poulose