Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4054787imm; Tue, 11 Sep 2018 06:20:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYO1YPum04vwf0SPYYud5f723ASrJyRHfiSIo4wyr9vDOdkv9fnjU5rNI6TVhJvsPCtOC0Z X-Received: by 2002:a62:2b50:: with SMTP id r77-v6mr29303559pfr.51.1536672019903; Tue, 11 Sep 2018 06:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536672019; cv=none; d=google.com; s=arc-20160816; b=uJqdqaJckwdQSAo6eh9QzxiEDJqMwzEyIxd2RONWyhxrGus6K0jLXYtIzUWRxZ5Md6 FDZ6BJh7o88MnDN6RN6rLEoWMy+PUFAYAhYJxEpQEP6m16XqYBkqIHUJcVKLiPyda4Nd geOogZjOtpfqkixtLgRjtLDYjwODUbZcFx6W0c3Dx6RsdBrbl2o53hiSigOaIl6xgvla xC84h2QAN2trcaqh4oy5LD1g6Xhjwve28LYwxHKR0aZxqa33KUa/Y1zFBk413Sj5kX/6 HAWcitWGdWNUqFpp34Slp7he3a5d74M/D/Jb2je6Tk4Qr73lBUh/zc3TW/vs5w+EexCL pkeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from; bh=iO30Hk5taD+XjxvXEY6DCVmxroGs4q/TSKdTkVgsBEc=; b=hsYiH/V5cSq8asNzbZdRULmjOenLigAx+NfiDXcgjWaHRxXsE88JkVixjDfuNmFSJ4 ZGYHfp33PoKC9vqTRwxJS54ZqGyK1E+usPkDagcc5jxbvS+Yp7Ir7lcrFqAMzynofN/z 7o7on0Fq3ZIdLKZWRdHul57zi76z7XWBbeCrUz6dbZZcK2tlmr5h+sMeAgJgc0RJweAS S4M9UzDiRHava0GjWIiWBKvIPzgO1UsuFlpP3xA8XLr0LHyBETKsn6hF+XRwmL+40kL2 72B2NzC61/kaFNZz6B8A6Skj1ewfVM/mlOaATi/kWE2Ia2QVwStJDLuytfLC7b9m02qW zBng== ARC-Authentication-Results: i=1; mx.google.com; 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 g6-v6si18574058pgq.240.2018.09.11.06.19.58; Tue, 11 Sep 2018 06:20:19 -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; 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 S1727689AbeIKSRA (ORCPT + 99 others); Tue, 11 Sep 2018 14:17:00 -0400 Received: from smtp17.cstnet.cn ([159.226.251.17]:56427 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726943AbeIKSRA (ORCPT ); Tue, 11 Sep 2018 14:17:00 -0400 Received: from [172.20.20.131] (unknown [182.150.46.145]) by APP-09 (Coremail) with SMTP id swCowAB3We5pwJdb0Q_tCA--.39013S2; Tue, 11 Sep 2018 21:17:30 +0800 (CST) From: Pu Wen Subject: Re: [PATCH v6 09/16] x86/bugs: Add mitigation to spectre and no meltdown for Hygon Dhyana To: Borislav Petkov Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, thomas.lendacky@amd.com, pbonzini@redhat.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org References: <191ce6b53269e90fdc26ee49ef337b905bd7d99c.1536550550.git.puwen@hygon.cn> <20180911103828.GF12094@zn.tnic> Message-ID: <58bffcfe-c941-5831-dd39-d1f06ef359e8@hygon.cn> Date: Tue, 11 Sep 2018 21:17:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180911103828.GF12094@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CM-TRANSID: swCowAB3We5pwJdb0Q_tCA--.39013S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYo7k0a2IF6F4UM7kC6x804xWl14x267AK xVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j 6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Gr 0_Cr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv 0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z2 80aVAFwI0_Gr1j6F4UJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lc7I2V7IY 0VAS07AlzVAYIcxG8wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s 026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_ Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20x vEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6rWUJVWrZr1UMIIF0xvEx4A2 jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0x ZFpf9x07jU4SrUUUUU= X-Originating-IP: [182.150.46.145] X-CM-SenderInfo: psxzv046klw03qof0z/ Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/9/11 18:38, Borislav Petkov wrote: >> if (cmd == SPECTRE_V2_CMD_RETPOLINE_AMD && >> + boot_cpu_data.x86_vendor != X86_VENDOR_HYGON && >> boot_cpu_data.x86_vendor != X86_VENDOR_AMD) { >> - pr_err("retpoline,amd selected but CPU is not AMD. Switching to AUTO select\n"); >> + pr_err("retpoline,amd selected but CPU is not AMD or Hygon. Switching to AUTO select\n"); > > Didn't we say, no user-visible changes pls? Sorry for the incomplete modification. Will revert the pr_err string. -- Regards, Pu Wen