Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589893

Re: [PATCH] intel_idle: stop exposing platform acronyms in sysfs

From "Rafael J. Wysocki" <rafael@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] intel_idle: stop exposing platform acronyms in sysfs
Date 2017-03-01 01:10 +0100
Message-ID <tg00a-3dN-27@gated-at.bofh.it> (permalink)
References <tfXF0-1ys-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 28, 2017 at 10:32 PM, Len Brown <lenb@kernel.org> wrote:
> From: Len Brown <len.brown@intel.com>
>
> Cosmetic only -- no functional change in this patch.
>
> sysfs before:
>
> state4/desc:MWAIT 0x20
> state4/name:C6-HSW
>
> sysfs after:
>
> state4/desc:MWAIT 0x20
> state4/name:C6
>
> We remove the platform acronyms from the end of the state name
> (-HSW in this case) for three reasonse.
>
> 1. more consistency with acpi_idle, which prints C1, C2, C3 etc.
>
> 2. users know what platform they are on already
>    an acronym for the processor code name here
>    seems to cause more confusion than clarity.
>
> 3. less clutter in "cpupower monitor" output,
>    which truncates the names to 4 columns.
>
> The precise definition of the state continues to be available in "desc".
>
> Cc: Thomas Renninger <trenn@suse.de>
> Reported-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> Signed-off-by: Len Brown <len.brown@intel.com>

I think I can apply this one right away if you want me to do that.

Thanks,
Rafael

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] intel_idle: stop exposing platform acronyms in sysfs Len Brown <lenb@kernel.org> - 2017-02-28 22:40 +0100
  Re: [PATCH] intel_idle: stop exposing platform acronyms in sysfs "Rafael J. Wysocki" <rafael@kernel.org> - 2017-03-01 01:10 +0100

csiph-web