Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp441398rwp; Wed, 12 Jul 2023 16:15:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlHapMY34KVf1+V9mHL+uPD4RDvrSgSeuRsL1aIOymoZAsJ9Tln0++F4rgO1UIDSHf1qnLNd X-Received: by 2002:a17:90b:1d89:b0:263:50c2:e06b with SMTP id pf9-20020a17090b1d8900b0026350c2e06bmr15068581pjb.6.1689203719868; Wed, 12 Jul 2023 16:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689203719; cv=none; d=google.com; s=arc-20160816; b=rLN4JCw3d9ZV/KAMPrP2BvFkcTGd6X9gCNtQLtlcU60gLAErBZ+kVRX3Oz9rWF7/1s 0ASth6EWVsNyd7ynuqRtY3yR6ufzyv8Cj8CQtQhKlP51QGMkbHu7f2vRIQ0rQY4nJzO3 Q0BDLU26JaomJksbQTC0Q4PVXCKfKQzJn86DXxS4kQAc+26Qw+uswz3m0TID/6Ra4g13 2/GzOQfAw5IZwCrupKMxT6sHnytkPPAAMTqEwUipc4mpP0CTUlFGMBgHvFiDcDWxUEzb Vi4Mpg27RPiE1NT9jLIZjP2icjVWVvZH7Ids3hyYo77+kb6tlUJADNsQfg/GhqwSwCDf HZjA== 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=Coc4gaywvwmK3HNB4dLtOx3EkFusuQj9Sz9ulLgni4s=; fh=RrsDx1xcApjH9kmgnnjBG2OUTNMHeDctDKwtVs2JDHk=; b=cuhrC4sA80cL7SC1qCHV00LIu3DG3T/YShcYc6vlbJIjHmUExP+PlfNJnBOMAFxz3u S5CME0kgqFth9KongOF/2GGvwwx1v7/hZUWyYUuVfzO19u2zR7H/H1MdIAHtLUXfFOfN 2VL9pP6AMSFu8u/62fXDvRNtyFLWBaI/nbIldhCpX/V4b6XyNIeu3H59jT+Cn2R3Ufbc eC8h7tf1C911IIce2kfc0AYv9A3/rTlsZoLL9kLFpaLk4aBLO1pqpN9RJGKOvKSWFUc6 Ho5pej8mp9HWUt9HMPQ4qP8+oXkBtHDSksGYlN6con06hJVF3Hm5b2st76USOyqqWftA K90A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="itJ/yPjP"; 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 nk21-20020a17090b195500b00263a985aba5si7372463pjb.149.2023.07.12.16.15.07; Wed, 12 Jul 2023 16:15: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="itJ/yPjP"; 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 S232571AbjGLW7z (ORCPT + 99 others); Wed, 12 Jul 2023 18:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231992AbjGLW7y (ORCPT ); Wed, 12 Jul 2023 18:59:54 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C2CF19B; Wed, 12 Jul 2023 15:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689202793; x=1720738793; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=QLyzwLLJT2VmUqd0W3y5LiYxPBIhNu1P+fiJzOi88LA=; b=itJ/yPjPRXsNtzIvfHc4Y4j3rcYfL97LTdTv8NIzLzP4k8Zj/Fx13FZ7 wVg251HpwDbXCQC6soFKOhoDBSlMBTxgG4qBmJfZAaPUUN8Cnc2tdy+IV LmoPm2dy845PX9l+s+oh9fJYkXZH4tibtRtZN/hBTxKjrCNtH5GJAuLXr +rwAqHB/wAyPvnnj/OvncG7kzQRrqDO9kDoSxaJaKeAZ27+XwRPeH6mRY P52ANjBhTn3VqAh3ECyWiJNjK9X9gZmL2UZhP++u4vMKzFVB4b+35fRjw yp0OiVc/Sb5hIxDLXr1w1VuMafCkQGEHsnF2MmTbGlD3tnQHRJNOC9SWu Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10769"; a="431172815" X-IronPort-AV: E=Sophos;i="6.01,200,1684825200"; d="scan'208";a="431172815" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2023 15:59:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10769"; a="866316691" X-IronPort-AV: E=Sophos;i="6.01,200,1684825200"; d="scan'208";a="866316691" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by fmsmga001.fm.intel.com with ESMTP; 12 Jul 2023 15:59:52 -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 v3 0/3] TPMI control and debugfs support Date: Wed, 12 Jul 2023 15:59:47 -0700 Message-Id: <20230712225950.171326-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=-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,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 | 399 ++++++++++++++++++++++++- include/linux/intel_tpmi.h | 2 + 4 files changed, 426 insertions(+), 7 deletions(-) create mode 100644 Documentation/ABI/testing/debugfs-tpmi -- 2.40.1