Re: [PATCH v4] Add TAINT_HARDWARE_UNSUPPORTED flag

From: Don Zickus
Date: Tue Jul 06 2010 - 16:33:57 EST


On Tue, Jun 22, 2010 at 02:58:12PM -0400, Don Zickus wrote:
> This patch reserves taint bits for distributions to use as they seem fit
> without the fear of them being stepped up in future kernels.
>
> V4: just reserve the bits

Any acks or naks on this version of the patch?

Cheers,
Don

>
> Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx>
>
> ---
>
> Not sure if this is sufficient for reserving or if there is some other code
> I have to add elsewhere too.
>
> diff --git a/include/linux/kernel.h b/include/linux/kernel.h
> index cc5e3ff..c7b9e2c 100644
> --- a/include/linux/kernel.h
> +++ b/include/linux/kernel.h
> @@ -347,6 +347,11 @@ extern enum system_states {
> #define TAINT_WARN 9
> #define TAINT_CRAP 10
> #define TAINT_FIRMWARE_WORKAROUND 11
> +/* Reserving bits for vendor specific uses */
> +#define TAINT_RESERVED28 28
> +#define TAINT_RESERVED29 29
> +#define TAINT_RESERVED30 30
> +#define TAINT_RESERVED31 31
>
> extern void dump_stack(void) __cold;
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/