Re: [PATCH] intel_idle: stop exposing platform acronyms in sysfs
From: Rafael J. Wysocki
Date: Tue Feb 28 2017 - 19:01:26 EST
On Tue, Feb 28, 2017 at 10:32 PM, Len Brown <lenb@xxxxxxxxxx> wrote:
> From: Len Brown <len.brown@xxxxxxxxx>
>
> 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@xxxxxxx>
> Reported-by: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
> Signed-off-by: Len Brown <len.brown@xxxxxxxxx>
I think I can apply this one right away if you want me to do that.
Thanks,
Rafael