Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp106182rwd; Mon, 12 Jun 2023 10:41:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ717U3IQO4nT2gRXHpwfw3o3Ha9kgML2X8XhHCcp14Svhn0HUncb/Dob3X+A92KxJ4xLnxg X-Received: by 2002:a05:6a00:248f:b0:64f:835c:a9ff with SMTP id c15-20020a056a00248f00b0064f835ca9ffmr13410862pfv.12.1686591710802; Mon, 12 Jun 2023 10:41:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686591710; cv=none; d=google.com; s=arc-20160816; b=lIWY6JJ6EhMpQngU4LFYDVQFQrxwyEzVF2FisX1D7ufIXfOI25KQQewteRS2jxn/pY vh8Qp6DUwQZIEHMsruZkOPy5SLpTqGm0CoJDXbPYV1k81zKVOEq00KBv/mNR85xuor9c cHYlWEy/dFCJxDPrXxKVjLDfr+zX6lmMKjVbPomLSmAatGLq57ozRpbyJZvAaAj2JMPh rvbqrkZbDb17jswtcOyvp9YXfHTnH8nIDD/xipWRYceXhPyxw5p9u8TyyghhVcVs730v JBgTrcRshOiMG11cwd+nF+6L2svp7yA5oaxGdHzqHL1rNo/mGGW/AGPvHTtQCRvIjpo/ AgKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=3jIjN/SA+XKKFeClaAbQ+rzCoEYCLhqBeJoUdKiPX5M=; b=PT78hx3KECXNLESSfvEz7/CzBm0tTNLpPAb3fcvhp0wpTFk+ZFwfyjJ94GqaMIJP/W mkItEL1//zWmTVFvjym7zzrcXtPGiwqFTKwKEKDAHqX8LaTpc+ciYB6wSZyb8q9eWFIK QCTa9XMhNoNk78BXRCKAVX+W3PpilqqStOv+pI9bZoJbH7O2AAwRPcHVKsm0UCBJbFJy 9nz2U8vDNLMtsm5c6NrzdCVUxGhMKoRZrS7lCYlzoBWu0KeWPA/UIb/OrTK4+m6HjFTx eQ8Xnjj7kPlyX1f1sO86M6Cl2hXceBBoLolezrawOLiDPK7Qp94glgz9bOCuV2ZGn5gl GY9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a637f07000000b0053f32b910c1si3658641pgd.700.2023.06.12.10.41.37; Mon, 12 Jun 2023 10:41:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235206AbjFLR1V convert rfc822-to-8bit (ORCPT + 99 others); Mon, 12 Jun 2023 13:27:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237374AbjFLR1J (ORCPT ); Mon, 12 Jun 2023 13:27:09 -0400 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 589C8107; Mon, 12 Jun 2023 10:27:06 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-30fbaf12bbaso441816f8f.1; Mon, 12 Jun 2023 10:27:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686590825; x=1689182825; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U+blguC2WbFz1aop25IT0egRp+jWYhhHvAbXh2rsQ/A=; b=kzn7UCa2Zh8EEBtRt6HdE9kHlzv+y/KBkACyY9XPkLQ+FbsmxNKxLiQN8eDME9gtxx mu8bxunGEyqP4IVElg64/3t1xJIY1l8/y9XNv76W0GMWxrMrp140/3iM5B/oyhLgHxm5 RIcGvz2k4tFbWYsNiZBsRCERQOJMDVNXuycivKzBxCk97fAiVJV0QJo/cTELISlvKPhc M52TMZS9Yw4f6P/TNA3LtCsXhzftsIqQNqT41OdcxYauZhtgg53XXn5g0jsvo6yBNYLK 7U1Z4trU7JocE85B+iYkQ4kXSSV+2hUPn83lCKSuT5UxyNEJS/VBKe8ZVzaWqY7lbnkD ye8w== X-Gm-Message-State: AC+VfDzjPWv09x/VbDsI/gb7Gki6v/XkkkrmDVutby4W/tK0AwNWXtXS pQKFhwnERKAONFYaaUyKl6U2xlJCPabJAGj645S+LvNk X-Received: by 2002:a5d:48c7:0:b0:30a:d0a0:266e with SMTP id p7-20020a5d48c7000000b0030ad0a0266emr7096018wrs.2.1686590824776; Mon, 12 Jun 2023 10:27:04 -0700 (PDT) MIME-Version: 1.0 References: <20230606095641.5357-1-TonyWWang-oc@zhaoxin.com> In-Reply-To: <20230606095641.5357-1-TonyWWang-oc@zhaoxin.com> From: "Rafael J. Wysocki" Date: Mon, 12 Jun 2023 19:26:53 +0200 Message-ID: Subject: Re: [PATCH] ACPI: acpi_pad: mark Zhaoxin CPUs NONSTOP TSC correctly To: Tony W Wang-oc Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, CobeChen@zhaoxin.com, TimGuo@zhaoxin.com, LeoLiu-oc@zhaoxin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 6, 2023 at 11:56 AM Tony W Wang-oc wrote: > > Zhaoxin CPUs support NONSTOP TSC feature, so do not mark these CPUs > TSC unstable when use the acpi_pad driver. > > Signed-off-by: Tony W Wang-oc > --- > drivers/acpi/acpi_pad.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c > index 02f1a1b1143c..7a453c5ff303 100644 > --- a/drivers/acpi/acpi_pad.c > +++ b/drivers/acpi/acpi_pad.c > @@ -66,6 +66,7 @@ static void power_saving_mwait_init(void) > case X86_VENDOR_AMD: > case X86_VENDOR_INTEL: > case X86_VENDOR_ZHAOXIN: > + case X86_VENDOR_CENTAUR: > /* > * AMD Fam10h TSC will tick in all > * C/P/S0/S1 states when this bit is set. > -- Applied as 6.5 material, thanks!