lkml.org 
[lkml]   [2019]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 5/5] x86/umwait: Document umwait control sysfs interfaces
On Wed, 19 Jun 2019, Fenghua Yu wrote:
> +Description: Umwait control
> +
> + enable_c02: Read/write interface to control umwait C0.2 state
> + Read returns C0.2 state status:
> + 0: C0.2 is disabled
> + 1: C0.2 is enabled
> +
> + Write 'Yy1' or [oO][nN] for on to enable C0.2 state.

Write 'Yy1' ? You meant [Yy1] I assume.

> + Write 'Nn0' or [oO][fF] for off to disable C0.2 state.

What about avoiding all that unreadable confusion?

Write 'y' or '1' or 'on' to enable C0.2 state.
Write 'n' or '0' or 'of' to disable C0.2 state.

The interface is case insensitive.
Thanks,

tglx

\
 
 \ /
  Last update: 2019-06-24 05:03    [W:0.090 / U:5.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site