Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751543AbeCLJ0n (ORCPT ); Mon, 12 Mar 2018 05:26:43 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:42959 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbeCLJ0l (ORCPT ); Mon, 12 Mar 2018 05:26:41 -0400 From: "Rafael J. Wysocki" To: Ingo Molnar Cc: David Wang , "len.brown@intel.com" , "pavel@ucw.cz" , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "linux-pm@kernel.org" , "linux-kernel@vger.kernel.org" , "Bruce Chang (VAS)" , "Cooper Yan(BJ-RD)" , "Qiyuan Wang(BJ-RD)" , Benjamin Pan , Luke Lin , "Tim Guo(BJ-RD)" , "Cobe Chen(BJ-RD)" , "Jiangbo Wang(BJ-RD)" Subject: Re: =?UTF-8?B?562U5aSNOg==?= [PATCH] Delete some unusefull operations for centaur CPU/platform Date: Mon, 12 Mar 2018 10:27:18 +0100 Message-ID: <1792259.nnz4czxE5K@aspire.rjw.lan> In-Reply-To: <20180312084033.lignixrpg4ruoxbq@gmail.com> References: <1519963908-4359-1-git-send-email-davidwang@zhaoxin.com> <20180312084033.lignixrpg4ruoxbq@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, March 12, 2018 9:40:33 AM CET Ingo Molnar wrote: > > * David Wang wrote: > > > [David] pr->flags.has_cst means BIOS define valid C state table. And at lease > > define 2 entries. On all centaur platform which support C3, this condition is > > always true. > > > [David] Just as the following comment said, we need not execute WBINVD and > > ARB_DISABLE/ARB_ENABLE when entering C3 if bm_check=1 and bm_control=0. This > > logic is valid for all platform not only for Centaur, I think. > > Ok, fair enough! Well, I still have this one queued up as cpuidle material. I can drop it if you want to take it instead. Thanks, Rafael