From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66328C433E0 for ; Thu, 21 May 2020 10:09:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A23F207FB for ; Thu, 21 May 2020 10:09:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590055761; bh=G6uQ8wnJmvD0mCIxvSrLQEXOd88ErMmS6CZ4aU3Nlj8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=NNecpDtWPJLCLkw92lgBsKGLKpI+COy1InVhAuqDVVv34u2AmalAIT8XAuD/7GkJl XXoT46Q+1U9dVT3Ha67n9hGag5MXxcqu2AT5GW8uZCl8nDV6hicZM2mcZpQvQFIlvW cPOh9CssXOMC8dFetogVszxx6H2SsnAjO5wqqZaw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727823AbgEUKJU (ORCPT ); Thu, 21 May 2020 06:09:20 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:39125 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726821AbgEUKJU (ORCPT ); Thu, 21 May 2020 06:09:20 -0400 Received: by mail-ot1-f68.google.com with SMTP id d7so5074570ote.6; Thu, 21 May 2020 03:09:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G6uQ8wnJmvD0mCIxvSrLQEXOd88ErMmS6CZ4aU3Nlj8=; b=i0FngIHW28ryo4MnEe6Y64DC7B3os+iQijzKHA22cFFtMq2Kmgsuu4Qq8kSHYJlVA7 kY1V68FlhBGA6wXdNMRD7LFjdImjeUqGU/j2kH9ChXVdoea9z1DB8SK7ChHIrpy799O3 9X8qlxFY4DsXRkghC+v+SBnyz8yX5GYcmATvXWKcTpSO8OYasW5t4b29iarRVLN2mAPl gZBpnfTN7NM9++RRkr7lZFhqqwgHYWWZKmFrym0zqehU01i3dK2U2Fw45Ds1T7tNtDUm p9i+we/93cBEsnVstRWvA5+0p+cNeKQ3P0M+tMRPGZV7EHWTqur+8ABtbQGDjipETg5N rMbA== X-Gm-Message-State: AOAM530QDrORjZK3WYg/BaGfRvRWc2cFmzmYTplx+5ZZGygt5BRvmGS6 PyeNs4VKaXcjbEZFDib3etHvv8b73rmeq33h4Z8= X-Google-Smtp-Source: ABdhPJyPc7hILdCy2TcwrTUlHqZoto6E7vyja1AYNUn8qxZ/9DF+Bg7jGF0CQVPaPA9xPy/Pgu0YubKNamYfV+Zm8+I= X-Received: by 2002:a9d:6c0f:: with SMTP id f15mr4683768otq.118.1590055759914; Thu, 21 May 2020 03:09:19 -0700 (PDT) MIME-Version: 1.0 References: <20200520213108.944764-1-srinivas.pandruvada@linux.intel.com> In-Reply-To: <20200520213108.944764-1-srinivas.pandruvada@linux.intel.com> From: "Rafael J. Wysocki" Date: Thu, 21 May 2020 12:09:06 +0200 Message-ID: Subject: Re: [UPDATE][PATCH] ACPI / DPTF: Add additional attributes to power participant driver To: Srinivas Pandruvada Cc: "Rafael J. Wysocki" , Len Brown , Linux Kernel Mailing List , ACPI Devel Maling List Content-Type: text/plain; charset="UTF-8" Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Wed, May 20, 2020 at 11:31 PM Srinivas Pandruvada wrote: > > Add two additional attributes to the existing power participant driver: > rest_of_platform_power_mw: (RO) Shows the rest of worst case platform > power in mW. This will help in power distribution to SoC and rest of the > system. For example on a test system, this value is 2.5W with a 15W TDP > SoC. Based on the adapter rating (adapter_rating_mw), user space > software can decide on proper power allocation to SoC to improve > short term performance via powercap/RAPL interface. OK, so "the rest" here means "that part outside of the SoC" IIUC. So it would be good to spell this out in the description of the attribute in the ABI documentation.