Re: tpm-correct-tpm-timeouts-to-jiffies-conversion.patch -> 2.6.27
From: Andrew Morton
Date: Wed Sep 10 2008 - 18:23:48 EST
On Thu, 11 Sep 2008 00:11:37 +0200
Jiri Slaby <jirislaby@xxxxxxxxx> wrote:
> Hi,
>
> is it possible to push
> tpm-correct-tpm-timeouts-to-jiffies-conversion.patch
> (the patch header follows) into 2.6.27, please?
Sure.
> From: Marcin Obara <marcin_obara@xxxxxxxxxxxxxxxxxxxxx>
>
> This patch fixes timeouts conversion to jiffies, by replacing
> msecs_to_jiffies() calls with usecs_to_jiffies(). According to TCG TPM
> Specification Version 1.2 Revision 103 (pages 166, 167) TPM timeouts and
> durations are returned in microseconds (usec) not in miliseconds (msec).
>
> Signed-off-by: Marcin Obara <marcin_obara@xxxxxxxxxxxxxxxxxxxxx>
> Cc: Marcel Selhorst <tpm@xxxxxxxxxxxx>
> Cc: Kylene Jo Hall <kjhall@xxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Why? I wasn't aware that this fixed anything which anyone had observed
(pokes tongue out at the changelog).
--
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/