From patchwork Tue Jul 11 22:09:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srinivas pandruvada X-Patchwork-Id: 13309431 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2317BEB64DC for ; Tue, 11 Jul 2023 22:10:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbjGKWKD (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@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