Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp683672pxb; Wed, 3 Nov 2021 10:35:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgDRBFmyhVbHfBItU0grl/JarR+i5Uo9EloknQVGbusyY5R8Lj0B9xRkIjos4HNx2SKqus X-Received: by 2002:a05:6e02:14d3:: with SMTP id o19mr32573428ilk.156.1635960956510; Wed, 03 Nov 2021 10:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635960956; cv=none; d=google.com; s=arc-20160816; b=sMBXQyQBEXj2XQgloyftqGE7UEl/A1Yv7eYtJAdTNgccbA6qrMByqcFlDCQ8I2exNE eXkvHvij52Dg5SxJaFaBSqf5Mvft0lhM6FPQJ2YhhKubcQiPXgN+Cq4m+co2NicMG7FC mMQhJ3V9z1NdKBkUpAP45PMAl1sN270M11tqhXs+S6ircgxIaCLT1M4VF8wj6f2p/Lqj 734ibOrCBYC6CBa32MzYg2WpHBTgXO2CYOmcLqSjICnROzXm6X8VAe4CUjENxbrBXy7L ozVgKvvHm2ff0ZXloOc7WhwjMIgCHZOPgA6bgtefAQHksQPl5HQpPrZ5c2CmqTaOenG5 thTw== 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; bh=9aS8SShw6Y2F/JojbbzPP9CbT2Xb8O3x8FdfFC9X5Io=; b=gz2r4zYxSSBc/4Y0VokJtFGbRPzE3+Frb54ZLBeyYAirHGLDXt7MwggkBlBywviQh4 /hLvo0WSR/8DDvnwpKbCshWV8m/0uhC5d8/TBw34BrpE1DhWcFjEAqMWTGfEEsF/fwIg /O+d4wJjPJG+A32kstXbi0Ijudog0MfFpMzHafFvGsovjD8Xunaw7fL9THC7obcsbT1f CXFHzBdR++MuRF50J7kpp9qjIy81GotL2B4aK1p9tPpeNZEXhV5pp2y33GJDE8B9QsVO zhDJZ7ovX3AfGj9uU/z02btZyYpSaWKm79+Z6jmhi7Qob2Oyi8nc5J7Ho1UiTIc+GMke 6T7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x8si5458281ilu.60.2021.11.03.10.35.43; Wed, 03 Nov 2021 10:35:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230326AbhKCRhI (ORCPT + 99 others); Wed, 3 Nov 2021 13:37:08 -0400 Received: from mga09.intel.com ([134.134.136.24]:59850 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbhKCRhH (ORCPT ); Wed, 3 Nov 2021 13:37:07 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10157"; a="231402290" X-IronPort-AV: E=Sophos;i="5.87,206,1631602800"; d="scan'208";a="231402290" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 10:34:08 -0700 X-IronPort-AV: E=Sophos;i="5.87,206,1631602800"; d="scan'208";a="468185500" Received: from smile.fi.intel.com ([10.237.72.184]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 10:34:05 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1miK90-003KKR-GO; Wed, 03 Nov 2021 19:33:50 +0200 Date: Wed, 3 Nov 2021 19:33:50 +0200 From: Andy Shevchenko To: Chen Yu Cc: linux-acpi@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Ard Biesheuvel , Len Brown , Ashok Raj , Mike Rapoport , Aubrey Li , linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 3/4] drivers/acpi: Introduce Platform Firmware Runtime Update Telemetry Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 03, 2021 at 11:44:03PM +0800, Chen Yu wrote: > Platform Firmware Runtime Update(PFRU) Telemetry Service is part of RoT > (Root of Trust), which allows PFRU handler and other PFRU drivers to > produce telemetry data to upper layer OS consumer at runtime. > > The Linux kernel provides interfaces for the user to query the parameters > of telemetry data, and the user could read out the telemetry data > accordingly. > > PFRU and PFRU Telemetry both invoke _DSM to trigger the low level actions. > However the input parameters and ACPI package result as well as the > functions are different from each other. It is hard to extract the common > code between them, so introduce separated files for them. > > The corresponding userspace tool and man page will be introduced at > tools/power/acpi/pfru. Comments from previous patch partially apply here. -- With Best Regards, Andy Shevchenko