Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1607156rwd; Thu, 15 Jun 2023 12:57:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QQfEbVNeI0KZNKCxcK5i61jucwOyPYqCS7ZhmBEKZizYWz8NVNCC/PyR+eIPyBZ7HD4Hp X-Received: by 2002:a05:6a20:6a0d:b0:117:b923:5106 with SMTP id p13-20020a056a206a0d00b00117b9235106mr397728pzk.43.1686859039857; Thu, 15 Jun 2023 12:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686859039; cv=none; d=google.com; s=arc-20160816; b=N1PlmbWxPA5BpiogLRFnz6LQvFvLzjBz1EQSjdIdvjkbMe+Fo+stlkIPyKLLRsai1A 0lQtcv5N4cloVzu4hGxDsW62Du+Vf9EP00cnRxfPlLPTmRGehuNPLz1sc58fLWst2oBm exmr8+kEDuWMbHXP9w9YsksX3b1e7lQhsouksBicCGsnh838FZyykEC2l+RrqwT3mMDF aBUZ+/9TjwcUDIwyo54swEtR+QhYDU4xc6o1A3GEOhyOoBsDUd/DX7euchiFU0/GEUdu xQACbbWgLLm8dQuUOYcfVmeTAAP7OzVWck3StRyqCLbe4LJhej5Hs03TDIOkuS6bLWJc bO0g== 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=T4/UOAnMdGcopnYdyN/HMHKD2QRifBjSPQh/WXWlep4=; b=imDXIKVKERI/WXQY504H3k2NVBjei+P0Sep5GxHQqNIqZWEc4/7e/bTzM88Y2KPYCv oiny7s1e+x3IRM/VVLJ1B22YNP06hT8VXGGmA68aHTxxKg33tV611hZhZNEL+1EPXPRZ TN2xSm+OgLAgkDSXtjwk8qoSnylwS/sN52teLNk2Eq4oaP5d/O6bcTN2t0J7EVlFzDhC 8S9/aG6GDHu/kWN4BwtacNtKKdu8GTgNUQ1bIyGcnBwQT9CWR1C1DmpDdD8l/FOaIjim bU97Px9muDPEz0iGLSHra5WmP7IL3tlVtoon1MvFDXht0Wnvqj5eAWpsDVLz6miJs2Zn QQDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=c+0FGs4S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a170902ce9000b001b205a14113si14336548plg.386.2023.06.15.12.56.56; Thu, 15 Jun 2023 12:57:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=c+0FGs4S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbjFOTd0 (ORCPT + 99 others); Thu, 15 Jun 2023 15:33:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjFOTdY (ORCPT ); Thu, 15 Jun 2023 15:33:24 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F21BB2951; Thu, 15 Jun 2023 12:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686857603; x=1718393603; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mLqcWJWoexRHei6/aIZxWlYH6hmP7LHDW9VcM+zztrk=; b=c+0FGs4Svem0HV8musr5QNX3Nqb8QSwiK8e/9BZCRHVu2l1fJcbtF7LZ AzJ+ASOPD6V7frAALumAj/Adw1pll1Lo0vBUdi8pCnq+40YcwhCUv0ZP+ /iKh1z8LyMLawUYdQDaz12T5v0b5b8WhlPrdNWSosSbV5QDB9RZLIsgqO L75G6uLS4wpFn0vjVM/9r2gJB2rgP0dWAJzdRjqc+M9nOfFhUQqukMq2c cs27kKxW8KgO1WDkNfiZZI9MOWIBCPJv2FVSUWa7DNLm+FAuO/wivGHBE W9BweFZmJ+kN5XPzfv6NSwBww4+p3OvU0wHyOOCQsIDmoxjXMWFnnjDqf w==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="359019789" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="359019789" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 12:33:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="825414308" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="825414308" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by fmsmga002.fm.intel.com with ESMTP; 15 Jun 2023 12:33:22 -0700 From: Srinivas Pandruvada To: hdegoede@redhat.com, markgross@kernel.org Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH 0/2] TPMI debugfs suport Date: Thu, 15 Jun 2023 12:33:00 -0700 Message-Id: <20230615193302.2507338-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch provides interface to read feature status. This is generic patch to be used by other feature drivers. The second patch patch add support for debugfs. Debugfs also display feature status using the first patch. Srinivas Pandruvada (2): platform/x86/intel/tpmi: Read feature control status platform/x86/intel/tpmi: Add debugfs interface drivers/platform/x86/intel/tpmi.c | 392 +++++++++++++++++++++++++++++- include/linux/intel_tpmi.h | 2 + 2 files changed, 387 insertions(+), 7 deletions(-) -- 2.38.1