Revision f492c171a38d77fc13a8998a0721f2da50835224 authored by Christian König on 13 September 2012, 08:33:47 UTC, committed by Alex Deucher on 13 September 2012, 20:17:49 UTC
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

3.5 needs a separate patch due to changes in the
fence code.  Will send that out separately.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 985f61f
History
File Mode Size
appletalk
arcnet
bonding
caif
can
cris
dsa
ethernet
fddi
hamradio
hippi
hyperv
irda
phy
plip
ppp
slip
team
usb
vmxnet3
wan
wimax
wireless
xen-netback
Kconfig -rw-r--r-- 11.1 KB
LICENSE.SRC -rw-r--r-- 891 bytes
Makefile -rw-r--r-- 2.0 KB
Space.c -rw-r--r-- 8.1 KB
dummy.c -rw-r--r-- 4.7 KB
eql.c -rw-r--r-- 14.8 KB
ifb.c -rw-r--r-- 7.1 KB
loopback.c -rw-r--r-- 5.3 KB
macvlan.c -rw-r--r-- 23.8 KB
macvtap.c -rw-r--r-- 27.5 KB
mdio.c -rw-r--r-- 12.8 KB
mii.c -rw-r--r-- 12.3 KB
netconsole.c -rw-r--r-- 20.0 KB
rionet.c -rw-r--r-- 13.7 KB
sb1000.c -rw-r--r-- 31.5 KB
sungem_phy.c -rw-r--r-- 28.6 KB
tun.c -rw-r--r-- 41.5 KB
veth.c -rw-r--r-- 9.6 KB
virtio_net.c -rw-r--r-- 33.1 KB
xen-netfront.c -rw-r--r-- 48.5 KB

back to top