Re: [PATCH 1/4] x86/wakeup/sleep: Check whether the TSS GDT descriptoris empty before using it.

From: H. Peter Anvin
Date: Thu Oct 18 2012 - 11:01:34 EST


On 10/18/2012 07:47 AM, Konrad Rzeszutek Wilk wrote:

Why is this patch necessary? Presumably there is something further
down the line which depends on the TSS descriptor being empty, but
if so, what?

I could not find it. This write has been in the code since the initial
git history. Is the pre-git bitkeeper tree somewhere available?

I didn't ask why the write was necessary, but why you need it to be conditional.

I know why the write is necessary: it is (presumably) there to clear the TSS busy bit.

However, as for older records:

-bk era history (2.5.0-2.6.12-rc2):
git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git

Ancient history (pre-2.4.0):
git://git.kernel.org/pub/scm/linux/kernel/git/davej/history.git

There doesn't seem to be any git trees known for the bridge between 2.4.0 and 2.5.0.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/