On 2017/11/28 19:40, Suzuki K Poulose wrote:
Cc: linux-arm-kernelThanks a lot for the reply, Ok
On 28/11/17 11:17, gengdongjiu wrote:
Hi,suzuki/mark,
Hello!
Please Cc linux-arm-kernel mailing list in the future for any arm/arm64 kernel
related queries.
yes, normally the arm64_cpu_capabilities features are 4bits. However, in my
ÂÂ very sorry to disturb you, I have a question that want to consult with you. For the CPU feature detection,
why we use extract 4 bits width for the feature match instead of the actual bits number[1]? may be the actual hardware feature bit more than 4 bits.
There are features which could be more or less than 4bit wide. However,
all the arm64_cpu_capabilities features are 4bits and hence the hard coded
bits there. If we ever come across handling capabilities which are not
standard size, we could add the necessary code to support it.
platform, there is a private CPU feature which is more than 4bits.
Are you planning to add something which does require the change ? Please
feel free to send patches.
If I support this feature, I have to change it and not use 4bits. This CPU
feature is private, I does not want to upstream the whole feature.
If I only send the change about using actual width instead of 4 bits when detection feature ,
I am not sure you are agree.