Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp525678rdb; Thu, 5 Oct 2023 12:56:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFI/4CWBCDq8OHNtBuPgnaBNL/Qzvws6hFEUg8ZajUVon6G08axKz9/EFm8Ga0c7FxnZRHH X-Received: by 2002:a05:6358:292a:b0:134:d45b:7dd1 with SMTP id y42-20020a056358292a00b00134d45b7dd1mr6540237rwb.21.1696535815037; Thu, 05 Oct 2023 12:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696535814; cv=none; d=google.com; s=arc-20160816; b=zufvYKhuOPcenzdavH2QoycWt9YQ9m0m8WUAK9VXl40ZLrajGco3wmx4VxZf+Ym+Nl SM6vdrOZmeFQFu07OQfEWJl0NTbQzcd6q9kl7nJ+Octlm0Ub+QHODGyGn4QNrXhZQcoG S/NS4stq12c4MpyuT2pIobnBb90wEmYtwYyUUQ6tXYdgIq2THboQ7HJqJOUvKwPaUMMs a+PmWgTxFPf4X0Pm2bi/yDso3vLufkaCZbDQ3rEYvmnnpcOmvEDZi07qE30Uyq0o+/BC cvC6zUBRbIZZa03CiPX8Grk+K1rHLBp+lf4DjB0aL1cp+hX38uSOApR40PMPgtFxbJOh +93A== 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 :dkim-signature; bh=d+yqXbWa5MGYF7rCvJhNcphv6cHYM2wubALpkaNRYgE=; fh=dyN8rlR8DIsO7hGArNuYLUXtXvDlE6dkZecyfb1jp0w=; b=A0x37kiAw/CxqZuoa6++2/S+dBireDu/3KMkjJTpDHmT5vrsoWeRoThXlGQz0oueA5 CbHDld9b72B5HTSV3rqfES1njVDx4NRKuLTuA0+dSulObNei2E8iX4fkOctzu32Ea95j oERTaOfPY9au7OGPeY0mrEVPLYEcfPPbwGKaIpaJvRyAAJldMKB1JOiw9SmMO+zstrZ3 B+wT3RTAptfblTTQcvwKypYV6tggoceZn1x3zszky4KTXLIiKt8jj0pxVw+sX5xlAZab Y4Dr/7yi5PgVJa+8K51p9QF0d5PjA769mCFKBSaGRbvsXuAMV1HeghUN7zP0OBwMJISs 8N6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iAbrK3F6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q21-20020a635055000000b00580e32f778csi2043612pgl.506.2023.10.05.12.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 12:56:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iAbrK3F6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 7170082D1C1D; Thu, 5 Oct 2023 12:56:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232006AbjJET4J (ORCPT + 99 others); Thu, 5 Oct 2023 15:56:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231825AbjJETzt (ORCPT ); Thu, 5 Oct 2023 15:55:49 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E99CCE; Thu, 5 Oct 2023 12:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696535748; x=1728071748; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EDSMQlWhSsxLzFyBq31WH4okGSdNULRVmIbq83ubD4s=; b=iAbrK3F6qtelIedhd9LSnjqk1oVy181YlnYdytwNIdmVnH/3i5o+g8kQ 6FubpqakFE/tkyMpyYVLG9ND019l5614wZTbV4l2q/TawymHS73wNP9Yl OYE8YboW2daBxNh2LG0xP6Qr+DY6fy8drvsEkh0SZ/PgiJsgpNRP+S4ss Rl/5p5AFt6Mnkjqufi+Qiil5aH/VLcaHmiD6V+k97hQAkCZYY81JPPBXG 48rYc/9f29E4mNkDhxDTP0IaOKTHRpCWzBsbrYBFb88H+BHkIE6LeJrWx x4dTGUhuV6WCGOBIgdRt9zFUmJ7bxezXsilRgVq+vfYNMToPmwtXz2wot g==; X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="386432591" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="386432591" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 12:55:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="755600137" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="755600137" Received: from jithujos.sc.intel.com ([172.25.103.66]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 12:55:45 -0700 From: Jithu Joseph To: ilpo.jarvinen@linux.intel.com, hdegoede@redhat.com, markgross@kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, rostedt@goodmis.org, jithu.joseph@intel.com, ashok.raj@intel.com, tony.luck@intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com, pengfei.xu@intel.com Subject: [PATCH v4 7/9] platform/x86/intel/ifs: Add new CPU support Date: Thu, 5 Oct 2023 12:51:35 -0700 Message-Id: <20231005195137.3117166-8-jithu.joseph@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231005195137.3117166-1-jithu.joseph@intel.com> References: <20230929202436.2850388-1-jithu.joseph@intel.com> <20231005195137.3117166-1-jithu.joseph@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 12:56:48 -0700 (PDT) Add Granite Rapids(GNR) and Sierra Forest(SRF) cpuids to x86 match table so that IFS driver can be loaded for those. Signed-off-by: Jithu Joseph Reviewed-by: Tony Luck Reviewed-by: Ilpo Järvinen Tested-by: Pengfei Xu --- drivers/platform/x86/intel/ifs/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/platform/x86/intel/ifs/core.c b/drivers/platform/x86/intel/ifs/core.c index 4ff2aa4b484b..0c8927916373 100644 --- a/drivers/platform/x86/intel/ifs/core.c +++ b/drivers/platform/x86/intel/ifs/core.c @@ -18,6 +18,9 @@ static const struct x86_cpu_id ifs_cpu_ids[] __initconst = { X86_MATCH(SAPPHIRERAPIDS_X), X86_MATCH(EMERALDRAPIDS_X), + X86_MATCH(GRANITERAPIDS_X), + X86_MATCH(GRANITERAPIDS_D), + X86_MATCH(ATOM_CRESTMONT_X), {} }; MODULE_DEVICE_TABLE(x86cpu, ifs_cpu_ids); -- 2.25.1