On 05.06.2023 12:14, Andrew Cooper wrote:
> On 05/06/2023 11:10 am, Jan Beulich wrote:
>> On 05.06.2023 12:05, Andrew Cooper wrote:
>>> Insecure the word being looked for here. Especially given the nature of the
>> Nit: Missing "is"?
>
> Oops yes.
>
>>
>>> sole caller, and the (correct) comment next to it.
>>>
>>> I've left the taint constant as 'U' as it's a rather more user-visible.
>>>
>>> Fixes: 82c0d3d491cc ("xen: Add an unsecure Taint type")
>>> Signed-off-by: Andrew Cooper <[email protected]>
>> Acked-by: Jan Beulich <[email protected]>
>
> Thanks, although I've got one extra hunk to add having just done the
> other half of the taint work.
>
> diff --git a/xen/common/kernel.c b/xen/common/kernel.c
> index 14ce6b40ce06..ff67f00e41bb 100644
> --- a/xen/common/kernel.c
> +++ b/xen/common/kernel.c
> @@ -344,7 +344,7 @@ unsigned int tainted;
> * 'E' - An error (e.g. a machine check exceptions) has been injected.
> * 'H' - HVM forced emulation prefix is permitted.
> * 'M' - Machine had a machine check experience.
> - * 'U' - Platform is unsecure (usually due to an errata on the platform).
> + * 'U' - Platform is insecure (usually due to an errata on the platform).
> * 'S' - Out of spec CPU (One core has a feature incompatible with
> others).
> *
> * The string is overwritten by the next call to print_taint().
My ack (quite obviously) stands with this further adjustment.
Jan