Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp62232rdh; Sat, 23 Sep 2023 01:19:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGdOKyUEIFy4/2a0o9P+t70U6EP5Gxkvppr/1uqGK+vvr4U4E78AhYvodeFZ6+lob8C/SST X-Received: by 2002:a17:90a:e551:b0:262:f449:4497 with SMTP id ei17-20020a17090ae55100b00262f4494497mr1728236pjb.2.1695457155101; Sat, 23 Sep 2023 01:19:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695457155; cv=none; d=google.com; s=arc-20160816; b=tGClxlEaim7NzFZXreKDe3hzb73Dt3YQ4KakJI5vTir2n4Q3QCeKSOyydyNenjMzts AicGbbrIlhHSTBSQtuCHGKjj+jFlNMxcNvLq25TjKm3NCs1gVcNy0UypmD+0B528PCa2 kXmzCL8eGziWhtsu8t+QUSWxCNYX8VZn1Ikvp5Ow9HULzdUtHzH9Mbju9IM3L0IFuop9 yDpP2naTgiitoYEoemhw3dkHPJZ9okTGCmDi+t8XSD/fkdygagi8ySASWvQsUELchOL5 wz+Jno+/MPXHe1VrxDj2rg4qrmecMhkgUw7WNHgD4hpziq5wEDaIJLnGPcsYzR/6zM3w Ns+g== 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=UWzOtiedDWuKVLGoqQP0eHN4d6LH3Mvvm6rh4NyOuGc=; fh=DZTEBuCdFfe2DSdaI+6ceTR59ce872SNjmboNXW/0pA=; b=ppJnZukHpFizxGlQXEgQtTJ/Ifib5s+0sn2Evrkji+PV76NKHBJmSVZM7D7Cpl5QuW 10L6RtJi5i0rUMa/zhJPW3UQv46+cybSsbSb7OpdXcCgM19MNRVJGl91krbu1g3h1jh/ f/AN4fsxr7M4RJPxgfQ2YJBzyqiwu7AENmiT/Vryon121ZONPXtVr/XXZ39K7ZdpMCNC jutqsK1g+WZdxCHiCo3Mz0ZzsYRjqIB670Qj6whg/s9x3BY2nIhaNG8Ixc2XnLgGcu4j 8dZ2KHpfJ6YgMs5yecz5CM2B3Cl1uKGHdAbyS6npWkpoXeBvOywGWtvwrTsZjB7sNUng My5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ejUnw9t2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id rm2-20020a17090b3ec200b002741a4172a2si8435573pjb.84.2023.09.23.01.19.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 01:19:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ejUnw9t2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 E6EA382B0FEF; Fri, 22 Sep 2023 16:30:55 -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 S230301AbjIVXaU (ORCPT + 99 others); Fri, 22 Sep 2023 19:30:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjIVXaT (ORCPT ); Fri, 22 Sep 2023 19:30:19 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71C881A1; Fri, 22 Sep 2023 16:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695425413; x=1726961413; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FgznEb/ZjEtrj+bbsNzpou8xTksYrm7CNJN/7B5bxvQ=; b=ejUnw9t2KKKYhx3bsIks2d0Do8vR38XYsZydow/8AOL4HsYXbSn/A4n+ G3/zo2iJDvJw2DU2YR5XfXS8DDrw+Pdt6R1xJq2+e+yh0gf+4n3OiumZF 8ADqkFxqZpNH5kVXm8EVGY42mbAtC0AVeoFoYFgyDh/iXjvab6hu4j8aV CTNNQCJboE46WzzQECiyxX7ZvaK0hxA7IP/U3CMXTo931sSn1UydWLqMK GkRltSG0egAemT2uHmfr4aqv9A5mLqwpuppZ419qaYFTD77NBsVD2Rome lVA1KAC5awI/plSbNHtkb8oir1jo4HUsw0R/joap6J7CjhCXKkgGWrtjW w==; X-IronPort-AV: E=McAfee;i="6600,9927,10841"; a="411896913" X-IronPort-AV: E=Sophos;i="6.03,169,1694761200"; d="scan'208";a="411896913" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 16:30:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10841"; a="921350821" X-IronPort-AV: E=Sophos;i="6.03,169,1694761200"; d="scan'208";a="921350821" Received: from jithujos.sc.intel.com ([172.25.103.66]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 16:30:10 -0700 From: Jithu Joseph To: 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, ilpo.jarvinen@linux.intel.com Subject: [PATCH v2 0/9] IFS support for GNR and SRF Date: Fri, 22 Sep 2023 16:25:57 -0700 Message-Id: <20230922232606.1928026-1-jithu.joseph@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230913183348.1349409-1-jithu.joseph@intel.com> References: <20230913183348.1349409-1-jithu.joseph@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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]); Fri, 22 Sep 2023 16:30:56 -0700 (PDT) X-Spam-Level: ** Changes in v2 Ilpo Jarvinen - 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 01/09 adds a bit mask to arch/x86/.../msr-index.h, hence x86 maintainers are cc-d. - patch 04/09 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 | 61 ++++++++- 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 | 69 ++++++++-- 6 files changed, 280 insertions(+), 40 deletions(-) base-commit: ce9ecca0238b140b88f43859b211c9fdfd8e5b70 -- 2.25.1