Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1393246rwp; Thu, 13 Jul 2023 10:09:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlEbCoqSfeknpCZRYZTowEPv18GIdvM1ZanVFyb1wei6XoEiu1RYA+1FoUjqeueEInpul9dt X-Received: by 2002:a50:fb88:0:b0:51e:fd3:ae5f with SMTP id e8-20020a50fb88000000b0051e0fd3ae5fmr2766128edq.19.1689268139712; Thu, 13 Jul 2023 10:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689268139; cv=none; d=google.com; s=arc-20160816; b=dF5ixPdTEELCeTglvw5ULUvq1Onxv1MHjKnOQMWXi+1JpqdqW9Ii0bw0G5DD9wpOzw 9lj9uzzQJjhyHe8OnN/ogE9vqsLhbfGoI2x7wb0yUuErvXES4ghaQLSTztg8fad4BzOz h9aKsabJiATg8DxSfI3u5Bg7Daw4T+QpeR8QWbNKCc19y2sy4X/TPGQV8FIEbiceUF1Z ughC20KEngQrfI6w7OPOR23HL2I+bd3HVaEfbYuZNYKLqqOD8fHZ1Cp9qiWbfLmRWIbr aS67t5t+nVwmIoO7Keo6RMFpYPDaHqe439d80l61zgc1CQL4XjccpMj2nbKfg/ysjc96 0BtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Wwfdb6uzGT1kaVqaKr13wx097yA2fX2LL+jOTIGmldM=; fh=qi+/aQXMcduBJzzbGZLwETj/th1f1EDip9tDipRZhDQ=; b=A5KqNsuBUOR+HvnFaZ42HRjJopvFFP0JgQlZl3+CnZ85bLAHdk3ut/0/IGJIuiY55V COuN0d2R4h5MjsoQIjWdryaxHcG2x1JvkbvLIPVp4hwwvtDSQcoR4dTucjhC5OR/RqlJ H1HQP3b4P/sYgdtmiEIup7EV8ghx6B2EGRAvsake/XqnkXMoKlg0z1npQB7q/DSCUy0E Z6cZSiv6+W9nrQfXugtwug8i8GWC1YDNNQJoL2WN/S6p5U/anoRcOuoO2yA5Vd2Axa+N fyYlSGyv3PvkKryN49j6UxpqXwDpSDLpLcKdDJ00JS02mqZvJTqi9TOsZ7twgtX6pEZx BIfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RsSn98qN; 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 m17-20020aa7d351000000b0052061adfbb4si27886edr.80.2023.07.13.10.08.34; Thu, 13 Jul 2023 10:08:59 -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=RsSn98qN; 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 S230468AbjGMQtZ (ORCPT + 99 others); Thu, 13 Jul 2023 12:49:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235409AbjGMQtL (ORCPT ); Thu, 13 Jul 2023 12:49:11 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E277130F2; Thu, 13 Jul 2023 09:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689266936; x=1720802936; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=59+LYzhy+0HnTxIOhHyvr1lUJNvrJlPI3qg9viatPhw=; b=RsSn98qNzo36YDz8LB9gE/UYTT+FNCd8p1PdHEz3NhgigiWapiBGy9jw XjIh9jECFZVM5pyuPgBhtqoytUGm5YZJUe7eF3Jh1ZsP3DzAlPXdXmKL6 AXltNhTjtY6cqRwneDaSI70OzVYUgISWvp6gOeQfCDnK6VbbB8o02yEnm 7JsqSroTBPbL+WJnqbeGoUM5+YyDtMfc3qnHlNlyQny4crYxRh5Qmal7b jdCpTOVd+utwYDnFBAxjeXXH56aCLmXWWEA+ddc/vM7YNywYh5AbE+eyc d9cI+ykItg9m5gK6ra5UfYFlqp5F7AMfGnYnxGCXxrZIazFcboAG43sxX A==; X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="365286096" X-IronPort-AV: E=Sophos;i="6.01,203,1684825200"; d="scan'208";a="365286096" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2023 09:48:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="787520642" X-IronPort-AV: E=Sophos;i="6.01,203,1684825200"; d="scan'208";a="787520642" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga008.fm.intel.com with ESMTP; 13 Jul 2023 09:48:54 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qJzUr-002RPD-1P; Thu, 13 Jul 2023 19:48:53 +0300 Date: Thu, 13 Jul 2023 19:48:53 +0300 From: Andy Shevchenko To: Srinivas Pandruvada Cc: hdegoede@redhat.com, markgross@kernel.org, ilpo.jarvinen@linux.intel.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] TPMI control and debugfs support Message-ID: References: <20230712225950.171326-1-srinivas.pandruvada@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230712225950.171326-1-srinivas.pandruvada@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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, RCVD_IN_MSPIKE_H2,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 On Wed, Jul 12, 2023 at 03:59:47PM -0700, Srinivas Pandruvada wrote: > 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 Reviewed-by: Andy Shevchenko A couple of nit-picks in the individual comments. > 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 > -- With Best Regards, Andy Shevchenko