linux_dsm_epyc7002/arch/powerpc/kernel/vdso64
Benjamin Herrenschmidt 859deea949 [POWERPC] Cell timebase bug workaround
The Cell CPU timebase has an erratum. When reading the entire 64 bits
of the timebase with one mftb instruction, there is a handful of cycles
window during which one might read a value with the low order 32 bits
already reset to 0x00000000 but the high order bits not yet incremeted
by one. This fixes it by reading the timebase again until the low order
32 bits is no longer 0. That might introduce occasional latencies if
hitting mftb just at the wrong time, but no more than 70ns on a cell
blade, and that was considered acceptable.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-25 11:54:18 +10:00
..
.gitignore [PATCH] powerpc: Add some missing .gitignore's 2006-01-11 15:35:35 +11:00
cacheflush.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
datapage.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gettimeofday.S [POWERPC] Cell timebase bug workaround 2006-10-25 11:54:18 +10:00
Makefile [PATCH] vDSO hash-style fix 2006-07-31 13:28:43 -07:00
note.S [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
sigtramp.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
vdso64_wrapper.S [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
vdso64.lds.S [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00