Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3105440imm; Mon, 10 Sep 2018 11:06:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY04Jc0KuE2326B+bMhi/gzvnMUrH/8CBPWCzhhDd2Ajk5ztNMR6J4FHq8R2Wu6b65f3A84 X-Received: by 2002:a62:e218:: with SMTP id a24-v6mr24763658pfi.75.1536602802367; Mon, 10 Sep 2018 11:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536602802; cv=none; d=google.com; s=arc-20160816; b=xQYMCma7kjG85hgnberFWxNFt8v5Z5e9qMiWl5442xwU/82TwdkocjOJUyLPvTUcR2 hUbtJxEC0z/bl1JjbUtYoLsUM35ZtgERK+nJvWPNGHR1eZ36cDh1SRYmVEzW9YJgO5tS XGr7FDSE3R+V+Zzu+9B+/dWOP7sKeH1Vm7F50J0l5x2penwXJmBr1xK6Zif3qn9pWw5s 8Gxvw1ZZAGa/iHl7f6GCZ8ea6vQtEJ48V5NqAJeANkLAw9XjPl2WYPfFOMjnU/vSlzDd 8xtAbrxz58sutw/TcprC296vzrLZqUUDAecKvCsuaYshX0YhO5P29NsvI2aEyIbGIjUV t16g== 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; bh=22X3lQMf0nDno4NAZsK4DDLlsv1NX/UAI2mfLLcwarw=; b=n3HPruuiLiMr//1JHgNgk65TV0ckJMIgpCVPO93HROvYl5nx+WKjSPD8VZvTFzikIM KrQTcD+Uy2/XXKgzO/KpJHjIa9skPYLCJYbH4aR8D/dMEqDKQQFHqqB7Ykoo2xXXprT+ MKzOs5QuW6KNnNB99mKfl9bdcx+rZOBrZZ1My4YCW1NR39RGEBjXfGp6/ZCsy/lgENFn sO8taXxcLakSH/erImViJmMPwy9i8uEWWHy01t1UE7yKYYBMO94GWJKu+scFSnZU793v hVtpu1DuwrcuOzpyf1IFssG5HFoOQY8AjzIZnsRwCDiTxyD1LFtNt74mLk2NoFo7mqNS lQrg== 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 o20-v6si17848358pgk.120.2018.09.10.11.06.26; Mon, 10 Sep 2018 11:06:42 -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 S1727764AbeIJXBh (ORCPT + 99 others); Mon, 10 Sep 2018 19:01:37 -0400 Received: from mail.skyhub.de ([5.9.137.197]:34935 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbeIJXBh (ORCPT ); Mon, 10 Sep 2018 19:01:37 -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 g1G3Qz-BCHYK; Mon, 10 Sep 2018 20:06:19 +0200 (CEST) Received: from zn.tnic (p200300EC2BC6F600329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2bc6:f600: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 047C41EC01F6; Mon, 10 Sep 2018 20:06:18 +0200 (CEST) Date: Mon, 10 Sep 2018 20:06:13 +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 v6 03/16] x86/cpu/mtrr: Support TOP_MEM2 and get MTRR number Message-ID: <20180910180613.GE4386@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 Mon, Sep 10, 2018 at 09:16:03PM +0800, Pu Wen wrote: > The Hygon Dhyana CPU have a special magic MSR way to force WB for From the last review round: Also, it is "The ... CPU has a special..." Please take your time and incorporate *all* review feedback - no need to *rush* a new revision out and drop review feedback. > memory >4GB, and support TOP_MEM2. Therefore, it is necessary to > add Hygon Dhyana support in amd_special_default_mtrr(). > > The number of variable MTRRs for Hygon is 2 as AMD's. > > Signed-off-by: Pu Wen > --- > arch/x86/kernel/cpu/mtrr/cleanup.c | 3 ++- > arch/x86/kernel/cpu/mtrr/mtrr.c | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) With that fixed: Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.