Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3427255rdb; Wed, 13 Sep 2023 11:39:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEapUkRkrmSrf70JYrEE3MindvAJO9fjqT6jltQKJLyvgsV4nKZ1n1vdE5UieRrOjhSobpU X-Received: by 2002:a05:6a20:9384:b0:11f:4707:7365 with SMTP id x4-20020a056a20938400b0011f47077365mr3884798pzh.38.1694630357599; Wed, 13 Sep 2023 11:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694630357; cv=none; d=google.com; s=arc-20160816; b=0zbzV+nTOflxEgwZckWETGmDEbsNGCdOT2YW6SqmF2x1XyzfFQmoFUaeDi2x0h1o1E I+EkMZElPnfJubXdnTBO9JNkm6pC0amowTBlB1IYH3lYw7QqQNomOIR23izP4ZT/wvS4 ZZz8oTYcDzWrqqK0tL+NbH9OMvrDHLFVHdtZHq09Q2e/fWC1VzsGA2Zci0KDTTpKvbSD YKYlKt1GVNlrHS/PGnxzfGArH/4WIBtwfr30gabryHDnM4ROi1E4NFx+wfW4Ywl/m8MQ 49rXYvyFdno/plHIYUrWCvd+U2yZsezE0+1dplHoYU+kp6PHGe5lwUZiw3rRT2dRrFWm Q1mA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=XrkmPRvDhOTAvy0jIA+B3eNb+SEalIOB17nMQYh+6SA=; fh=8xS9zNNEexx7KHEczBpq5wXIDtxA/g5mXnxETx6X+p0=; b=hfGX3qsqv7jbnngsPXleRaiUG75YVutlP+5xlKLVB7Se/5diGnQUsC1NRva+VVUGna HzIcmfsfCxeyqcU/9Mwo93Sewcq0JkUEM7W2B5X3UileW1RZZDEmaajR45rLv4jH2Ylr 4k9emvJ5QbH1TGrX2OalJlcC8ehzLT0rxqcheU7ZaodlxpJMf1A2EuJMehOfD3BTLqHS v3VK2OhGmh5Kh46ygL0CQgs4GgJgDwlDLCPl9DCxpIFYNDwUZnjW5DoUm4lcfb/NUsIc RgoyP1Etg/KNsA6ll517fFG+M3T6roA8wyfpoRbCwJgR+LpCBbjU0fsAjM30dolsb6jL mlwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LFjoIi0O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id q200-20020a632ad1000000b005775d4973e5si7474677pgq.728.2023.09.13.11.39.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 11:39:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LFjoIi0O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 616BC812E037; Wed, 13 Sep 2023 11:38:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbjIMSh7 (ORCPT + 99 others); Wed, 13 Sep 2023 14:37:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjIMSh6 (ORCPT ); Wed, 13 Sep 2023 14:37:58 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B03CA3; Wed, 13 Sep 2023 11:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694630274; x=1726166274; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=m9uEFh1PK56Z7q+u6kDbQXw+ZQrWKN8Nj13N/OIjzBY=; b=LFjoIi0OjzDAthx7SjkiIoqaiYawOpx4ea6k200ncvS1DQ4SYjbkzqxc ydRdVwDTGFby8dqyZSR8Q9k5om/Ai04HYqphv8NAdYtDF47Ebo0/cxNQi oCHtXOImJ6Jo5pgzjRiAhlOdgfCHDrQuEMsMFmHjbSKpyrb7YPlGAYjhH s8Zjq3TYDqokXKsOC76ZrBcxvOcBjnwFBZmLYg1IEy6IFzKbuUuRgy/9i x9OHR5wvrHBCZT/VZe54k2zwLKJ8AcLDs8Tl0/T6A+PN0WF5tW3YS/uln oti2sL9YSy9l7EU4RBQw87DoansUkMvJwF5UCDr7MlZssgHiPJHGoh7Ld A==; X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="369019101" X-IronPort-AV: E=Sophos;i="6.02,143,1688454000"; d="scan'208";a="369019101" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 11:37:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="744238572" X-IronPort-AV: E=Sophos;i="6.02,143,1688454000"; d="scan'208";a="744238572" Received: from jithujos.sc.intel.com ([172.25.103.66]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 11:37:53 -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 Subject: [PATCH 00/10] IFS support for GNR and SRF Date: Wed, 13 Sep 2023 11:33:38 -0700 Message-Id: <20230913183348.1349409-1-jithu.joseph@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (pete.vger.email [0.0.0.0]); Wed, 13 Sep 2023 11:38:06 -0700 (PDT) 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 pete.vger.email This series adds 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/10 adds a bit definition to arch/x86/.../msr-index.h, hence x86 maintainers are cc-d. - patch 05/10 modifies an existing tracepoint, cc Steven Rostedt - Rest are localized to IFS driver Jithu Joseph (10): platform/x86/intel/ifs: Store IFS generation number platform/x86/intel/ifs: Refactor image loading code platform/x86/intel/ifs: Image loading for new generations platform/x86/intel/ifs: Scan test for new generations trace: platform/x86/intel/ifs: Modify scan trace 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 | 2 + drivers/platform/x86/intel/ifs/ifs.h | 47 +++++++ include/trace/events/intel_ifs.h | 16 +-- drivers/platform/x86/intel/ifs/core.c | 14 +- drivers/platform/x86/intel/ifs/load.c | 159 +++++++++++++++++++++-- drivers/platform/x86/intel/ifs/runtest.c | 68 +++++++++- 6 files changed, 273 insertions(+), 33 deletions(-) base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d -- 2.25.1