On Thu, Sep 20, 2012 at 10:57:01AM -0400, alexdeucher@gmail.com wrote:
From: Christian König deathsimple@vodafone.de
Only increase the higher 32bits if we really detect a wrap around.
v2: instead of increasing the higher 32bits just use the higher 32bits from the last emitted fence. v3: also use last emitted fence value as upper limit.
The intention of this patch is to make fences as robust as they where before introducing 64bit fences. This is necessary because on older systems it looks like the fence value gets corrupted on initialization.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=51344
Should also fix: https://bugs.freedesktop.org/show_bug.cgi?id=54129 https://bugs.freedesktop.org/show_bug.cgi?id=54662 https://bugzilla.redhat.com/show_bug.cgi?id=846505 https://bugzilla.redhat.com/show_bug.cgi?id=845639
This is the 3.5 stable version of the patch: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=... 3.4 and previous kernels do not need to be patched.
Signed-off-by: Christian König deathsimple@vodafone.de Signed-off-by: Alex Deucher alexander.deucher@amd.com
Thanks, now applied.
greg k-h