答复: [PATCH v1 1/3] x86/cpu: Create Zhaoxin processors architecture support file

From: TonyWWang-oc
Date: Fri May 24 2019 - 04:31:57 EST


On Thu, May 23, 2019, gregkh@xxxxxxxxxxxxxxxxxxx wrote:
>> To identify Zhaoxin CPU, add a new vendor type X86_VENDOR_ZHAOXIN
>> for system recognition.
>>
>> Signed-off-by: TonyWWang <TonyWWang-oc@xxxxxxxxxxx>
>
>Some basic patch tips. Your From: line needs to match the signed-off-by
>line, which is not true here. Also, please use your name with ' '
>characters.

Thank you, I will follow these tips.

>
>> +static void init_zhaoxin_cap(struct cpuinfo_x86 *c)
>> +{
>> + u32 lo, hi;
>> +
>> + /* Test for Extended Feature Flags presence */
>> + if (cpuid_eax(0xC0000000) >= 0xC0000001) {
>> + u32 tmp = cpuid_edx(0xC0000001);
>
>This patch is totally corrupted, with leading spaces dropped and tabs
>turned into spaces. Please read the email client documentation in the
>kernel directory for how to fix your email client, or just use 'git
>send-email' to send the patches out directly.

Sorry for that! I was made a mistake to send the patch with HTML format.
I will set up my email client correctly.

Thanks
TonyWWang-oc