Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1574539ybm; Thu, 23 May 2019 03:25:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwnfPMiOQIKmJGNJONCtgZ1JBL4RY8J09E4ZD2AUO1pZ1i0PsEpoGdOqw8xGmIphSbsmn6 X-Received: by 2002:a17:902:59c3:: with SMTP id d3mr25283067plj.273.1558607147473; Thu, 23 May 2019 03:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558607147; cv=none; d=google.com; s=arc-20160816; b=zbxCZ+aebSjp9d56GusHOLCmmxboQZGYl6HVKFltxqY5LpNksebFPRXtH4uMLYO9sF bQZSvSvnjbCJ7m9rWWwX+rvQItEASgvrSwRw5QkhJeuHdj9vc7YiWd1MeuVzV43q5ElF yqxGNehllUWUCtkrnvgMaNUjx2PlQK+faGCVIWcboy6ykZbSZiK7pTZxQTLlq4Dpto8Q inuJLIi2N8ibxzKCrrAF2bC3CuxqxugKfyi3WgvdNYxC1XK2KNhSA4JWnEgwKNQt0IAL Bu6CAFvEca98E7Ya2h7dVuTswzitNlpgwXFH0rLm4WdSxC0AqgZj5mgOV4pq55WFuvrp sdDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ytatr6EhCUJopLWePN5IE7eF5Qdg6JFIMDo/LPyp5vI=; b=EnIv89XWhQ1OnT/9r2t7knfz57HvFsQY0/U7s3qIkHVVR4EDJwlqayRDy81T5/gNs/ nabLkRtzph/j4bqZQxC0qIjbtG+W8DVfldX3MaQjUEC0/5CN1Zmjd58k+wEELmunmuvR UeSLeRatPBN526Gk4t4R0/QnDYJwtgdX3bZL21cl1tW0LpTYM4cFI0OavTQRPZWvrPDM bB6cLBKUNoG2cb7vyccInVZnf7Bt40SWZR56ZyRKA9pnN+yuxbkFw2otwGwlF87HNb/R 9mreQzyBhqosKDpwv7PWXSkTNedvYeTsGk2PKMFQPHhEoK6WwxOEHEsDlgX9ujaaPARW 5pJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R1I4s6xo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay7si7413454plb.135.2019.05.23.03.25.32; Thu, 23 May 2019 03:25:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R1I4s6xo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730318AbfEWKYV (ORCPT + 99 others); Thu, 23 May 2019 06:24:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:34914 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727434AbfEWKYV (ORCPT ); Thu, 23 May 2019 06:24:21 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BC4D821019; Thu, 23 May 2019 10:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558607060; bh=wwEsmD+B8RSaHZAKiFtbTCvX2vdCBpasMFVbWCQ5tUE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R1I4s6xoKw0XEzKVK2nCyE9doCMYwomT9ZM2H8Hv08ZogY6duNmL+QLwuubYtZg2E 5WM9aSatQshuvFuOOG/EeypRrPtBlSG68V4lBvG78mzUj2LBHWrj3M5OjD/iIzTA2i 2noeAO11qIpLDFVjsj1eY01b7bg1fy7/kVPfEZXA= Date: Thu, 23 May 2019 12:24:17 +0200 From: "gregkh@linuxfoundation.org" To: TonyWWang-oc Cc: "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "rjw@rjwysocki.net" , "lenb@kernel.org" , David Wang , "Cooper Yan(BJ-RD)" , "Qiyuan Wang(BJ-RD)" , "Herry Yang(BJ-RD)" Subject: Re: [PATCH v1 1/3] x86/cpu: Create Zhaoxin processors architecture support file Message-ID: <20190523102417.GC11016@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 23, 2019 at 10:10:52AM +0000, TonyWWang-oc wrote: > Add x86 architecture support for new Zhaoxin processors. > Carve out initialization code needed by Zhaoxin processors into > a separate compilation unit. > > To identify Zhaoxin CPU, add a new vendor type X86_VENDOR_ZHAOXIN > for system recognition. > > Signed-off-by: TonyWWang 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. > +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. thanks, greg k-h