Next in thread → Next in month →

[PATCH] init: sort status bits

From
Cornelia Huck <>
Date
2016-02-16T10:14:00+00:00
ID
Thread
[PATCH] init: sort status bits
On Tue, 16 Feb 2016 12:02:59 +0200
"Michael S. Tsirkin" <> wrote:
> Status bit order is inconsistent: they are neither in increasing
> order nor in the order they are likely to be used.
>
> The second approach seems more useful since there aren't
> that many bits, so the numerical order does not help much.
>
> A typical order of use would be:
>
> ACKNOWLEDGE
> DRIVER
> then either FAILED or FEATURES_OK
> then either FAILED or DRIVER_OK
> then DEVICE_NEEDS_RESET (if device detects an error)
>
> Sort the bits accordingly.
>
> Reported-by: Kevin Lo <>
> Signed-off-by: Michael S. Tsirkin <>
> ---
>  content.tex | 13 +++++++

------
>  1 file changed, 7 insertions(+), 6 deletions(-)

Sounds reasonable.

Acked-by: Cornelia Huck <>
Next in thread → Next in month →