Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2592371imm; Tue, 4 Sep 2018 07:04:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbLyXk5GhbqjvxWs3sJQ64GIL1jvDkunoQjsosPGORrMwGwiRhuZx++CxQnelZHVZqA3BUs X-Received: by 2002:a63:c544:: with SMTP id g4-v6mr11463738pgd.113.1536069883290; Tue, 04 Sep 2018 07:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536069883; cv=none; d=google.com; s=arc-20160816; b=Qc5sBUFPqqSgWQh/l+l2fnYsvHJWYmZik+FEAyJDsbsMtT3gEAqpsENphWecWY8pc3 ep+xOLsRXph6YUh78ebAw0SiH5wE7L+L0jRqoyJkhf2QyjiCaulfKFXXzVZtH5GhuBVg kXIy9ah2s6iSGPMdVAFmGR8CBBTSjpkO67br+qZcHSOG5akW8BIuIBZBJyUtKgrGnYIV QkSwwXHjnvIDH+9usH0Qn3d3+p7HyfOWvpg60Cn1gRJW0Sae/ANaXs1/R/Fla/E1rJbJ o9u0b13eSiPpF4WzI2nqp2ttQjwAj/QY7/x6t5kUEEMuXNYl+30N3CMHrfHOyEFSema8 WUrw== 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:arc-authentication-results; bh=htM7vxPgBK4NxPv4v8Hp2Kdp/etPZGKkHkOrP8Ku0QM=; b=Q1buV4t2a6/1WExLEmDUviVZM5t3AgbiG5st2H+716DB4TDtkSfz6/NnZl090D++mv TALccd/PYPtaMLlxnJV0j4Ez3FC3BjfbECUi3cjJ0VnI7iShmRdJMwXE75ohQlapuOB+ o3x8KEloonR/Py2RkvrvqRN0e1WkluDQh1+q8ZVeVV2pqZumK3XzI9FJqhW5aFMaTaae K8d+Cu+5CPvD4DJeE4pOx4CEQ6mF+OLrlbdQWKSWJd06hOpKsBMIXZq17uwiDQtyCaIm uC99mM1duIq5BO5dCv2CWLppukuGLtfF2+qzl/ghNqjdteDPKKJYD4AyUSRNXO8bXrgs Hxlw== 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 m61-v6si20958529plb.296.2018.09.04.07.04.27; Tue, 04 Sep 2018 07:04:43 -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 S1727272AbeIDS1g (ORCPT + 99 others); Tue, 4 Sep 2018 14:27:36 -0400 Received: from mail.skyhub.de ([5.9.137.197]:46132 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbeIDS1f (ORCPT ); Tue, 4 Sep 2018 14:27:35 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AMBSiqrHsVUr; Tue, 4 Sep 2018 16:02:03 +0200 (CEST) Received: from zn.tnic (p200300EC2BC9A500329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2bc9:a500:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id D80B81EC0253; Tue, 4 Sep 2018 16:02:02 +0200 (CEST) Date: Tue, 4 Sep 2018 16:01:55 +0200 From: Borislav Petkov To: Pu Wen 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 Subject: Re: [PATCH v5 06/16] x86/nops: init ideal_nops for Hygon Message-ID: <20180904140155.GH32615@zn.tnic> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 29, 2018 at 08:44:07PM +0800, Pu Wen wrote: > The ideal_nops for Dhyana processors should be p6_nops. > > Signed-off-by: Pu Wen > --- > arch/x86/kernel/alternative.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c > index 014f214..3f51d1c 100644 > --- a/arch/x86/kernel/alternative.c > +++ b/arch/x86/kernel/alternative.c > @@ -222,6 +222,10 @@ void __init arch_init_ideal_nops(void) > } > break; > > + case X86_VENDOR_HYGON: > + ideal_nops = p6_nops; > + return; > + > case X86_VENDOR_AMD: > if (boot_cpu_data.x86 > 0xf) { > ideal_nops = p6_nops; > -- Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.