Message ID | 20231005195137.3117166-1-jithu.joseph@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp532022vqb; Thu, 5 Oct 2023 12:56:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpUO8qL0GVgXJIqUilRdsJm6e3vUSp0fBp+4vuFZQYLPpCnb1126Yx9bvA9oWZs38jiPqR X-Received: by 2002:a17:903:124d:b0:1bf:d92e:c5a7 with SMTP id u13-20020a170903124d00b001bfd92ec5a7mr7161049plh.28.1696535766233; Thu, 05 Oct 2023 12:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696535766; cv=none; d=google.com; s=arc-20160816; b=eFJTfsTYHXKJF0myx0d9cgYSSDZmqM6a4AWN5T0Tgk1rKZP7y+YV4opWZNMhFnySwf PdDe1plN6vcpXjKCiFeKIcqypmj7QG/YaHBHbizbVhzusSvPOEwiqj4ScGQKuhIGJDcE DD/XVlZ4GzDuTeSywYtvYvavypspxEq4eExw6kxGFJbK4FlcvBIchL+n5Lb0/2GL4vir ke1bVg69yUgkNOvpQyZ76QRjWJHpPgy0Y9MXkV/S+NtpCBYwJsUYQ7OOWgLGeKucEc9/ f7Yb41GSvU/fB8ttpD3DrjQK4kyQ3OM1vs0F/XYxWfF9C47B1jUPl7sgBGHsbHRHxYnP fyyw== 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=6oHE1AIje7jBdCPP+KLjSxbswxEcUsB62nj7OoW8LRE=; fh=dyN8rlR8DIsO7hGArNuYLUXtXvDlE6dkZecyfb1jp0w=; b=hfnv1ER5DtVdhRkDrhjR4KPGQn+ANTQI1Dh8ehmTJkgQ5aIDyUSDNaKqqHWZWIwGMj M+KRfYvK1VmKTYthhJZH9Hct/AUxyYN+AdjDt/WdHEOxIoWgS2ld9QveRnfo5iGGiIM9 /BtitF5ZQOxHtFvTBrXL4LYfM7QQ7w4KSh68kjZ9WXWYF//WMGRh9qw/9ZmYn/GeAqGL wDeSWoW+8xXu0EnDFWFW6s75Qt0+Z2Tj6PSKEadcXksrBvm8GD3wYSLL4O5G9ruYMG5K mgvNUsKRG1nvXWSf4RjrQPTwZge+8cvdtLnRIiCHLVKsEba6CngB5yVCBMBrHmbqpYbK 7Kpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ewnuJ5s1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ij19-20020a170902ab5300b001c61bdd8e89si2035590plb.150.2023.10.05.12.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 12:56:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ewnuJ5s1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 452948078655; Thu, 5 Oct 2023 12:56:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231637AbjJETzr (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Thu, 5 Oct 2023 15:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjJETzq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Oct 2023 15:55:46 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B0EADB; Thu, 5 Oct 2023 12:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696535745; x=1728071745; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xRdIGrMu0iispDmD5LNO95ypugEOWAVy/AAjlhz/WJk=; b=ewnuJ5s1vr/K9hw94XHL39wd1FtEB8uWccgSDO0ww0qi6R0QXZ7oq/b+ 7dO/1pktjRC62+XgwbEx3CQPp6ksmdZQf0Or7iuuQEHNKBWLoytKkAeq0 WvdlMxVsox1+MHJ/jARH5CcCLjaI3Lw01c1RPmBztlE+KKaylYEthGavY zLFqepHC7B9ukBE1e09VX72MG+9HpLzDYuYhHwc285SDBCG/cmbslfkst eHTj+xxP1fut9xvJkSnOjskp56CoQumWl2gEFZ3PCA9VWfhPHZyZpaKTv +Sbq1Bl5FUPTOjM6CcDxNiOFiUwEz0EAdYem9q4gvZun4VqCSTGi9X7a+ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="386432534" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="386432534" 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:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="755600113" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="755600113" 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:43 -0700 From: Jithu Joseph <jithu.joseph@intel.com> 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 0/9] IFS support for GNR and SRF Date: Thu, 5 Oct 2023 12:51:28 -0700 Message-Id: <20231005195137.3117166-1-jithu.joseph@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230929202436.2850388-1-jithu.joseph@intel.com> References: <20230929202436.2850388-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.9 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 05 Oct 2023 12:56:00 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776967004619774384 X-GMAIL-MSGID: 1778946687660556677 |
Series |
IFS support for GNR and SRF
|
|
Message
Jithu Joseph
Oct. 5, 2023, 7:51 p.m. UTC
Changes in v4 Ilpo Järvinen - Changed the dev_err/warn printk format specifiers to more appropriate ones (patch 5, 6) - Add defines for array generation (patch 9) v3 submission Link: https://lore.kernel.org/lkml/20230929202436.2850388-1-jithu.joseph@intel.com/ Changes in v3 Ilpo Järvinen - Added Reviewed-by tags wherever provided - In function validate_ifs_metadata() (patch 6) - Add != 0 to next line for clarity - In function ifs_load_firmware() (patch 5) - return -EINVAL instead of -BADFD - In function ifs_test_core() (patch 4) - initialize activate.gen0.rsvd = 0 - use if instead of conditional operator - alignment change in ifs_scan_hashes_status_gen2 (patch 3) v2 submission Link: https://lore.kernel.org/lkml/20230922232606.1928026-1-jithu.joseph@intel.com/ Changes in v2 Ilpo Järvinen - Use GENMASK_ULL() / FIELD_GET() for bitops (patch 01) - Avoid mixing u8 type and bitfields in certain MSR structure scenarios (patch03 also suggested by Dave Hansen) - Expand bitfield structures to use consistent genx naming (patch 04) - Replace goto with do / while (patch 03) - general formatting (multiple patches) - remove un-necessary parenthesis - reformat commit message to use whole allowed 72 columns - alignment changes Other change - fold v1 04/10 and 05/10 into v2 patch 04/09 to satisfy build constraints due to consistent genx naming v1 submission: Link: https://lore.kernel.org/lkml/20230913183348.1349409-1-jithu.joseph@intel.com/ This series adds In Field Scan(IFS) support for newer CPUs like Granite Rapids(GNR) and Sierra Forest(SRF). There are changes in the IFS image loading and test flow to support these new CPUs. Note to reviewers: - patch 1/9 adds a bit mask to arch/x86/.../msr-index.h, hence x86 maintainers are cc-d. - patch 4/9 modifies an existing tracepoint, cc Steven Rostedt - Rest are localized to IFS driver Jithu Joseph (9): platform/x86/intel/ifs: Store IFS generation number platform/x86/intel/ifs: Refactor image loading code platform/x86/intel/ifs: Gen2 scan image loading platform/x86/intel/ifs: Gen2 Scan test support platform/x86/intel/ifs: Validate image size platform/x86/intel/ifs: Metadata validation for start_chunk platform/x86/intel/ifs: Add new CPU support platform/x86/intel/ifs: Add new error code platform/x86/intel/ifs: ARRAY BIST for Sierra Forest arch/x86/include/asm/msr-index.h | 1 + drivers/platform/x86/intel/ifs/ifs.h | 64 ++++++++- include/trace/events/intel_ifs.h | 16 +-- drivers/platform/x86/intel/ifs/core.c | 15 ++- drivers/platform/x86/intel/ifs/load.c | 158 +++++++++++++++++++++-- drivers/platform/x86/intel/ifs/runtest.c | 72 +++++++++-- 6 files changed, 286 insertions(+), 40 deletions(-) base-commit: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa