Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1671477pxj; Wed, 19 May 2021 11:06:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQbgb7V1RUUkmt159rz3DFKK+VaBUjZPlx+iFx8CAwD17sFzuNnEEMNV+v5/xP7IxZ2bXI X-Received: by 2002:a17:907:1b02:: with SMTP id mp2mr366458ejc.196.1621447599518; Wed, 19 May 2021 11:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621447599; cv=none; d=google.com; s=arc-20160816; b=NS8gLVsV1eFFr79LLla79CnLxLZ6rOwA3IPSVQAckniNsjO+dB/YhcgEI9H+wra4Hz v/zoHMxRoZovzFDbHCWDuMw6j/sroBG5vApsgFkm73WcvwcYS4s0C6D8QLh92idmiG9M Mw03n6upc1VqcGBTWCZin1Z1XVM+yKZVN1lr8bvf0KSA4e2yIB9tibmcAWUUPTlyRn1w PJsKyCCIhKvhqlc5tnX43Yd+yffRMOMrTriJrHI4E2NXAPcerSX44Fo67GI8XaYe19CV yKHWATKmLzhVGTY8qhwk4L4O2JEwtKwnTM7tTVi0OU3QHYy3uD+L6VwDMmT7rRv9NxIO XR1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=T+KCxmPXRYoE5t+YMn7cN/wuXi2/1R72Gd0BBCr7c3c=; b=n6Nw0eYxrwx+9cd+4RSwWEvOZtDgzhC6WdAS5tgrm30vCjdgNY0zRBVExBRjpzB8eM CmRQNRmjmzjdJJoA5jrelEsZ/YV5YR2txSwOBsCRiu0uCNiO4um4LJ8FpTPJrnbUFYBP PsIdY6hgEAX/N4Zl/Iko8SS5GtnM4HhIAMFO3+NTO+LeGLF3MJp4j7fQTqfvqfErTnKR Q5rH3WdC4hDnhtcfLO0F/xI3mLF8rInly2IGu/5bcsaVl1hmIZCVEiYwPy0A9HuhviwM z7w8DCHYSBPXFLz2bYBRLEbKJmPjxZY2u3QK7BG7kGg82kLoVB2XhxqFVymCFJLSxOWj ib4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si58859edq.568.2021.05.19.11.06.14; Wed, 19 May 2021 11:06:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245619AbhERMgH (ORCPT + 99 others); Tue, 18 May 2021 08:36:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:36562 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245556AbhERMgB (ORCPT ); Tue, 18 May 2021 08:36:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 06714B06A; Tue, 18 May 2021 12:34:42 +0000 (UTC) From: Giovanni Gherdovich To: "Rafael J . Wysocki" , Viresh Kumar Cc: Srinivas Pandruvada , Doug Smythies , Len Brown , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Giovanni Gherdovich Subject: [PATCH v3 2/2] cpufreq: intel_pstate: Add Cometlake support in no-HWP mode Date: Tue, 18 May 2021 14:34:13 +0200 Message-Id: <20210518123413.20670-2-ggherdovich@suse.cz> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210518123413.20670-1-ggherdovich@suse.cz> References: <20210518123413.20670-1-ggherdovich@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Users may disable HWP in firmware, in which case intel_pstate wouldn't load unless the CPU model is explicitly supported. See also commit d8de7a44e11f ("cpufreq: intel_pstate: Add Skylake servers support"). Suggested-by: Doug Smythies Tested-by: Doug Smythies Signed-off-by: Giovanni Gherdovich --- drivers/cpufreq/intel_pstate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 9a93603acd3f..a6d8e56c8e27 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -2087,6 +2087,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = { X86_MATCH(ATOM_GOLDMONT, core_funcs), X86_MATCH(ATOM_GOLDMONT_PLUS, core_funcs), X86_MATCH(SKYLAKE_X, core_funcs), + X86_MATCH(COMETLAKE, core_funcs), X86_MATCH(ICELAKE_X, core_funcs), {} }; -- 2.26.2