Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37484730rwd; Tue, 11 Jul 2023 15:13:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlFA93hVVEGW3a8P9HAVglaT3qeiQbIzYkg3DY+JcElsRRpaSsaEMMC3zF3/RiWNBwRQmGiR X-Received: by 2002:a05:6358:4311:b0:134:d030:e5ce with SMTP id r17-20020a056358431100b00134d030e5cemr17476195rwc.24.1689113583030; Tue, 11 Jul 2023 15:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689113582; cv=none; d=google.com; s=arc-20160816; b=Hy35AV9VJzq/emW5Agm1Vq4TfXCvqUFfisgPJq/HyLOSyiFRylGPf5UFvFci8ansJG QvKKC/Si0r2rLzjN5fHMIEbnCYNCrJegamYCBEn7GTXQFVE7jpmITxfKFMSNoqhd0xdq YgcPlJ3n3NAszIAnQre2vjZU6Oh8+ZpfcLUVV/dK0UxbNB8fTpX8Y1lqhEy0JG3hpaE2 O5u+vJ+LlSBv3NWgDk+IhU4dEc42V/+9nP0/2IuXqK0wrxwBYA91NnqdiJ/fEl9qsjsE mtSNuJjE7Dc5m/KEJC2fTMznD6IfoHdahp3iTKWMFVlhDaScPtU1B4ZU/LpP1/BSPwkt aHlg== 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=Hk44f9wR/qKJ/x6eIXTsL7RU1e/saSi5OUZ2g9D1Cfs=; fh=RrsDx1xcApjH9kmgnnjBG2OUTNMHeDctDKwtVs2JDHk=; b=opRSuv8xeFbL9SCKM5k2NuyS7woweyb9ScGlB5WUbWg62vRTmcdsCDr+IdatdUeWMr 35zv9VPLXlWG/MIFzTsOLsgU7vTq6mg7Tpo3hejsBPWQmH5rqFePvOOcqbOw5Bb4zGPQ qNNuxHLdXGyLJJyZdyKHZL398Yb2EYmoOemQnIvCOrAfZJVh3HOM5Xh6/S51xhjU03GI KG7X3T2tXrtv2jDhkbf5y0+SNzkoEfhPYbqAb3U6nTId/rJAWn0fnzi3dSW/L6h+a1ai SMU4kePGaDSwk8KJ5Gd3YNzSqlZpG+imlu9o1HxzRzRlnabwOa7iATs/oJlEgkr4fTQW cyQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="YR07f7c/"; 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 h187-20020a636cc4000000b0055b4c11043asi1931405pgc.875.2023.07.11.15.12.38; Tue, 11 Jul 2023 15:13:02 -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="YR07f7c/"; 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 S231361AbjGKWKD (ORCPT + 99 others); Tue, 11 Jul 2023 18:10:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbjGKWKC (ORCPT ); Tue, 11 Jul 2023 18:10:02 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6FD01705; Tue, 11 Jul 2023 15:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689113401; x=1720649401; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=unLhgZdc1Wz+RdhYe9QyjJ10LglWZpGdhA/Duk3Ky10=; b=YR07f7c/2js05xF2doPH64F4JG7mLLKmntMn+nAMxDKL752L8sF0f+Pt 1l1krw+2sHv++VA4RqZBx2fSDInjxfS5cvHEf6P0WukAiz1MUMuB59Ivk 3wTZi+mydVK0aHxgNCQ0CmtN3aeaf+2KC4phobPmu24adcqCzQDOVcobX jdUBcjmGVKymeZupc8kypzMhT+XWm0RKlXAb6lvs36uNPNV+rZIZ+zqYI y9aXlWuTvZCTcW7dS2/L0ZoMLS0nQ791KCCJiEGpk4AaCQYRgJVQ9TvVI c7Rv/9f399PyFvBXIJDvVXAaChFAnZc8ZmD0PHG3ub8ITvuhPb0Vitmfu g==; X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="345058979" X-IronPort-AV: E=Sophos;i="6.01,197,1684825200"; d="scan'208";a="345058979" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2023 15:10:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="786795075" X-IronPort-AV: E=Sophos;i="6.01,197,1684825200"; d="scan'208";a="786795075" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by fmsmga008.fm.intel.com with ESMTP; 11 Jul 2023 15:10:01 -0700 From: Srinivas Pandruvada To: hdegoede@redhat.com, markgross@kernel.org, ilpo.jarvinen@linux.intel.com, andriy.shevchenko@linux.intel.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH v2 0/3] TPMI control and debugfs support Date: Tue, 11 Jul 2023 15:09:46 -0700 Message-Id: <20230711220949.71881-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 add support for debugfs. Debugfs also display feature status using the first patch Srinivas Pandruvada (3): platform/x86/intel/tpmi: Read feature control status platform/x86/intel/tpmi: Add debugfs interface doc: TPMI: Add debugfs documentation Documentation/ABI/testing/debugfs-tpmi | 31 ++ MAINTAINERS | 1 + drivers/platform/x86/intel/tpmi.c | 414 ++++++++++++++++++++++++- include/linux/intel_tpmi.h | 2 + 4 files changed, 441 insertions(+), 7 deletions(-) create mode 100644 Documentation/ABI/testing/debugfs-tpmi -- 2.40.1